vars.scss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. $font-primary: 'Work Sans', Helvetica, Arial, sans-serif;
  2. $font-size: 13pt;
  3. $font-size-s: 0.8rem;
  4. $font-size-m: 1rem;
  5. $font-size-l: 1.4rem;
  6. $font-size-xl: 1.8rem;
  7. $font-weight: 400;
  8. $font-weight-bold: 700;
  9. $border-size-input: 0.1rem;
  10. $border-width-s: 0.1rem;
  11. $padding-box: 0.5rem;
  12. $radius-box: 0.2rem;
  13. $radius-input: 0.2rem;
  14. $radius-s: 0.2rem;
  15. $radius-l: 0.6rem;
  16. $space-xs: 0.25rem;
  17. $space-s: 0.5rem;
  18. $space-sm: 0.75rem;
  19. $space-m: 1rem;
  20. $space-ml: 1.25rem;
  21. $space-l: 1.5rem;
  22. $space-ll: 1.75rem;
  23. $space-xl: 2rem;
  24. :root {
  25. --color-bg-alt: #282828;
  26. --color-bg: #343434;
  27. --color-border: #494949;
  28. --color-cta: #449055;
  29. --color-focus: #dddddd;
  30. --color-inactive: #909090;
  31. --color-inactive-fg: #494949;
  32. --color-negative-fg: #dddddd;
  33. --color-negative: #d84c4c;
  34. --color-fg-alt: #b5b5b5;
  35. --color-fg: #dddddd;
  36. --color-positive-fg: #dddddd;
  37. --color-positive: #449055;
  38. --color-shadow: #202020;
  39. --color-warn-fg: #343434;
  40. --color-warn: #f3af2f;
  41. @media (prefers-color-scheme: light) {
  42. --color-bg-alt: #d8d8d8;
  43. --color-bg: #ececec;
  44. --color-border: #b5b5b5;
  45. --color-cta: #449055;
  46. --color-focus: #222222;
  47. --color-inactive: #494949;
  48. --color-inactive-fg: #909090;
  49. --color-negative-fg: #dddddd;
  50. --color-negative: #d84c4c;
  51. --color-fg-alt: #494949;
  52. --color-fg: #343434;
  53. --color-positive-fg: #dddddd;
  54. --color-positive: #449055;
  55. --color-shadow: #cccccc;
  56. --color-warn-fg: #343434;
  57. --color-warn: #f3af2f;
  58. }
  59. }
  60. @mixin bold {
  61. font-weight: $font-weight-bold;
  62. }
  63. @mixin filler {
  64. $size: 5px;
  65. $thickness: 3px;
  66. background-color: var(--color-bg);
  67. background: repeating-linear-gradient(
  68. 45deg,
  69. var(--color-bg-alt),
  70. var(--color-bg-alt) $thickness,
  71. var(--color-bg) $thickness,
  72. var(--color-bg) $size
  73. );
  74. }
  75. @mixin icon-s {
  76. width: 20px;
  77. }
  78. @mixin icon-m {
  79. width: 40px;
  80. }