File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 11---
22const { name } = Astro .props ;
33
4- const lists: Record <string , { id: number ; label: string }[]> = {
4+ const lists: Record <string , { id: number | string ; label: string }[]> = {
55 " message-types" : [
66 { id: 0 , label: " normal message" },
77 { id: 1 , label: " action message (/me)" },
@@ -46,12 +46,10 @@ const icon = icons[name] || "○";
4646 }
4747
4848 :root[data-theme="light"] .template-list li::before {
49- filter: sepia(1) hue-rotate(-50deg) saturate(5) brightness(1.1)
50- drop-shadow(0 0 1px black);
49+ filter: brightness(1.1) drop-shadow(0 0 1px black);
5150 }
5251
5352 :root[data-theme="dark"] .template-list li::before {
54- filter: sepia(1) hue-rotate(-50deg) saturate(5) brightness(0.8)
55- drop-shadow(0 0 1px white);
53+ filter: brightness(0.8) drop-shadow(0 0 1px white);
5654 }
5755</style >
You can’t perform that action at this time.
0 commit comments