2020-05-19 16:53:54 +00:00
|
|
|
:root {
|
|
|
|
// Custom variable values only support SassScript inside `#{}`.
|
|
|
|
@each $color, $value in $colors {
|
2021-07-07 11:12:38 +00:00
|
|
|
--#{$variable-prefix}#{$color}: #{$value};
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@each $color, $value in $theme-colors {
|
2021-07-07 11:12:38 +00:00
|
|
|
--#{$variable-prefix}#{$color}: #{$value};
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Use `inspect` for lists so that quoted items keep the quotes.
|
|
|
|
// See https://github.com/sass/sass/issues/2383#issuecomment-336349172
|
2021-07-07 11:12:38 +00:00
|
|
|
--#{$variable-prefix}font-sans-serif: #{inspect($font-family-sans-serif)};
|
|
|
|
--#{$variable-prefix}font-monospace: #{inspect($font-family-monospace)};
|
|
|
|
--#{$variable-prefix}gradient: #{$gradient};
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|