Color Theme applies to scrollbars (#793)
* Moved more scss to use syntax to reduce css size * Hooked in color-scheme to help brower render scroll bars appropriately depending on color scheme user selects
This commit is contained in:
parent
7f6fc8c692
commit
befbe92cb1
8 changed files with 41 additions and 22 deletions
|
|
@ -8,13 +8,6 @@
|
|||
|
||||
@import '~swiper/swiper.scss';
|
||||
|
||||
|
||||
@keyframes fadein {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 1; }
|
||||
}
|
||||
|
||||
|
||||
@import './assets/themes/dark.scss';
|
||||
|
||||
// Global Styles
|
||||
|
|
@ -30,6 +23,14 @@ label, select, .clickable {
|
|||
color: white;
|
||||
}
|
||||
|
||||
:root {
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
// :root .bg-dark {
|
||||
// color-scheme: dark;
|
||||
// }
|
||||
|
||||
@font-face {
|
||||
font-family: "EBGarmond";
|
||||
src: url("assets/fonts/EBGarmond/EBGaramond-VariableFont_wght.ttf") format("truetype");
|
||||
|
|
@ -65,6 +66,11 @@ body {
|
|||
}
|
||||
}
|
||||
|
||||
@keyframes fadein {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 1; }
|
||||
}
|
||||
|
||||
// Debug styles
|
||||
.redlines * {
|
||||
outline: 1px solid red;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue