base-themes.scss 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. @mixin base-theme {
  2. --font-sans: "Inter Variable", sans-serif;
  3. --font-mono: "Roboto Mono Variable", monospace;
  4. --font-size-body: 0.75rem;
  5. --font-size-tiny: 0.625rem;
  6. --line-height-body: 1rem;
  7. --upper-primary-sticky-fold: 4.125rem;
  8. --upper-runner-sticky-fold: 4.125rem;
  9. --upper-secondary-sticky-fold: 6.188rem;
  10. --upper-runner-sticky-fold: 4.5rem;
  11. --upper-tertiary-sticky-fold: 8.25rem;
  12. --upper-fourth-sticky-fold: 10.2rem;
  13. --upper-mobile-primary-sticky-fold: 6.75rem;
  14. --upper-mobile-secondary-sticky-fold: 8.813rem;
  15. --upper-mobile-sticky-fold: 10.875rem;
  16. --upper-mobile-tertiary-sticky-fold: 8.25rem;
  17. --lower-primary-sticky-fold: 3rem;
  18. --lower-secondary-sticky-fold: 5.063rem;
  19. --lower-tertiary-sticky-fold: 7.125rem;
  20. --lower-fourth-sticky-fold: 9.188rem;
  21. --sidebar-primary-sticky-fold: 2rem;
  22. --properties-primary-sticky-fold: 2.063rem;
  23. }
  24. @mixin light-theme {
  25. --primary-color: theme("colors.white");
  26. --primary-light-color: theme("colors.gray.50");
  27. --primary-dark-color: theme("colors.gray.100");
  28. --primary-contrast-color: #fdfdfd;
  29. --secondary-color: theme("colors.gray.500");
  30. --secondary-light-color: theme("colors.gray.400");
  31. --secondary-dark-color: theme("colors.gray.900");
  32. --divider-color: theme("colors.gray.100");
  33. --divider-light-color: theme("colors.gray.100");
  34. --divider-dark-color: theme("colors.gray.300");
  35. --banner-info-color: theme("colors.stone.100");
  36. --banner-warning-color: theme("colors.yellow.100");
  37. --banner-error-color: theme("colors.red.100");
  38. --tooltip-color: theme("colors.neutral.800");
  39. --popover-color: theme("colors.white");
  40. --method-get-color: theme("colors.green.500");
  41. --method-post-color: theme("colors.amber.500");
  42. --method-put-color: theme("colors.blue.500");
  43. --method-patch-color: theme("colors.purple.500");
  44. --method-delete-color: theme("colors.red.500");
  45. --method-head-color: theme("colors.lime.500");
  46. --method-options-color: theme("colors.pink.500");
  47. --method-default-color: theme("colors.gray.500");
  48. --status-info-color: theme("colors.blue.500");
  49. --status-success-color: theme("colors.green.500");
  50. --status-redirect-color: theme("colors.amber.500");
  51. --status-critical-error-color: theme("colors.red.500");
  52. --status-server-error-color: theme("colors.rose.500");
  53. --status-missing-data-color: theme("colors.slate.500");
  54. --editor-theme: "textmate";
  55. }
  56. @mixin dark-theme {
  57. --primary-color: #181818;
  58. --primary-light-color: #1c1c1e;
  59. --primary-dark-color: theme("colors.neutral.800");
  60. --primary-contrast-color: theme("colors.neutral.900");
  61. --secondary-color: theme("colors.neutral.400");
  62. --secondary-light-color: theme("colors.neutral.500");
  63. --secondary-dark-color: theme("colors.zinc.50");
  64. --divider-color: #1f1f1f;
  65. --divider-light-color: #1f1f1f;
  66. --divider-dark-color: theme("colors.zinc.800");
  67. --banner-info-color: theme("colors.stone.800");
  68. --banner-warning-color: theme("colors.yellow.800");
  69. --banner-error-color: theme("colors.red.800");
  70. --tooltip-color: theme("colors.neutral.100");
  71. --popover-color: #1b1b1b;
  72. --method-get-color: theme("colors.emerald.500");
  73. --method-post-color: theme("colors.yellow.500");
  74. --method-put-color: theme("colors.sky.500");
  75. --method-patch-color: theme("colors.violet.500");
  76. --method-delete-color: theme("colors.rose.500");
  77. --method-head-color: theme("colors.teal.500");
  78. --method-options-color: theme("colors.indigo.500");
  79. --method-default-color: theme("colors.neutral.500");
  80. --status-info-color: theme("colors.blue.500");
  81. --status-success-color: theme("colors.green.500");
  82. --status-redirect-color: theme("colors.amber.500");
  83. --status-critical-error-color: theme("colors.red.500");
  84. --status-server-error-color: theme("colors.rose.500");
  85. --status-missing-data-color: theme("colors.slate.500");
  86. --editor-theme: "merbivore_soft";
  87. }
  88. @mixin black-theme {
  89. --primary-color: #0f0f0f;
  90. --primary-light-color: theme("colors.neutral.900");
  91. --primary-dark-color: #181818;
  92. --primary-contrast-color: #0f0f0f;
  93. --secondary-color: theme("colors.neutral.400");
  94. --secondary-light-color: theme("colors.neutral.500");
  95. --secondary-dark-color: theme("colors.neutral.50");
  96. --divider-color: theme("colors.neutral.900");
  97. --divider-light-color: theme("colors.neutral.900");
  98. --divider-dark-color: theme("colors.zinc.800");
  99. --banner-info-color: theme("colors.stone.900");
  100. --banner-warning-color: theme("colors.yellow.900");
  101. --banner-error-color: theme("colors.red.900");
  102. --tooltip-color: theme("colors.neutral.100");
  103. --popover-color: theme("colors.stone.950");
  104. --method-get-color: theme("colors.emerald.500");
  105. --method-post-color: theme("colors.yellow.500");
  106. --method-put-color: theme("colors.sky.500");
  107. --method-patch-color: theme("colors.violet.500");
  108. --method-delete-color: theme("colors.rose.500");
  109. --method-head-color: theme("colors.teal.500");
  110. --method-options-color: theme("colors.indigo.500");
  111. --method-default-color: theme("colors.zinc.500");
  112. --status-info-color: theme("colors.blue.500");
  113. --status-success-color: theme("colors.green.500");
  114. --status-redirect-color: theme("colors.amber.500");
  115. --status-critical-error-color: theme("colors.red.500");
  116. --status-server-error-color: theme("colors.rose.500");
  117. --status-missing-data-color: theme("colors.slate.500");
  118. --editor-theme: "twilight";
  119. }