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