2017-10-02 00:00:24 -04:00
|
|
|
:root {
|
2017-10-14 03:29:43 -04:00
|
|
|
// Custom variable values only support SassScript inside `#{}`.
|
2017-10-02 00:00:24 -04:00
|
|
|
@each $color, $value in $colors {
|
2020-09-30 01:32:58 -04:00
|
|
|
--#{$variable-prefix}#{$color}: #{$value};
|
2017-10-02 00:00:24 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
@each $color, $value in $theme-colors {
|
2020-09-30 01:32:58 -04:00
|
|
|
--#{$variable-prefix}#{$color}: #{$value};
|
2017-10-02 00:00:24 -04:00
|
|
|
}
|
|
|
|
|
2017-10-14 03:29:43 -04:00
|
|
|
// Use `inspect` for lists so that quoted items keep the quotes.
|
|
|
|
// See https://github.com/sass/sass/issues/2383#issuecomment-336349172
|
2020-09-30 01:32:58 -04:00
|
|
|
--#{$variable-prefix}font-sans-serif: #{inspect($font-family-sans-serif)};
|
|
|
|
--#{$variable-prefix}font-monospace: #{inspect($font-family-monospace)};
|
|
|
|
--#{$variable-prefix}gradient: #{$gradient};
|
2017-10-02 00:00:24 -04:00
|
|
|
}
|