|
82 | 82 | @apply text-green-70 bg-green-70 bg-opacity-20; |
83 | 83 | } |
84 | 84 |
|
| 85 | +/* Additional token types for HTML/markup, CSS, and other languages */ |
| 86 | +.Pre code :global(.tag) { |
| 87 | + @apply text-red-60; |
| 88 | +} |
| 89 | + |
| 90 | +.Pre code :global(.attr-name) { |
| 91 | + @apply text-lightBlue-40; |
| 92 | +} |
| 93 | + |
| 94 | +.Pre code :global(.attr-value) { |
| 95 | + @apply text-darkBlue-30; |
| 96 | +} |
| 97 | + |
| 98 | +.Pre code :global(.entity) { |
| 99 | + @apply text-green-40; |
| 100 | +} |
| 101 | + |
| 102 | +.Pre code :global(.property) { |
| 103 | + @apply text-lightBlue-40; |
| 104 | +} |
| 105 | + |
| 106 | +.Pre code :global(.selector) { |
| 107 | + @apply text-red-60; |
| 108 | +} |
| 109 | + |
| 110 | +.Pre code :global(.rule) { |
| 111 | + @apply text-darkBlue-50; |
| 112 | +} |
| 113 | + |
| 114 | +.Pre code :global(.function) { |
| 115 | + @apply text-red-60 font-semibold; |
| 116 | +} |
| 117 | + |
| 118 | +.Pre code :global(.variable) { |
| 119 | + @apply text-yellow-50; |
| 120 | +} |
| 121 | + |
| 122 | +.Pre code :global(.class-name) { |
| 123 | + @apply text-lightBlue-40; |
| 124 | +} |
| 125 | + |
| 126 | +.Pre code :global(.constant) { |
| 127 | + @apply text-green-40; |
| 128 | +} |
| 129 | + |
| 130 | +.Pre code :global(.symbol) { |
| 131 | + @apply text-yellow-50; |
| 132 | +} |
| 133 | + |
| 134 | +.Pre code :global(.important) { |
| 135 | + @apply text-red-60 font-bold; |
| 136 | +} |
| 137 | + |
| 138 | +.Pre code :global(.atrule) { |
| 139 | + @apply text-darkBlue-50; |
| 140 | +} |
| 141 | + |
| 142 | +.Pre code :global(.url) { |
| 143 | + @apply text-darkBlue-30; |
| 144 | +} |
| 145 | + |
| 146 | +.Pre code :global(.regex) { |
| 147 | + @apply text-green-40; |
| 148 | +} |
| 149 | + |
| 150 | +.Pre code :global(.prolog), |
| 151 | +.Pre code :global(.doctype), |
| 152 | +.Pre code :global(.cdata) { |
| 153 | + @apply text-gray-60 italic; |
| 154 | +} |
| 155 | + |
| 156 | +/* Additional common token types */ |
| 157 | +.Pre code :global(.namespace) { |
| 158 | + @apply text-lightBlue-40; |
| 159 | +} |
| 160 | + |
| 161 | +.Pre code :global(.char) { |
| 162 | + @apply text-darkBlue-30; |
| 163 | +} |
| 164 | + |
| 165 | +.Pre code :global(.interpolation) { |
| 166 | + @apply text-yellow-50; |
| 167 | +} |
| 168 | + |
| 169 | +.Pre code :global(.annotation) { |
| 170 | + @apply text-red-60; |
| 171 | +} |
| 172 | + |
| 173 | +.Pre code :global(.generic) { |
| 174 | + @apply text-gray-60; |
| 175 | +} |
| 176 | + |
| 177 | +.Pre code :global(.script) { |
| 178 | + @apply text-gray-60; |
| 179 | +} |
| 180 | + |
| 181 | +.Pre code :global(.plain-text) { |
| 182 | + @apply text-white; |
| 183 | +} |
| 184 | + |
85 | 185 | /* Dark mode adjustments */ |
86 | 186 | :global(.dark) .Pre code :global(.operator), |
87 | 187 | :global(.dark) .Pre code :global(.decorator) { |
|
112 | 212 | :global(.dark) .Pre code :global(.string) { |
113 | 213 | @apply text-darkBlue-30; |
114 | 214 | } |
| 215 | + |
| 216 | +/* Dark mode styles for additional token types */ |
| 217 | +:global(.dark) .Pre code :global(.tag) { |
| 218 | + @apply text-red-60; |
| 219 | +} |
| 220 | + |
| 221 | +:global(.dark) .Pre code :global(.attr-name) { |
| 222 | + @apply text-lightBlue-60; |
| 223 | +} |
| 224 | + |
| 225 | +:global(.dark) .Pre code :global(.attr-value) { |
| 226 | + @apply text-darkBlue-30; |
| 227 | +} |
| 228 | + |
| 229 | +:global(.dark) .Pre code :global(.entity) { |
| 230 | + @apply text-green-40; |
| 231 | +} |
| 232 | + |
| 233 | +:global(.dark) .Pre code :global(.property) { |
| 234 | + @apply text-lightBlue-60; |
| 235 | +} |
| 236 | + |
| 237 | +:global(.dark) .Pre code :global(.selector) { |
| 238 | + @apply text-red-60; |
| 239 | +} |
| 240 | + |
| 241 | +:global(.dark) .Pre code :global(.rule) { |
| 242 | + @apply text-darkBlue-50; |
| 243 | +} |
| 244 | + |
| 245 | +:global(.dark) .Pre code :global(.variable) { |
| 246 | + @apply text-yellow-80; |
| 247 | +} |
| 248 | + |
| 249 | +:global(.dark) .Pre code :global(.class-name) { |
| 250 | + @apply text-lightBlue-60; |
| 251 | +} |
| 252 | + |
| 253 | +:global(.dark) .Pre code :global(.constant) { |
| 254 | + @apply text-green-40; |
| 255 | +} |
| 256 | + |
| 257 | +:global(.dark) .Pre code :global(.symbol) { |
| 258 | + @apply text-yellow-80; |
| 259 | +} |
| 260 | + |
| 261 | +:global(.dark) .Pre code :global(.important) { |
| 262 | + @apply text-red-60 font-bold; |
| 263 | +} |
| 264 | + |
| 265 | +:global(.dark) .Pre code :global(.atrule) { |
| 266 | + @apply text-darkBlue-50; |
| 267 | +} |
| 268 | + |
| 269 | +:global(.dark) .Pre code :global(.url) { |
| 270 | + @apply text-darkBlue-30; |
| 271 | +} |
| 272 | + |
| 273 | +:global(.dark) .Pre code :global(.regex) { |
| 274 | + @apply text-green-40; |
| 275 | +} |
| 276 | + |
| 277 | +:global(.dark) .Pre code :global(.prolog), |
| 278 | +:global(.dark) .Pre code :global(.doctype), |
| 279 | +:global(.dark) .Pre code :global(.cdata) { |
| 280 | + @apply text-gray-60 italic; |
| 281 | +} |
| 282 | + |
| 283 | +/* Dark mode for additional common token types */ |
| 284 | +:global(.dark) .Pre code :global(.namespace) { |
| 285 | + @apply text-lightBlue-60; |
| 286 | +} |
| 287 | + |
| 288 | +:global(.dark) .Pre code :global(.char) { |
| 289 | + @apply text-darkBlue-30; |
| 290 | +} |
| 291 | + |
| 292 | +:global(.dark) .Pre code :global(.interpolation) { |
| 293 | + @apply text-yellow-80; |
| 294 | +} |
| 295 | + |
| 296 | +:global(.dark) .Pre code :global(.annotation) { |
| 297 | + @apply text-red-60; |
| 298 | +} |
| 299 | + |
| 300 | +:global(.dark) .Pre code :global(.generic) { |
| 301 | + @apply text-gray-60; |
| 302 | +} |
| 303 | + |
| 304 | +:global(.dark) .Pre code :global(.script) { |
| 305 | + @apply text-gray-60; |
| 306 | +} |
| 307 | + |
| 308 | +:global(.dark) .Pre code :global(.plain-text) { |
| 309 | + @apply text-white; |
| 310 | +} |
0 commit comments