_root.scss 572 B

12345678910111213141516171819
  1. :root {
  2. // Custom variable values only support SassScript inside `#{}`.
  3. @each $color, $value in $colors {
  4. --#{$color}: #{$value};
  5. }
  6. @each $color, $value in $theme-colors {
  7. --#{$color}: #{$value};
  8. }
  9. @each $bp, $value in $grid-breakpoints {
  10. --breakpoint-#{$bp}: #{$value};
  11. }
  12. // Use `inspect` for lists so that quoted items keep the quotes.
  13. // See https://github.com/sass/sass/issues/2383#issuecomment-336349172
  14. --font-family-sans-serif: #{inspect($font-family-sans-serif)};
  15. --font-family-monospace: #{inspect($font-family-monospace)};
  16. }