Monorepo for Tangled
at sl/knotmirror 1042 lines 22 kB view raw
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 font-bold py-2 uppercase dark:text-gray-100; 94 } 95 input, textarea { 96 @apply 97 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 textarea { 103 @apply font-mono; 104 } 105 details summary::-webkit-details-marker { 106 display: none; 107 } 108 109 code { 110 @apply font-mono rounded bg-gray-100 dark:bg-gray-700 text-black dark:text-white; 111 } 112 } 113 114 @layer components { 115 .btn { 116 @apply relative z-10 inline-flex min-h-[30px] cursor-pointer items-center justify-center 117 bg-transparent px-2 pb-[0.2rem] text-sm text-gray-900 118 before:absolute before:inset-0 before:-z-10 before:block before:rounded 119 before:border before:border-gray-200 before:bg-white 120 before:shadow-[inset_0_-2px_0_0_rgba(0,0,0,0.1),0_1px_0_0_rgba(0,0,0,0.04)] 121 before:content-[''] before:transition-all before:duration-150 before:ease-in-out 122 hover:before:shadow-[inset_0_-2px_0_0_rgba(0,0,0,0.15),0_2px_1px_0_rgba(0,0,0,0.06)] 123 hover:before:bg-gray-50 124 dark:hover:before:bg-gray-700 125 active:before:shadow-[inset_0_2px_2px_0_rgba(0,0,0,0.1)] 126 focus:outline-none focus-visible:before:outline focus-visible:before:outline-2 focus-visible:before:outline-gray-400 127 disabled:cursor-not-allowed disabled:opacity-50 128 dark:text-gray-100 dark:before:bg-gray-800 dark:before:border-gray-700; 129 } 130 131 .btn-flat { 132 @apply relative z-10 inline-flex min-h-[30px] cursor-pointer items-center justify-center 133 bg-transparent px-2 pb-[0.2rem] text-sm text-gray-900 134 before:absolute before:inset-0 before:-z-10 before:block before:rounded 135 before:border before:border-gray-200 before:bg-white 136 before:content-[''] before:transition-all before:duration-150 before:ease-in-out 137 hover:before:bg-gray-50 138 dark:hover:before:bg-gray-700 139 focus:outline-none focus-visible:before:outline focus-visible:before:outline-2 focus-visible:before:outline-gray-400 140 disabled:cursor-not-allowed disabled:opacity-50 141 dark:text-gray-100 dark:before:bg-gray-800 dark:before:border-gray-700; 142 } 143 144 .btn-create { 145 @apply btn text-white 146 before:bg-green-600 hover:before:bg-green-700 147 dark:before:bg-green-700 dark:hover:before:bg-green-800 148 before:border before:border-green-700 hover:before:border-green-800 149 focus-visible:before:outline-green-500 150 disabled:before:bg-green-400 dark:disabled:before:bg-green-600; 151 } 152 153 .prose { 154 overflow-wrap: anywhere; 155 } 156 157 .prose hr { 158 @apply my-2; 159 } 160 161 .prose li:has(input) { 162 @apply list-none; 163 } 164 165 .prose ul:has(input) { 166 @apply pl-2; 167 } 168 169 .prose .heading .anchor { 170 @apply no-underline mx-2 opacity-0; 171 } 172 173 .prose .heading:hover .anchor { 174 @apply opacity-70; 175 } 176 177 .prose .heading .anchor:hover { 178 @apply opacity-70; 179 } 180 181 .prose h1:target, 182 .prose h2:target, 183 .prose h3:target, 184 .prose h4:target, 185 .prose h5:target, 186 .prose h6:target { 187 @apply bg-yellow-200/30 dark:bg-yellow-600/30; 188 } 189 190 .prose a.footnote-backref { 191 @apply no-underline; 192 } 193 194 .prose a.mention { 195 @apply no-underline hover:underline font-bold; 196 } 197 198 .prose li { 199 @apply my-0 py-0; 200 } 201 202 .prose ul, 203 .prose ol { 204 @apply my-1 py-0; 205 } 206 207 .prose img { 208 display: inline; 209 margin: 0; 210 vertical-align: middle; 211 } 212 213 .prose input { 214 @apply inline-block my-0 mb-1 mx-1; 215 } 216 217 .prose input[type="checkbox"] { 218 @apply disabled:accent-blue-500 checked:accent-blue-500 disabled:checked:accent-blue-500; 219 } 220 221 /* Base callout */ 222 details[data-callout] { 223 @apply border-l-4 pl-3 py-2 text-gray-800 dark:text-gray-200 my-4; 224 } 225 226 details[data-callout] > summary { 227 @apply font-bold cursor-pointer mb-1; 228 } 229 230 details[data-callout] > .callout-content { 231 @apply text-sm leading-snug; 232 } 233 234 /* Note (blue) */ 235 details[data-callout="note" i] { 236 @apply border-blue-400 dark:border-blue-500; 237 } 238 details[data-callout="note" i] > summary { 239 @apply text-blue-700 dark:text-blue-400; 240 } 241 242 /* Important (purple) */ 243 details[data-callout="important" i] { 244 @apply border-purple-400 dark:border-purple-500; 245 } 246 details[data-callout="important" i] > summary { 247 @apply text-purple-700 dark:text-purple-400; 248 } 249 250 /* Warning (yellow) */ 251 details[data-callout="warning" i] { 252 @apply border-yellow-400 dark:border-yellow-500; 253 } 254 details[data-callout="warning" i] > summary { 255 @apply text-yellow-700 dark:text-yellow-400; 256 } 257 258 /* Caution (red) */ 259 details[data-callout="caution" i] { 260 @apply border-red-400 dark:border-red-500; 261 } 262 details[data-callout="caution" i] > summary { 263 @apply text-red-700 dark:text-red-400; 264 } 265 266 /* Tip (green) */ 267 details[data-callout="tip" i] { 268 @apply border-green-400 dark:border-green-500; 269 } 270 details[data-callout="tip" i] > summary { 271 @apply text-green-700 dark:text-green-400; 272 } 273 274 /* Optional: hide the disclosure arrow like GitHub */ 275 details[data-callout] > summary::-webkit-details-marker { 276 display: none; 277 } 278 279 } 280 @layer utilities { 281 .error { 282 @apply py-1 text-red-400 dark:text-red-300; 283 } 284 .success { 285 @apply py-1 text-gray-900 dark:text-gray-100; 286 } 287 288 @keyframes scroll { 289 0% { transform: translateX(0); } 290 100% { transform: translateX(-50%); } 291 } 292 293 .animate-marquee { 294 animation: scroll 60s linear infinite; 295 } 296 297 .animate-marquee:hover { 298 animation-play-state: paused; 299 } 300 301 @media (prefers-reduced-motion: reduce) { 302 .animate-marquee { 303 animation: none; 304 transform: none; 305 } 306 } 307 308 @keyframes progress { 309 from { width: 0%; } 310 to { width: 100%; } 311 } 312 313 .animate-progress { 314 animation: progress 10s linear forwards; 315 } 316 317 @keyframes fadeIn { 318 from { opacity: 0; } 319 to { opacity: 1; } 320 } 321 322 @keyframes fadeOut { 323 from { opacity: 1; } 324 to { opacity: 0; } 325 } 326 327 .animate-fadein { 328 animation: fadeIn 0.25s ease-in forwards; 329 } 330 331 .animate-fadeout { 332 animation: fadeOut 0.25s ease-out forwards; 333 } 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.0; 1018 --padding-menu: 0.0rem; 1019 z-index: 1000; 1020} 1021 1022actor-typeahead::part(handle) { 1023 color: #111827; 1024} 1025 1026actor-typeahead::part(menu) { 1027 box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); 1028} 1029 1030@media (prefers-color-scheme: dark) { 1031 actor-typeahead { 1032 --color-background: #1f2937; 1033 --color-border: #4b5563; 1034 --color-shadow: #000000; 1035 --color-hover: #374151; 1036 --color-avatar-fallback: #4b5563; 1037 } 1038 1039 actor-typeahead::part(handle) { 1040 color: #f9fafb; 1041 } 1042}