|
3 | 3 |
|
4 | 4 | @layer base { |
5 | 5 | body { |
6 | | - @apply bg-[var(--background-100)] text-[var(--text-900)] font-sans leading-relaxed; |
| 6 | + @apply bg-(--background-100) text-(--text-900)-sans leading-relaxed; |
7 | 7 | margin: 0; |
8 | 8 | padding: 0; |
9 | 9 | /* cursor: url("/wiicursor.png"), auto; */ |
|
15 | 15 |
|
16 | 16 | header, |
17 | 17 | footer { |
18 | | - @apply bg-[var(--primary-500)] text-[var(--text-50)]; |
| 18 | + @apply bg-(--primary-500) text-(--text-50); |
19 | 19 | } |
20 | 20 |
|
21 | 21 | header { |
|
32 | 32 | h4, |
33 | 33 | h5, |
34 | 34 | h6 { |
35 | | - @apply text-[var(--text-900)] font-bold; |
| 35 | + @apply text-(--text-900) font-bold; |
36 | 36 | } |
37 | 37 |
|
38 | 38 | h1 { |
|
80 | 80 | } |
81 | 81 |
|
82 | 82 | blockquote { |
83 | | - @apply border-l-4 border-[var(--primary-500)] pl-4 italic mb-4; |
| 83 | + @apply border-l-4 border-(--primary-500) pl-4 italic mb-4; |
84 | 84 | } |
85 | 85 |
|
86 | 86 | ul { |
|
100 | 100 | } |
101 | 101 |
|
102 | 102 | code:not(pre code) { |
103 | | - @apply bg-[var(--background-200)] text-[var(--text-800)] px-1.5 py-0.5 rounded text-sm font-mono; |
| 103 | + @apply bg-(--background-200) text-(--text-800) px-1.5 py-0.5 rounded text-sm font-mono; |
104 | 104 | } |
105 | 105 |
|
106 | 106 | pre:has(code) { |
|
117 | 117 |
|
118 | 118 | @media (prefers-color-scheme: dark) { |
119 | 119 | pre { |
120 | | - @apply bg-[var(--background-700)] text-[var(--text-200)]; |
| 120 | + @apply bg-(--background-700) text-(--text-200); |
121 | 121 | } |
122 | 122 |
|
123 | 123 | .copy-button { |
124 | | - @apply bg-[var(--background-600)] text-[var(--text-300)] |
125 | | - hover:bg-[var(--background-500)] hover:text-[var(--text-100)]; |
| 124 | + @apply bg-(--background-600) text-(--text-300) |
| 125 | + hover:bg-(--background-500) hover:text-(--text-100); |
126 | 126 | } |
127 | 127 | } |
128 | 128 |
|
|
136 | 136 |
|
137 | 137 | th, |
138 | 138 | td { |
139 | | - @apply border border-[var(--text-300)]; |
| 139 | + @apply border border-(--text-300); |
140 | 140 | } |
141 | 141 |
|
142 | 142 | th { |
143 | | - @apply bg-[var(--primary-500)] text-[var(--text-50)]; |
| 143 | + @apply bg-(--primary-500) text-(--text-50); |
144 | 144 | } |
145 | 145 |
|
146 | 146 | hr { |
147 | | - @apply border-t border-[var(--text-300)] my-8; |
| 147 | + @apply border-t border-(--text-300) my-8; |
148 | 148 | } |
149 | 149 |
|
150 | 150 | .bg-primary { |
151 | | - @apply bg-[var(--primary-500)]; |
| 151 | + @apply bg-(--primary-500); |
152 | 152 | } |
153 | 153 |
|
154 | 154 | .bg-secondary { |
155 | | - @apply bg-[var(--secondary-500)]; |
| 155 | + @apply bg-(--secondary-500); |
156 | 156 | } |
157 | 157 |
|
158 | 158 | .text-primary { |
159 | | - @apply text-[var(--primary-500)]; |
| 159 | + @apply text-(--primary-500); |
160 | 160 | } |
161 | 161 |
|
162 | 162 | .text-secondary { |
163 | | - @apply text-[var(--secondary-500)]; |
| 163 | + @apply text-(--secondary-500); |
164 | 164 | } |
165 | 165 | } |
166 | 166 |
|
|
0 commit comments