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 1
1
---
2
2
const { name } = Astro .props ;
3
3
4
- const lists: Record <string , { id: number ; label: string }[]> = {
4
+ const lists: Record <string , { id: number | string ; label: string }[]> = {
5
5
" message-types" : [
6
6
{ id: 0 , label: " normal message" },
7
7
{ id: 1 , label: " action message (/me)" },
@@ -46,12 +46,10 @@ const icon = icons[name] || "○";
46
46
}
47
47
48
48
: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);
51
50
}
52
51
53
52
: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);
56
54
}
57
55
</style >
You can’t perform that action at this time.
0 commit comments