Monorepo for Tangled
tangled.org
1@tailwind base;
2@tailwind components;
3@tailwind utilities;
4@layer base {
5 @font-face {
6 font-family: "InterVariable";
7 src: url("/static/fonts/InterVariable.woff2") format("woff2");
8 font-weight: normal;
9 font-style: normal;
10 font-display: swap;
11 }
12
13 @font-face {
14 font-family: "InterVariable";
15 src: url("/static/fonts/InterVariable-Italic.woff2") format("woff2");
16 font-weight: normal;
17 font-style: italic;
18 font-display: swap;
19 }
20
21 @font-face {
22 font-family: "InterVariable";
23 src: url("/static/fonts/InterDisplay-Bold.woff2") format("woff2");
24 font-weight: bold;
25 font-style: normal;
26 font-display: swap;
27 }
28
29 @font-face {
30 font-family: "InterVariable";
31 src: url("/static/fonts/InterDisplay-BoldItalic.woff2") format("woff2");
32 font-weight: bold;
33 font-style: italic;
34 font-display: swap;
35 }
36
37 @font-face {
38 font-family: "IBMPlexMono";
39 src: url("/static/fonts/IBMPlexMono-Regular.woff2") format("woff2");
40 font-weight: normal;
41 font-style: normal;
42 font-display: swap;
43 }
44
45 @font-face {
46 font-family: "IBMPlexMono";
47 src: url("/static/fonts/IBMPlexMono-Italic.woff2") format("woff2");
48 font-weight: normal;
49 font-style: italic;
50 font-display: swap;
51 }
52
53 @font-face {
54 font-family: "IBMPlexMono";
55 src: url("/static/fonts/IBMPlexMono-Bold.woff2") format("woff2");
56 font-weight: bold;
57 font-style: normal;
58 font-display: swap;
59 }
60
61 @font-face {
62 font-family: "IBMPlexMono";
63 src: url("/static/fonts/IBMPlexMono-BoldItalic.woff2") format("woff2");
64 font-weight: bold;
65 font-style: italic;
66 font-display: swap;
67 }
68
69 ::selection {
70 @apply bg-yellow-400 text-black bg-opacity-30 dark:bg-yellow-600 dark:bg-opacity-50 dark:text-white;
71 }
72
73 @layer base {
74 html {
75 font-size: 14px;
76 scrollbar-gutter: stable;
77 }
78 @supports (font-variation-settings: normal) {
79 html {
80 font-feature-settings:
81 "kern" 1,
82 "liga" 1,
83 "cv05" 1,
84 "tnum" 1;
85 }
86 }
87
88 a {
89 @apply no-underline text-black hover:underline hover:text-gray-800 dark:text-white dark:hover:text-gray-300;
90 }
91
92 label {
93 @apply block text-gray-900 text-sm py-2 dark:text-gray-100;
94 }
95 input,
96 textarea {
97 @apply block rounded p-3
98 bg-gray-50 dark:bg-gray-800 dark:text-white
99 border border-gray-300 dark:border-gray-600
100 focus:outline-none focus:ring-1 focus:ring-gray-400 dark:focus:ring-gray-500;
101 }
102 details summary::-webkit-details-marker {
103 display: none;
104 }
105
106 code {
107 @apply p-1 font-mono rounded bg-gray-100 dark:bg-gray-700 text-black dark:text-white;
108 }
109 }
110
111 @layer components {
112 .btn {
113 @apply relative z-10 inline-flex min-h-[30px] cursor-pointer items-center justify-center
114 bg-transparent px-2 pb-[0.2rem] text-sm text-gray-900
115 before:absolute before:inset-0 before:-z-10 before:block before:rounded
116 before:border before:border-gray-200 before:bg-white
117 before:shadow-[inset_0_-2px_0_0_rgba(0,0,0,0.1),0_1px_0_0_rgba(0,0,0,0.04)]
118 before:content-[''] before:transition-all before:duration-150 before:ease-in-out
119 hover:before:shadow-[inset_0_-2px_0_0_rgba(0,0,0,0.15),0_2px_1px_0_rgba(0,0,0,0.06)]
120 hover:before:bg-gray-50
121 dark:hover:before:bg-gray-700
122 active:before:shadow-[inset_0_2px_2px_0_rgba(0,0,0,0.1)]
123 focus:outline-none focus-visible:before:outline focus-visible:before:outline-2 focus-visible:before:outline-gray-400
124 disabled:cursor-not-allowed disabled:opacity-50
125 dark:text-gray-100 dark:before:bg-gray-800 dark:before:border-gray-700;
126 }
127
128 .btn-flat {
129 @apply relative z-10 inline-flex min-h-[30px] cursor-pointer items-center justify-center
130 bg-transparent px-2 pb-[0.2rem] text-sm text-gray-900
131 before:absolute before:inset-0 before:-z-10 before:block before:rounded
132 before:border before:border-gray-200 before:bg-white
133 before:content-[''] before:transition-all before:duration-150 before:ease-in-out
134 hover:before:bg-gray-50
135 dark:hover:before:bg-gray-700
136 focus:outline-none focus-visible:before:outline focus-visible:before:outline-2 focus-visible:before:outline-gray-400
137 disabled:cursor-not-allowed disabled:opacity-50
138 dark:text-gray-100 dark:before:bg-gray-800 dark:before:border-gray-700;
139 }
140
141 .btn-create {
142 @apply btn text-white
143 before:bg-green-600 hover:before:bg-green-700
144 dark:before:bg-green-700 dark:hover:before:bg-green-800
145 before:border before:border-green-700 hover:before:border-green-800
146 focus-visible:before:outline-green-500
147 disabled:before:bg-green-400 dark:disabled:before:bg-green-600;
148 }
149
150 .prose {
151 overflow-wrap: anywhere;
152 }
153
154 .prose hr {
155 @apply my-2;
156 }
157
158 .prose li:has(input) {
159 @apply list-none;
160 }
161
162 .prose ul:has(input) {
163 @apply pl-2;
164 }
165
166 .prose .heading .anchor {
167 @apply no-underline mx-2 opacity-0;
168 }
169
170 .prose .heading:hover .anchor {
171 @apply opacity-70;
172 }
173
174 .prose .heading .anchor:hover {
175 @apply opacity-70;
176 }
177
178 .prose h1:target,
179 .prose h2:target,
180 .prose h3:target,
181 .prose h4:target,
182 .prose h5:target,
183 .prose h6:target {
184 @apply bg-yellow-200/30 dark:bg-yellow-600/30;
185 }
186
187 .prose a.footnote-backref {
188 @apply no-underline;
189 }
190
191 .prose a.mention {
192 @apply no-underline hover:underline font-bold;
193 }
194
195 .prose li {
196 @apply my-0 py-0;
197 }
198
199 .prose ul,
200 .prose ol {
201 @apply my-1 py-0;
202 }
203
204 .prose img {
205 display: inline;
206 margin: 0;
207 vertical-align: middle;
208 }
209
210 .prose input {
211 @apply inline-block my-0 mb-1 mx-1;
212 }
213
214 .prose input[type="checkbox"] {
215 @apply disabled:accent-blue-500 checked:accent-blue-500 disabled:checked:accent-blue-500;
216 }
217
218 /* Mermaid diagrams */
219 .prose pre.mermaid {
220 @apply flex justify-center my-4 overflow-x-auto bg-transparent border-0;
221 }
222
223 /* Base callout */
224 details[data-callout] {
225 @apply border-l-4 pl-3 py-2 text-gray-800 dark:text-gray-200 my-4;
226 }
227
228 details[data-callout] > summary {
229 @apply font-bold cursor-pointer mb-1;
230 }
231
232 details[data-callout] > .callout-content {
233 @apply text-sm leading-snug;
234 }
235
236 /* Note (blue) */
237 details[data-callout="note" i] {
238 @apply border-blue-400 dark:border-blue-500;
239 }
240 details[data-callout="note" i] > summary {
241 @apply text-blue-700 dark:text-blue-400;
242 }
243
244 /* Important (purple) */
245 details[data-callout="important" i] {
246 @apply border-purple-400 dark:border-purple-500;
247 }
248 details[data-callout="important" i] > summary {
249 @apply text-purple-700 dark:text-purple-400;
250 }
251
252 /* Warning (yellow) */
253 details[data-callout="warning" i] {
254 @apply border-yellow-400 dark:border-yellow-500;
255 }
256 details[data-callout="warning" i] > summary {
257 @apply text-yellow-700 dark:text-yellow-400;
258 }
259
260 /* Caution (red) */
261 details[data-callout="caution" i] {
262 @apply border-red-400 dark:border-red-500;
263 }
264 details[data-callout="caution" i] > summary {
265 @apply text-red-700 dark:text-red-400;
266 }
267
268 /* Tip (green) */
269 details[data-callout="tip" i] {
270 @apply border-green-400 dark:border-green-500;
271 }
272 details[data-callout="tip" i] > summary {
273 @apply text-green-700 dark:text-green-400;
274 }
275
276 /* Optional: hide the disclosure arrow like GitHub */
277 details[data-callout] > summary::-webkit-details-marker {
278 display: none;
279 }
280 }
281 @layer utilities {
282 .error {
283 @apply py-1 text-red-400 dark:text-red-300;
284 }
285 .success {
286 @apply py-1 text-gray-900 dark:text-gray-100;
287 }
288
289 @keyframes scroll {
290 0% { transform: translateX(0); }
291 100% { transform: translateX(-50%); }
292 }
293
294 .animate-marquee {
295 animation: scroll 60s linear infinite;
296 }
297
298 .animate-marquee:hover {
299 animation-play-state: paused;
300 }
301
302 @media (prefers-reduced-motion: reduce) {
303 .animate-marquee {
304 animation: none;
305 transform: none;
306 }
307 }
308
309 @keyframes progress {
310 from { width: 0%; }
311 to { width: 100%; }
312 }
313
314 .animate-progress {
315 animation: progress 10s linear forwards;
316 }
317
318 @keyframes fadeIn {
319 from { opacity: 0; }
320 to { opacity: 1; }
321 }
322
323 @keyframes fadeOut {
324 from { opacity: 1; }
325 to { opacity: 0; }
326 }
327
328 .animate-fadein {
329 animation: fadeIn 0.25s ease-in forwards;
330 }
331
332 .animate-fadeout {
333 animation: fadeOut 0.25s ease-out forwards;
334 }
335 }
336}
337
338/* Background */
339.bg {
340 color: #4c4f69;
341 background-color: #eff1f5;
342}
343/* PreWrapper */
344.chroma {
345 color: #4c4f69;
346}
347/* Error */
348.chroma .err {
349 color: #d20f39;
350}
351/* LineLink */
352.chroma .lnlinks {
353 outline: none;
354 text-decoration: none;
355 color: inherit;
356}
357/* LineTableTD */
358.chroma .lntd {
359 vertical-align: top;
360 padding: 0;
361 margin: 0;
362 border: 0;
363}
364/* LineTable */
365.chroma .lntable {
366 border-spacing: 0;
367 padding: 0;
368 margin: 0;
369 border: 0;
370}
371/* LineHighlight */
372.chroma .hl {
373 @apply bg-amber-400/30 dark:bg-amber-500/20;
374}
375
376/* LineNumbersTable */
377.chroma .lnt {
378 white-space: pre;
379 -webkit-user-select: none;
380 user-select: none;
381 margin-right: 0.4em;
382 padding: 0 0.4em 0 0.4em;
383 color: #8c8fa1;
384}
385/* LineNumbers */
386.chroma .ln {
387 white-space: pre;
388 -webkit-user-select: none;
389 user-select: none;
390 margin-right: 0.4em;
391 padding: 0 0.4em 0 0.4em;
392 color: #8c8fa1;
393}
394/* Line */
395.chroma .line {
396 display: flex;
397}
398/* Keyword */
399.chroma .k {
400 color: #8839ef;
401}
402/* KeywordConstant */
403.chroma .kc {
404 color: #fe640b;
405}
406/* KeywordDeclaration */
407.chroma .kd {
408 color: #d20f39;
409}
410/* KeywordNamespace */
411.chroma .kn {
412 color: #179299;
413}
414/* KeywordPseudo */
415.chroma .kp {
416 color: #8839ef;
417}
418/* KeywordReserved */
419.chroma .kr {
420 color: #8839ef;
421}
422/* KeywordType */
423.chroma .kt {
424 color: #d20f39;
425}
426/* NameAttribute */
427.chroma .na {
428 color: #1e66f5;
429}
430/* NameBuiltin */
431.chroma .nb {
432 color: #04a5e5;
433}
434/* NameBuiltinPseudo */
435.chroma .bp {
436 color: #04a5e5;
437}
438/* NameClass */
439.chroma .nc {
440 color: #df8e1d;
441}
442/* NameConstant */
443.chroma .no {
444 color: #df8e1d;
445}
446/* NameDecorator */
447.chroma .nd {
448 color: #1e66f5;
449 font-weight: bold;
450}
451/* NameEntity */
452.chroma .ni {
453 color: #179299;
454}
455/* NameException */
456.chroma .ne {
457 color: #fe640b;
458}
459/* NameFunction */
460.chroma .nf {
461 color: #1e66f5;
462}
463/* NameFunctionMagic */
464.chroma .fm {
465 color: #1e66f5;
466}
467/* NameLabel */
468.chroma .nl {
469 color: #04a5e5;
470}
471/* NameNamespace */
472.chroma .nn {
473 color: #fe640b;
474}
475/* NameProperty */
476.chroma .py {
477 color: #fe640b;
478}
479/* NameTag */
480.chroma .nt {
481 color: #8839ef;
482}
483/* NameVariable */
484.chroma .nv {
485 color: #dc8a78;
486}
487/* NameVariableClass */
488.chroma .vc {
489 color: #dc8a78;
490}
491/* NameVariableGlobal */
492.chroma .vg {
493 color: #dc8a78;
494}
495/* NameVariableInstance */
496.chroma .vi {
497 color: #dc8a78;
498}
499/* NameVariableMagic */
500.chroma .vm {
501 color: #dc8a78;
502}
503/* LiteralString */
504.chroma .s {
505 color: #40a02b;
506}
507/* LiteralStringAffix */
508.chroma .sa {
509 color: #d20f39;
510}
511/* LiteralStringBacktick */
512.chroma .sb {
513 color: #40a02b;
514}
515/* LiteralStringChar */
516.chroma .sc {
517 color: #40a02b;
518}
519/* LiteralStringDelimiter */
520.chroma .dl {
521 color: #1e66f5;
522}
523/* LiteralStringDoc */
524.chroma .sd {
525 color: #9ca0b0;
526}
527/* LiteralStringDouble */
528.chroma .s2 {
529 color: #40a02b;
530}
531/* LiteralStringEscape */
532.chroma .se {
533 color: #1e66f5;
534}
535/* LiteralStringHeredoc */
536.chroma .sh {
537 color: #9ca0b0;
538}
539/* LiteralStringInterpol */
540.chroma .si {
541 color: #40a02b;
542}
543/* LiteralStringOther */
544.chroma .sx {
545 color: #40a02b;
546}
547/* LiteralStringRegex */
548.chroma .sr {
549 color: #179299;
550}
551/* LiteralStringSingle */
552.chroma .s1 {
553 color: #40a02b;
554}
555/* LiteralStringSymbol */
556.chroma .ss {
557 color: #40a02b;
558}
559/* LiteralNumber */
560.chroma .m {
561 color: #fe640b;
562}
563/* LiteralNumberBin */
564.chroma .mb {
565 color: #fe640b;
566}
567/* LiteralNumberFloat */
568.chroma .mf {
569 color: #fe640b;
570}
571/* LiteralNumberHex */
572.chroma .mh {
573 color: #fe640b;
574}
575/* LiteralNumberInteger */
576.chroma .mi {
577 color: #fe640b;
578}
579/* LiteralNumberIntegerLong */
580.chroma .il {
581 color: #fe640b;
582}
583/* LiteralNumberOct */
584.chroma .mo {
585 color: #fe640b;
586}
587/* Operator */
588.chroma .o {
589 color: #04a5e5;
590 font-weight: bold;
591}
592/* OperatorWord */
593.chroma .ow {
594 color: #04a5e5;
595 font-weight: bold;
596}
597/* Comment */
598.chroma .c {
599 color: #9ca0b0;
600 font-style: italic;
601}
602/* CommentHashbang */
603.chroma .ch {
604 color: #9ca0b0;
605 font-style: italic;
606}
607/* CommentMultiline */
608.chroma .cm {
609 color: #9ca0b0;
610 font-style: italic;
611}
612/* CommentSingle */
613.chroma .c1 {
614 color: #9ca0b0;
615 font-style: italic;
616}
617/* CommentSpecial */
618.chroma .cs {
619 color: #9ca0b0;
620 font-style: italic;
621}
622/* CommentPreproc */
623.chroma .cp {
624 color: #9ca0b0;
625 font-style: italic;
626}
627/* CommentPreprocFile */
628.chroma .cpf {
629 color: #9ca0b0;
630 font-weight: bold;
631 font-style: italic;
632}
633/* GenericDeleted */
634.chroma .gd {
635 color: #d20f39;
636 background-color: oklch(93.6% 0.032 17.717);
637}
638/* GenericEmph */
639.chroma .ge {
640 font-style: italic;
641}
642/* GenericError */
643.chroma .gr {
644 color: #d20f39;
645}
646/* GenericHeading */
647.chroma .gh {
648 color: #fe640b;
649 font-weight: bold;
650}
651/* GenericInserted */
652.chroma .gi {
653 color: #40a02b;
654 background-color: oklch(96.2% 0.044 156.743);
655}
656/* GenericStrong */
657.chroma .gs {
658 font-weight: bold;
659}
660/* GenericSubheading */
661.chroma .gu {
662 color: #fe640b;
663 font-weight: bold;
664}
665/* GenericTraceback */
666.chroma .gt {
667 color: #d20f39;
668}
669/* GenericUnderline */
670.chroma .gl {
671 text-decoration: underline;
672}
673
674@media (prefers-color-scheme: dark) {
675 /* Background */
676 .bg {
677 color: #cad3f5;
678 background-color: #24273a;
679 }
680 /* PreWrapper */
681 .chroma {
682 color: #cad3f5;
683 }
684 /* Error */
685 .chroma .err {
686 color: #ed8796;
687 }
688 /* LineLink */
689 .chroma .lnlinks {
690 outline: none;
691 text-decoration: none;
692 color: inherit;
693 }
694 /* LineTableTD */
695 .chroma .lntd {
696 vertical-align: top;
697 padding: 0;
698 margin: 0;
699 border: 0;
700 }
701 /* LineTable */
702 .chroma .lntable {
703 border-spacing: 0;
704 padding: 0;
705 margin: 0;
706 border: 0;
707 }
708 /* LineHighlight */
709 .chroma .hl {
710 background-color: #494d64;
711 }
712 /* LineNumbersTable */
713 .chroma .lnt {
714 white-space: pre;
715 -webkit-user-select: none;
716 user-select: none;
717 margin-right: 0.4em;
718 padding: 0 0.4em 0 0.4em;
719 color: #8087a2;
720 }
721 /* LineNumbers */
722 .chroma .ln {
723 white-space: pre;
724 -webkit-user-select: none;
725 user-select: none;
726 margin-right: 0.4em;
727 padding: 0 0.4em 0 0.4em;
728 color: #8087a2;
729 }
730 /* Line */
731 .chroma .line {
732 display: flex;
733 }
734 /* Keyword */
735 .chroma .k {
736 color: #c6a0f6;
737 }
738 /* KeywordConstant */
739 .chroma .kc {
740 color: #f5a97f;
741 }
742 /* KeywordDeclaration */
743 .chroma .kd {
744 color: #ed8796;
745 }
746 /* KeywordNamespace */
747 .chroma .kn {
748 color: #8bd5ca;
749 }
750 /* KeywordPseudo */
751 .chroma .kp {
752 color: #c6a0f6;
753 }
754 /* KeywordReserved */
755 .chroma .kr {
756 color: #c6a0f6;
757 }
758 /* KeywordType */
759 .chroma .kt {
760 color: #ed8796;
761 }
762 /* NameAttribute */
763 .chroma .na {
764 color: #8aadf4;
765 }
766 /* NameBuiltin */
767 .chroma .nb {
768 color: #91d7e3;
769 }
770 /* NameBuiltinPseudo */
771 .chroma .bp {
772 color: #91d7e3;
773 }
774 /* NameClass */
775 .chroma .nc {
776 color: #eed49f;
777 }
778 /* NameConstant */
779 .chroma .no {
780 color: #eed49f;
781 }
782 /* NameDecorator */
783 .chroma .nd {
784 color: #8aadf4;
785 font-weight: bold;
786 }
787 /* NameEntity */
788 .chroma .ni {
789 color: #8bd5ca;
790 }
791 /* NameException */
792 .chroma .ne {
793 color: #f5a97f;
794 }
795 /* NameFunction */
796 .chroma .nf {
797 color: #8aadf4;
798 }
799 /* NameFunctionMagic */
800 .chroma .fm {
801 color: #8aadf4;
802 }
803 /* NameLabel */
804 .chroma .nl {
805 color: #91d7e3;
806 }
807 /* NameNamespace */
808 .chroma .nn {
809 color: #f5a97f;
810 }
811 /* NameProperty */
812 .chroma .py {
813 color: #f5a97f;
814 }
815 /* NameTag */
816 .chroma .nt {
817 color: #c6a0f6;
818 }
819 /* NameVariable */
820 .chroma .nv {
821 color: #f4dbd6;
822 }
823 /* NameVariableClass */
824 .chroma .vc {
825 color: #f4dbd6;
826 }
827 /* NameVariableGlobal */
828 .chroma .vg {
829 color: #f4dbd6;
830 }
831 /* NameVariableInstance */
832 .chroma .vi {
833 color: #f4dbd6;
834 }
835 /* NameVariableMagic */
836 .chroma .vm {
837 color: #f4dbd6;
838 }
839 /* LiteralString */
840 .chroma .s {
841 color: #a6da95;
842 }
843 /* LiteralStringAffix */
844 .chroma .sa {
845 color: #ed8796;
846 }
847 /* LiteralStringBacktick */
848 .chroma .sb {
849 color: #a6da95;
850 }
851 /* LiteralStringChar */
852 .chroma .sc {
853 color: #a6da95;
854 }
855 /* LiteralStringDelimiter */
856 .chroma .dl {
857 color: #8aadf4;
858 }
859 /* LiteralStringDoc */
860 .chroma .sd {
861 color: #6e738d;
862 }
863 /* LiteralStringDouble */
864 .chroma .s2 {
865 color: #a6da95;
866 }
867 /* LiteralStringEscape */
868 .chroma .se {
869 color: #8aadf4;
870 }
871 /* LiteralStringHeredoc */
872 .chroma .sh {
873 color: #6e738d;
874 }
875 /* LiteralStringInterpol */
876 .chroma .si {
877 color: #a6da95;
878 }
879 /* LiteralStringOther */
880 .chroma .sx {
881 color: #a6da95;
882 }
883 /* LiteralStringRegex */
884 .chroma .sr {
885 color: #8bd5ca;
886 }
887 /* LiteralStringSingle */
888 .chroma .s1 {
889 color: #a6da95;
890 }
891 /* LiteralStringSymbol */
892 .chroma .ss {
893 color: #a6da95;
894 }
895 /* LiteralNumber */
896 .chroma .m {
897 color: #f5a97f;
898 }
899 /* LiteralNumberBin */
900 .chroma .mb {
901 color: #f5a97f;
902 }
903 /* LiteralNumberFloat */
904 .chroma .mf {
905 color: #f5a97f;
906 }
907 /* LiteralNumberHex */
908 .chroma .mh {
909 color: #f5a97f;
910 }
911 /* LiteralNumberInteger */
912 .chroma .mi {
913 color: #f5a97f;
914 }
915 /* LiteralNumberIntegerLong */
916 .chroma .il {
917 color: #f5a97f;
918 }
919 /* LiteralNumberOct */
920 .chroma .mo {
921 color: #f5a97f;
922 }
923 /* Operator */
924 .chroma .o {
925 color: #91d7e3;
926 font-weight: bold;
927 }
928 /* OperatorWord */
929 .chroma .ow {
930 color: #91d7e3;
931 font-weight: bold;
932 }
933 /* Comment */
934 .chroma .c {
935 color: #6e738d;
936 font-style: italic;
937 }
938 /* CommentHashbang */
939 .chroma .ch {
940 color: #6e738d;
941 font-style: italic;
942 }
943 /* CommentMultiline */
944 .chroma .cm {
945 color: #6e738d;
946 font-style: italic;
947 }
948 /* CommentSingle */
949 .chroma .c1 {
950 color: #6e738d;
951 font-style: italic;
952 }
953 /* CommentSpecial */
954 .chroma .cs {
955 color: #6e738d;
956 font-style: italic;
957 }
958 /* CommentPreproc */
959 .chroma .cp {
960 color: #6e738d;
961 font-style: italic;
962 }
963 /* CommentPreprocFile */
964 .chroma .cpf {
965 color: #6e738d;
966 font-weight: bold;
967 font-style: italic;
968 }
969 /* GenericDeleted */
970 .chroma .gd {
971 color: #ed8796;
972 background-color: oklch(44.4% 0.177 26.899 / 0.5);
973 }
974 /* GenericEmph */
975 .chroma .ge {
976 font-style: italic;
977 }
978 /* GenericError */
979 .chroma .gr {
980 color: #ed8796;
981 }
982 /* GenericHeading */
983 .chroma .gh {
984 color: #f5a97f;
985 font-weight: bold;
986 }
987 /* GenericInserted */
988 .chroma .gi {
989 color: #a6da95;
990 background-color: oklch(44.8% 0.119 151.328 / 0.5);
991 }
992 /* GenericStrong */
993 .chroma .gs {
994 font-weight: bold;
995 }
996 /* GenericSubheading */
997 .chroma .gu {
998 color: #f5a97f;
999 font-weight: bold;
1000 }
1001 /* GenericTraceback */
1002 .chroma .gt {
1003 color: #ed8796;
1004 }
1005 /* GenericUnderline */
1006 .chroma .gl {
1007 text-decoration: underline;
1008 }
1009}
1010
1011actor-typeahead {
1012 --color-background: #ffffff;
1013 --color-border: #d1d5db;
1014 --color-shadow: #000000;
1015 --color-hover: #f9fafb;
1016 --color-avatar-fallback: #e5e7eb;
1017 --radius: 0;
1018 --padding-menu: 0rem;
1019 z-index: 1000;
1020}
1021
1022actor-typeahead::part(handle) {
1023 color: #111827;
1024}
1025
1026actor-typeahead::part(menu) {
1027 box-shadow:
1028 0 4px 6px -1px rgb(0 0 0 / 0.1),
1029 0 2px 4px -2px rgb(0 0 0 / 0.1);
1030}
1031
1032@media (prefers-color-scheme: dark) {
1033 actor-typeahead {
1034 --color-background: #1f2937;
1035 --color-border: #4b5563;
1036 --color-shadow: #000000;
1037 --color-hover: #374151;
1038 --color-avatar-fallback: #4b5563;
1039 }
1040
1041 actor-typeahead::part(handle) {
1042 color: #f9fafb;
1043 }
1044}