Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 

130 righe
3.3 KiB

  1. //
  2. // Typography
  3. //
  4. $body-font-family: -apple-system, BlinkMacSystemFont, "helvetica neue", helvetica, roboto, noto, "segoe ui", arial, sans-serif !default;
  5. $mono-font-family: "SFMono-Regular", Menlo, Consolas, Monospace !default;
  6. $root-font-size: 16px !default; // Base font-size for rems
  7. $body-line-height: 1.4 !default;
  8. $content-line-height: 1.5 !default;
  9. $body-heading-line-height: 1.15 !default !default;
  10. //
  11. // Colors
  12. //
  13. $white: #fff !default;
  14. $grey-dk-000: #959396 !default;
  15. $grey-dk-100: #5c5962 !default;
  16. $grey-dk-200: #44434d !default;
  17. $grey-dk-250: #302d36 !default;
  18. $grey-dk-300: #27262b !default;
  19. $grey-lt-000: #f5f6fa !default;
  20. $grey-lt-100: #eeebee !default;
  21. $grey-lt-200: #ecebed !default;
  22. $grey-lt-300: #e6e1e8 !default;
  23. $purple-000: #7253ed !default;
  24. $purple-100: #5e41d0 !default;
  25. $purple-200: #4e26af !default;
  26. $purple-300: #381885 !default;
  27. $blue-000: #2c84fa !default;
  28. $blue-100: #2869e6 !default;
  29. $blue-200: #264caf !default;
  30. $blue-300: #183385 !default;
  31. $green-000: #41d693 !default;
  32. $green-100: #11b584 !default;
  33. $green-200: #009c7b !default;
  34. $green-300: #026e57 !default;
  35. $yellow-000: #ffeb82 !default;
  36. $yellow-100: #fadf50 !default;
  37. $yellow-200: #f7d12e !default;
  38. $yellow-300: #e7af06 !default;
  39. $red-000: #f77e7e !default;
  40. $red-100: #f96e65 !default;
  41. $red-200: #e94c4c !default;
  42. $red-300: #dd2e2e !default;
  43. $body-background-color: $white !default;
  44. $sidebar-color: $grey-lt-000 !default;
  45. $search-background-color: $white !default;
  46. $table-background-color: $white !default;
  47. $code-background-color: $grey-lt-000 !default;
  48. $body-text-color: $grey-dk-100 !default;
  49. $body-heading-color: $grey-dk-300 !default;
  50. $search-result-preview-color: $grey-dk-000 !default;
  51. $nav-child-link-color: $grey-dk-100 !default;
  52. $link-color: $purple-000 !default;
  53. $btn-primary-color: $purple-100 !default;
  54. $base-button-color: #f7f7f7 !default;
  55. //
  56. // Spacing
  57. //
  58. $spacing-unit: 1rem; // 1rem == 16px
  59. $spacers: (
  60. sp-0: 0,
  61. sp-1: $spacing-unit * 0.25,
  62. sp-2: $spacing-unit * 0.5,
  63. sp-3: $spacing-unit * 0.75,
  64. sp-4: $spacing-unit,
  65. sp-5: $spacing-unit * 1.5,
  66. sp-6: $spacing-unit * 2,
  67. sp-7: $spacing-unit * 2.5,
  68. sp-8: $spacing-unit * 3,
  69. sp-9: $spacing-unit * 3.5,
  70. sp-10: $spacing-unit * 4
  71. ) !default;
  72. $sp-1: map-get($spacers, sp-1) !default; // 0.25 rem == 4px
  73. $sp-2: map-get($spacers, sp-2) !default; // 0.5 rem == 8px
  74. $sp-3: map-get($spacers, sp-3) !default; // 0.75 rem == 12px
  75. $sp-4: map-get($spacers, sp-4) !default; // 1 rem == 16px
  76. $sp-5: map-get($spacers, sp-5) !default; // 1.5 rem == 24px
  77. $sp-6: map-get($spacers, sp-6) !default; // 2 rem == 32px
  78. $sp-7: map-get($spacers, sp-7) !default; // 2.5 rem == 40px
  79. $sp-8: map-get($spacers, sp-8) !default; // 3 rem == 48px
  80. $sp-9: map-get($spacers, sp-9) !default; // 4 rem == 48px
  81. $sp-10: map-get($spacers, sp-10) !default; // 4.5 rem == 48px
  82. //
  83. // Borders
  84. //
  85. $border: 1px solid !default;
  86. $border-radius: 4px !default;
  87. $border-color: $grey-lt-100 !default;
  88. //
  89. // Grid system
  90. //
  91. $gutter-spacing: $sp-6 !default;
  92. $gutter-spacing-sm: $sp-4 !default;
  93. $nav-width: 264px !default;
  94. $nav-width-md: 248px !default;
  95. $content-width: 800px !default;
  96. $header-height: 60px !default;
  97. $search-results-width: 500px !default;
  98. //
  99. // Media queries in pixels
  100. //
  101. $media-queries: (
  102. xs: 320px,
  103. sm: 500px,
  104. md: $content-width,
  105. lg: $content-width + $nav-width,
  106. xl: 1400px
  107. ) !default;