|
275 | 275 | } |
276 | 276 |
|
277 | 277 | @layer components { |
| 278 | + /* TODO RR7: do I need this? */ |
278 | 279 | /* @import "./_typography.css"; */ |
279 | 280 |
|
280 | 281 | body { |
|
305 | 306 | color: inherit; |
306 | 307 | } |
307 | 308 |
|
| 309 | +.ͼ2 { |
| 310 | +.cm-gutters-before { |
| 311 | + background-color: inherit; |
| 312 | +} |
| 313 | +.cm-gutters { |
| 314 | + background-color: none !important; |
| 315 | +} |
| 316 | + |
308 | 317 | .cm-gutters .errors { |
309 | | - /*@apply bg-white text-red-500;*/ |
| 318 | + @apply bg-white text-red-500; |
310 | 319 | @apply w-6; |
311 | 320 | background-color: inherit; |
312 | 321 | } |
313 | 322 |
|
314 | | -/*.cm-scroller {*/ |
315 | | -/*min-height: 40vh;*/ |
316 | | -/*}*/ |
| 323 | +.cm-scroller { |
| 324 | + min-height: 40vh; |
| 325 | +} |
317 | 326 |
|
318 | | -.cm-s-material.mc-editor { |
319 | | - /*background-color: #263238;*/ |
| 327 | +.mc-editor { |
| 328 | + background-color: #263238; |
320 | 329 | @apply font-mono; |
321 | 330 | /*py-8;*/ |
322 | 331 | } |
323 | 332 |
|
324 | | -.cm-s-material .cm-gutters { |
325 | | - /*@apply text-gray-80;*/ |
| 333 | + .cm-gutters { |
| 334 | + @apply text-gray-80; |
326 | 335 | border: none; |
327 | 336 | background-color: inherit; |
328 | 337 | color: inherit; |
329 | 338 | } |
330 | 339 |
|
331 | | -/*.CodeMirror pre.cm-line,*/ |
332 | | -/*.CodeMirror pre.cm-line-like {*/ |
333 | | -/*}*/ |
| 340 | +.CodeMirror pre.cm-line, |
| 341 | +.CodeMirror pre.cm-line-like { |
| 342 | +} |
334 | 343 |
|
335 | | -.cm-s-material .cm-guttermarker, |
336 | | -.cm-s-material .cm-guttermarker-subtle, |
337 | | -.cm-s-material .cm-linenumber { |
| 344 | + .cm-guttermarker, |
| 345 | + .cm-guttermarker-subtle, |
| 346 | + .cm-linenumber { |
338 | 347 | @apply text-gray-80; |
339 | 348 | } |
340 | 349 |
|
341 | | -.cm-s-material .cm-cursor { |
| 350 | + .cm-cursor { |
342 | 351 | border-left: 1px solid #ffcc00; |
343 | 352 | } |
344 | 353 |
|
345 | | -.cm-s-material div.cm-selected { |
| 354 | + div.cm-selected { |
346 | 355 | background: rgba(128, 203, 196, 0.2); |
347 | 356 | } |
348 | 357 |
|
349 | | -.cm-s-material.cm-focused div.cm-selected { |
| 358 | +.cm-focused div.cm-selected { |
350 | 359 | background: rgba(128, 203, 196, 0.2); |
351 | 360 | } |
352 | 361 |
|
353 | | -.cm-s-material .cm-line::selection, |
354 | | -.cm-s-material .cm-line > span::selection, |
355 | | -.cm-s-material .cm-line > span > span::selection { |
| 362 | + .cm-line::selection, |
| 363 | + .cm-line > span::selection, |
| 364 | + .cm-line > span > span::selection { |
356 | 365 | background: rgba(128, 203, 196, 0.2); |
357 | 366 | } |
358 | 367 |
|
359 | | -.cm-s-material .cm-line::-moz-selection, |
360 | | -.cm-s-material .cm-line > span::-moz-selection, |
361 | | -.cm-s-material .cm-line > span > span::-moz-selection { |
| 368 | + .cm-line::-moz-selection, |
| 369 | + .cm-line > span::-moz-selection, |
| 370 | + .cm-line > span > span::-moz-selection { |
362 | 371 | background: rgba(128, 203, 196, 0.2); |
363 | 372 | } |
364 | 373 |
|
365 | | -.cm-s-material .cm-activeline-background { |
| 374 | + .cm-activeline-background { |
366 | 375 | background: rgba(0, 0, 0, 0.5); |
367 | 376 | } |
368 | 377 |
|
369 | | -.cm-s-material .cm-keyword { |
| 378 | + .cm-keyword { |
370 | 379 | @apply text-berry-dark-50; |
371 | 380 | } |
372 | 381 |
|
373 | | -.cm-s-material .cm-keyword2 { |
| 382 | + .cm-keyword2 { |
374 | 383 | @apply text-water-dark; |
375 | 384 | } |
376 | 385 |
|
377 | | -.cm-s-material .cm-variant-constructor { |
| 386 | + .cm-variant-constructor { |
378 | 387 | @apply text-orange-dark; |
379 | 388 | } |
380 | 389 |
|
381 | | -.cm-s-material .cm-module { |
| 390 | + .cm-module { |
382 | 391 | @apply text-water-dark; |
383 | 392 | } |
384 | 393 |
|
385 | | -.cm-s-material .cm-operator { |
| 394 | + .cm-operator { |
386 | 395 | @apply text-berry-dark-50; |
387 | 396 | } |
388 | 397 |
|
389 | | -.cm-s-material .cm-variable-2 { |
| 398 | + .cm-variable-2 { |
390 | 399 | color: #eeffff; |
391 | 400 | } |
392 | 401 |
|
393 | | -.cm-s-material .cm-variable-3, |
394 | | -.cm-s-material .cm-type { |
| 402 | + .cm-variable-3, |
| 403 | + .cm-type { |
395 | 404 | color: #f07178; |
396 | 405 | } |
397 | 406 |
|
398 | | -.cm-s-material .cm-builtin { |
| 407 | + .cm-builtin { |
399 | 408 | @apply text-orange-dark; |
400 | 409 | } |
401 | 410 |
|
402 | | -.cm-s-material .cm-decorator { |
| 411 | + .cm-decorator { |
403 | 412 | @apply text-water-dark; |
404 | 413 | } |
405 | 414 |
|
406 | | -.cm-s-material .cm-type-annotation { |
| 415 | + .cm-type-annotation { |
407 | 416 | @apply text-gray-40; |
408 | 417 | } |
409 | 418 |
|
410 | | -.cm-s-material .cm-atom { |
| 419 | + .cm-atom { |
411 | 420 | @apply text-orange-dark; |
412 | 421 | } |
413 | 422 |
|
414 | | -.cm-s-material .cm-number { |
| 423 | + .cm-number { |
415 | 424 | @apply text-turtle-dark; |
416 | 425 | } |
417 | 426 |
|
418 | | -.cm-s-material .cm-def { |
| 427 | + .cm-def { |
419 | 428 | @apply text-gray-30; |
420 | 429 | } |
421 | 430 |
|
422 | | -.cm-s-material .cm-string { |
| 431 | + .cm-string { |
423 | 432 | @apply text-turtle-dark; |
424 | 433 | } |
425 | 434 |
|
426 | | -.cm-s-material .cm-string-2 { |
| 435 | + .cm-string-2 { |
427 | 436 | @apply text-turtle-dark; |
428 | 437 | } |
429 | 438 |
|
430 | | -.cm-s-material .cm-comment { |
| 439 | + .cm-comment { |
431 | 440 | @apply text-gray-60; |
432 | 441 | } |
433 | 442 |
|
434 | | -.cm-s-material .cm-variable { |
| 443 | + .cm-variable { |
435 | 444 | @apply text-gray-30; |
436 | 445 | } |
437 | 446 |
|
438 | 447 | .cm-tag { |
439 | 448 | color: #ff5370; |
440 | 449 | } |
441 | 450 |
|
442 | | -.cm-s-material .cm-meta { |
| 451 | + .cm-meta { |
443 | 452 | color: #ffcb6b; |
444 | 453 | } |
445 | 454 |
|
446 | | -.cm-s-material .cm-attribute { |
| 455 | + .cm-attribute { |
447 | 456 | color: #c792ea; |
448 | 457 | } |
449 | 458 |
|
450 | | -.cm-s-material .cm-property { |
| 459 | + .cm-property { |
451 | 460 | color: #c792ea; |
452 | 461 | } |
453 | 462 |
|
454 | | -.cm-s-material .cm-qualifier { |
| 463 | + .cm-qualifier { |
455 | 464 | color: #decb6b; |
456 | 465 | } |
457 | 466 |
|
458 | | -.cm-s-material .cm-variable-3, |
459 | | -.cm-s-material .cm-type { |
| 467 | + .cm-variable-3, |
| 468 | + .cm-type { |
460 | 469 | color: #decb6b; |
461 | 470 | } |
462 | 471 |
|
463 | | -.cm-s-material .cm-error { |
| 472 | + .cm-error { |
464 | 473 | color: rgba(255, 255, 255, 1); |
465 | 474 | background-color: #ff5370; |
466 | 475 | } |
467 | 476 |
|
468 | | -.cm-s-material .cm-matchingbracket { |
| 477 | + .cm-matchingbracket { |
469 | 478 | text-decoration: underline; |
470 | 479 | color: white !important; |
471 | 480 | } |
|
549 | 558 | right: 0; |
550 | 559 | width: 100%; |
551 | 560 | } |
552 | | - |
| 561 | +} |
553 | 562 | .wrapper { |
554 | 563 | position: relative; |
555 | 564 | display: inline-block; |
|
0 commit comments