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