mirror of
https://github.com/usememos/memos.git
synced 2025-11-07 07:56:34 +08:00
feat: improve theming (#3032)
Add color-scheme and dark scrollbar styles
This commit is contained in:
parent
59314cdf80
commit
f0a521f5b8
1 changed files with 7 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue