You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.6 KiB

3 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. // Re-assigned maps
  2. //
  3. // Placed here so that others can override the default Sass maps and see automatic updates to utilities and more.
  4. // scss-docs-start theme-colors-rgb
  5. $theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value") !default;
  6. // scss-docs-end theme-colors-rgb
  7. // Utilities maps
  8. //
  9. // Extends the default `$theme-colors` maps to help create our utilities.
  10. // Come v6, we'll de-dupe these variables. Until then, for backward compatibility, we keep them to reassign.
  11. // scss-docs-start utilities-colors
  12. $utilities-colors: $theme-colors-rgb !default;
  13. // scss-docs-end utilities-colors
  14. // scss-docs-start utilities-text-colors
  15. $utilities-text: map-merge(
  16. $utilities-colors,
  17. (
  18. "black": to-rgb($black),
  19. "white": to-rgb($white),
  20. "body": to-rgb($body-color)
  21. )
  22. ) !default;
  23. $utilities-text-colors: map-loop($utilities-text, rgba-css-var, "$key", "text") !default;
  24. // scss-docs-end utilities-text-colors
  25. // scss-docs-start utilities-bg-colors
  26. $utilities-bg: map-merge(
  27. $utilities-colors,
  28. (
  29. "black": to-rgb($black),
  30. "white": to-rgb($white),
  31. "body": to-rgb($body-bg)
  32. )
  33. ) !default;
  34. $utilities-bg-colors: map-loop($utilities-bg, rgba-css-var, "$key", "bg") !default;
  35. // scss-docs-end utilities-bg-colors
  36. // scss-docs-start utilities-border-colors
  37. $utilities-border: map-merge(
  38. $utilities-colors,
  39. (
  40. "white": to-rgb($white)
  41. )
  42. ) !default;
  43. $utilities-border-colors: map-loop($utilities-border, rgba-css-var, "$key", "border") !default;
  44. // scss-docs-end utilities-border-colors
  45. $negative-spacers: if($enable-negative-margins, negativify-map($spacers), null) !default;
  46. $gutters: $spacers !default;