mirror of
https://github.com/usememos/memos.git
synced 2024-09-20 22:46:16 +08:00
feat: improve theming (#3032)
Add color-scheme and dark scrollbar styles
This commit is contained in:
parent
59314cdf80
commit
f0a521f5b8
|
@ -5,3 +5,10 @@ body {
|
|||
#root {
|
||||
@apply relative w-full min-h-full;
|
||||
}
|
||||
html.dark {
|
||||
color-scheme: dark;
|
||||
scrollbar-color: hsla(0, 0%, 100%, .4) hsla(0, 0%, 100%, .029);
|
||||
}
|
||||
html.light {
|
||||
color-scheme: light;
|
||||
}
|
Loading…
Reference in a new issue