base-themes.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. @mixin base-theme {
  2. --font-sans: "Inter Variable", sans-serif;
  3. --font-icon: "Material Symbols Rounded Variable";
  4. --font-mono: "Roboto Mono Variable", monospace;
  5. --font-size-body: 0.75rem;
  6. --font-size-tiny: 0.688rem;
  7. --line-height-body: 1rem;
  8. --upper-primary-sticky-fold: 4.125rem;
  9. --upper-secondary-sticky-fold: 6.188rem;
  10. --upper-tertiary-sticky-fold: 8.25rem;
  11. --upper-fourth-sticky-fold: 10.2rem;
  12. --upper-mobile-primary-sticky-fold: 6.625rem;
  13. --upper-mobile-secondary-sticky-fold: 8.688rem;
  14. --upper-mobile-sticky-fold: 10.75rem;
  15. --upper-mobile-tertiary-sticky-fold: 8.25rem;
  16. --lower-primary-sticky-fold: 3rem;
  17. --lower-secondary-sticky-fold: 5.063rem;
  18. --lower-tertiary-sticky-fold: 7.125rem;
  19. --lower-fourth-sticky-fold: 9.188rem;
  20. --sidebar-primary-sticky-fold: 2rem;
  21. }
  22. @mixin dark-theme {
  23. --primary-color: #181818;
  24. --primary-light-color: #1c1c1e;
  25. --primary-dark-color: #262626;
  26. --primary-contrast-color: #171717;
  27. --secondary-color: #a3a3a3;
  28. --secondary-light-color: #737373;
  29. --secondary-dark-color: #fafafa;
  30. --divider-color: #262626;
  31. --divider-light-color: #1f1f1f;
  32. --divider-dark-color: #2d2d2d;
  33. --error-color: #292524;
  34. --tooltip-color: #f5f5f5;
  35. --popover-color: #1b1b1b;
  36. --editor-theme: "merbivore_soft";
  37. }
  38. @mixin light-theme {
  39. --primary-color: #ffffff;
  40. --primary-light-color: #f9fafb;
  41. --primary-dark-color: #f3f4f6;
  42. --primary-contrast-color: #fdfdfd;
  43. --secondary-color: #6b7280;
  44. --secondary-light-color: #9ca3af;
  45. --secondary-dark-color: #111827;
  46. --divider-color: #f3f4f6;
  47. --divider-light-color: #f3f4f6;
  48. --divider-dark-color: #d1d5db;
  49. --error-color: #fef3c7;
  50. --tooltip-color: #262626;
  51. --popover-color: #ffffff;
  52. --editor-theme: "textmate";
  53. }
  54. @mixin black-theme {
  55. --primary-color: #0f0f0f;
  56. --primary-light-color: #171717;
  57. --primary-dark-color: #181818;
  58. --primary-contrast-color: #0f0f0f;
  59. --secondary-color: #a3a3a3;
  60. --secondary-light-color: #737373;
  61. --secondary-dark-color: #f5f5f5;
  62. --divider-color: #1c1c1e;
  63. --divider-light-color: #181818;
  64. --divider-dark-color: #323232;
  65. --error-color: #1c1917;
  66. --tooltip-color: #f5f5f5;
  67. --popover-color: #0f0f0f;
  68. --editor-theme: "twilight";
  69. }