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:
Joseph Milazzo 2021-11-28 08:24:12 -06:00 committed by GitHub
parent 7f6fc8c692
commit befbe92cb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 41 additions and 22 deletions

View file

@ -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;