|
1 | 1 | @custom-variant dark (&:where([data-theme="dark"], [data-theme="dark"] *)); |
2 | 2 |
|
| 3 | +/* ---------- Static tokens ---------- */ |
3 | 4 | @theme { |
4 | 5 | --color-*: initial; |
5 | 6 |
|
| 7 | + /* ---------- Common colors ---------- */ |
6 | 8 | /* White with opacity */ |
7 | 9 | --color-alpha-white-0: oklch(1 0 0 / 0%); |
8 | 10 | --color-alpha-white-100: oklch(1 0 0 / 5%); |
|
32 | 34 | --color-alpha-black-1000: oklch(0.1482 0.0034 196.79 / 80%); |
33 | 35 | --color-alpha-black-1100: oklch(0.1482 0.0034 196.79 / 90%); |
34 | 36 | --color-alpha-black-1200: oklch(0.1482 0.0034 196.79 / 95%); |
| 37 | + |
| 38 | + /* ---------- Spacing ---------- */ |
| 39 | + --spacing-*: initial; |
| 40 | + --spacing-0: 0; |
| 41 | + --spacing-25: 0.0625rem; |
| 42 | + --spacing-50: 0.125rem; |
| 43 | + --spacing-100: 0.25rem; |
| 44 | + --spacing-150: 0.375rem; |
| 45 | + --spacing-200: 0.5rem; |
| 46 | + --spacing-300: 0.75rem; |
| 47 | + --spacing-400: 1rem; |
| 48 | + --spacing-500: 1.25rem; |
| 49 | + --spacing-600: 1.5rem; |
| 50 | + --spacing-700: 1.75rem; |
| 51 | + --spacing-800: 2rem; |
| 52 | + --spacing-900: 2.25rem; |
| 53 | + --spacing-1000: 2.5rem; |
| 54 | + --spacing-1100: 2.75rem; |
| 55 | + --spacing-1200: 3rem; |
| 56 | + |
| 57 | + /* ---------- Borders radius ---------- */ |
| 58 | + --radius-*: initial; |
| 59 | + --radius-none: 0; |
| 60 | + --radius-xs: 0.125rem; |
| 61 | + --radius-sm: 0.25rem; |
| 62 | + --radius-md: 0.375rem; |
| 63 | + --radius-lg: 0.5rem; |
| 64 | + --radius-xl: 0.75rem; |
| 65 | + --radius-xxl: 1rem; |
| 66 | + --radius-rounded: 9999px; |
| 67 | + |
| 68 | + /* ---------- Border width ---------- */ |
| 69 | + --border-width-*: initial; |
| 70 | + --border-width-sm: 1px; |
| 71 | + --border-width-md: 1.5px; |
| 72 | + --border-width-lg: 2px; |
| 73 | + --border-width-xl: 2.5px; |
| 74 | + --default-border-width: 1px; |
| 75 | + |
| 76 | + /* ---------- Font family ---------- */ |
| 77 | + --font-family-*: initial; |
| 78 | + --font-family-heading: Inter; |
| 79 | + --font-family-body: Inter; |
| 80 | + --font-family-code: IBM Mono; |
| 81 | + |
| 82 | + /* ---------- Font weight ---------- */ |
| 83 | + --font-weight-*: initial; |
| 84 | + --font-weight-light: Light; |
| 85 | + --font-weight-regular: 400; |
| 86 | + --font-weight-medium: medium; |
| 87 | + --font-weight-semi-bold: semi bold; |
| 88 | + --font-weight-bold: bold; |
| 89 | + --font-weight-heavy: heavy; |
| 90 | + |
| 91 | + /* ---------- Font size ---------- */ |
| 92 | + --text-*: initial; |
| 93 | + --text-9: 0.5625rem; |
| 94 | + --text-10: 0.625rem; |
| 95 | + --text-11: 0.6875rem; |
| 96 | + --text-12: 0.75rem; |
| 97 | + --text-13: 0.8125rem; |
| 98 | + --text-14: 0.875rem; |
| 99 | + --text-16: 1rem; |
| 100 | + --text-18: 1.125rem; |
| 101 | + --text-20: 1.25rem; |
| 102 | + --text-24: 1.5rem; |
| 103 | + --text-28: 1.75rem; |
| 104 | + --text-32: 2rem; |
| 105 | + --text-40: 2.5rem; |
| 106 | + |
| 107 | + /* ---------- Letter spacing ---------- */ |
| 108 | + --tracking-*: initial; |
| 109 | + --tracking-extra-tight: -0.025rem; |
| 110 | + --tracking-tight: -0.05rem; |
| 111 | + --tracking-default: 0; |
| 112 | + --tracking-wide: 0.05rem; |
35 | 113 | } |
36 | 114 |
|
37 | 115 | /* ---------- Light mode color tokens ---------- */ |
|
0 commit comments