derived-variables.sass 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. @import "initial-variables"
  2. @import "functions"
  3. $primary: $turquoise !default
  4. $info: $cyan !default
  5. $success: $green !default
  6. $warning: $yellow !default
  7. $danger: $red !default
  8. $light: $white-ter !default
  9. $dark: $grey-darker !default
  10. // Invert colors
  11. $orange-invert: findColorInvert($orange) !default
  12. $yellow-invert: findColorInvert($yellow) !default
  13. $green-invert: findColorInvert($green) !default
  14. $turquoise-invert: findColorInvert($turquoise) !default
  15. $cyan-invert: findColorInvert($cyan) !default
  16. $blue-invert: findColorInvert($blue) !default
  17. $purple-invert: findColorInvert($purple) !default
  18. $red-invert: findColorInvert($red) !default
  19. $primary-invert: findColorInvert($primary) !default
  20. $primary-light: findLightColor($primary) !default
  21. $primary-dark: findDarkColor($primary) !default
  22. $info-invert: findColorInvert($info) !default
  23. $info-light: findLightColor($info) !default
  24. $info-dark: findDarkColor($info) !default
  25. $success-invert: findColorInvert($success) !default
  26. $success-light: findLightColor($success) !default
  27. $success-dark: findDarkColor($success) !default
  28. $warning-invert: findColorInvert($warning) !default
  29. $warning-light: findLightColor($warning) !default
  30. $warning-dark: findDarkColor($warning) !default
  31. $danger-invert: findColorInvert($danger) !default
  32. $danger-light: findLightColor($danger) !default
  33. $danger-dark: findDarkColor($danger) !default
  34. $light-invert: findColorInvert($light) !default
  35. $dark-invert: findColorInvert($dark) !default
  36. // General colors
  37. $scheme-main: $white !default
  38. $scheme-main-bis: $white-bis !default
  39. $scheme-main-ter: $white-ter !default
  40. $scheme-invert: $black !default
  41. $scheme-invert-bis: $black-bis !default
  42. $scheme-invert-ter: $black-ter !default
  43. $background: $white-ter !default
  44. $border: $grey-lighter !default
  45. $border-hover: $grey-light !default
  46. $border-light: $grey-lightest !default
  47. $border-light-hover: $grey-light !default
  48. // Text colors
  49. $text: $grey-dark !default
  50. $text-invert: findColorInvert($text) !default
  51. $text-light: $grey !default
  52. $text-strong: $grey-darker !default
  53. // Code colors
  54. $code: darken($red, 15%) !default
  55. $code-background: $background !default
  56. $pre: $text !default
  57. $pre-background: $background !default
  58. // Link colors
  59. $link: $blue !default
  60. $link-invert: findColorInvert($link) !default
  61. $link-light: findLightColor($link) !default
  62. $link-dark: findDarkColor($link) !default
  63. $link-visited: $purple !default
  64. $link-hover: $grey-darker !default
  65. $link-hover-border: $grey-light !default
  66. $link-focus: $grey-darker !default
  67. $link-focus-border: $blue !default
  68. $link-active: $grey-darker !default
  69. $link-active-border: $grey-dark !default
  70. // Typography
  71. $family-primary: $family-sans-serif !default
  72. $family-secondary: $family-sans-serif !default
  73. $family-code: $family-monospace !default
  74. $size-small: $size-7 !default
  75. $size-normal: $size-6 !default
  76. $size-medium: $size-5 !default
  77. $size-large: $size-4 !default
  78. // Lists and maps
  79. $custom-colors: null !default
  80. $custom-shades: null !default
  81. $colors: mergeColorMaps(("white": ($white, $black), "black": ($black, $white), "light": ($light, $light-invert), "dark": ($dark, $dark-invert), "primary": ($primary, $primary-invert, $primary-light, $primary-dark), "link": ($link, $link-invert, $link-light, $link-dark), "info": ($info, $info-invert, $info-light, $info-dark), "success": ($success, $success-invert, $success-light, $success-dark), "warning": ($warning, $warning-invert, $warning-light, $warning-dark), "danger": ($danger, $danger-invert, $danger-light, $danger-dark)), $custom-colors) !default
  82. $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
  83. $sizes: $size-1 $size-2 $size-3 $size-4 $size-5 $size-6 $size-7 !default