derived-variables.sass 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. $primary: $turquoise !default
  2. $info: $cyan !default
  3. $success: $green !default
  4. $warning: $yellow !default
  5. $danger: $red !default
  6. $light: $white-ter !default
  7. $dark: $grey-darker !default
  8. // Invert colors
  9. $orange-invert: findColorInvert($orange) !default
  10. $yellow-invert: findColorInvert($yellow) !default
  11. $green-invert: findColorInvert($green) !default
  12. $turquoise-invert: findColorInvert($turquoise) !default
  13. $cyan-invert: findColorInvert($cyan) !default
  14. $blue-invert: findColorInvert($blue) !default
  15. $purple-invert: findColorInvert($purple) !default
  16. $red-invert: findColorInvert($red) !default
  17. $primary-invert: $turquoise-invert !default
  18. $info-invert: $cyan-invert !default
  19. $success-invert: $green-invert !default
  20. $warning-invert: $yellow-invert !default
  21. $danger-invert: $red-invert !default
  22. $light-invert: $dark !default
  23. $dark-invert: $light !default
  24. // General colors
  25. $background: $white-ter !default
  26. $border: $grey-lighter !default
  27. $border-hover: $grey-light !default
  28. // Text colors
  29. $text: $grey-dark !default
  30. $text-invert: findColorInvert($text) !default
  31. $text-light: $grey !default
  32. $text-strong: $grey-darker !default
  33. // Code colors
  34. $code: $red !default
  35. $code-background: $background !default
  36. $pre: $text !default
  37. $pre-background: $background !default
  38. // Link colors
  39. $link: $blue !default
  40. $link-invert: $blue-invert !default
  41. $link-visited: $purple !default
  42. $link-hover: $grey-darker !default
  43. $link-hover-border: $grey-light !default
  44. $link-focus: $grey-darker !default
  45. $link-focus-border: $blue !default
  46. $link-active: $grey-darker !default
  47. $link-active-border: $grey-dark !default
  48. // Typography
  49. $family-primary: $family-sans-serif !default
  50. $family-secondary: $family-sans-serif !default
  51. $family-code: $family-monospace !default
  52. $size-small: $size-7 !default
  53. $size-normal: $size-6 !default
  54. $size-medium: $size-5 !default
  55. $size-large: $size-4 !default
  56. // Lists and maps
  57. $custom-colors: null !default
  58. $custom-shades: null !default
  59. $colors: mergeColorMaps(("white": ($white, $black), "black": ($black, $white), "light": ($light, $light-invert), "dark": ($dark, $dark-invert), "primary": ($primary, $primary-invert), "link": ($link, $link-invert), "info": ($info, $info-invert), "success": ($success, $success-invert), "warning": ($warning, $warning-invert), "danger": ($danger, $danger-invert)), $custom-colors) !default
  60. $shades: mergeColorMaps(("black-bis": $black-bis, "black-ter": $black-ter, "grey-darker": $grey-darker, "grey-dark": $grey-dark, "grey": $grey, "grey-light": $grey-light, "grey-lighter": $grey-lighter, "white-ter": $white-ter, "white-bis": $white-bis), $custom-shades) !default
  61. $sizes: $size-1 $size-2 $size-3 $size-4 $size-5 $size-6 $size-7 !default