💄style: stylise scrollbar based on site's color scheme

See #114 and Jieiku/abridge#136
This commit is contained in:
welpo 2023-08-26 00:34:12 +02:00
parent ce7ac7cf2c
commit 1be3fa886c
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6

View File

@ -45,6 +45,8 @@
}
:root {
color-scheme: light;
--max-layout-width: 1000px;
--normal-layout-width: 600px;
--medium-layout-width: 400px;
@ -76,6 +78,8 @@
}
[data-theme='dark'] {
color-scheme: dark;
--background-color: #1f1f1f;
--bg-0: #2f2f2f;
--bg-1: #3c3c3c;