mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: improve theming (#3032)
Add color-scheme and dark scrollbar styles
This commit is contained in:
@ -5,3 +5,10 @@ body {
|
|||||||
#root {
|
#root {
|
||||||
@apply relative w-full min-h-full;
|
@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;
|
||||||
|
}
|
Reference in New Issue
Block a user