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

@ -1,4 +1,4 @@
@import '../../../theme/colors';
@use '../../../theme/colors';
$triangle-size: 40px;
$image-height: 230px;
@ -7,7 +7,7 @@ $image-width: 160px;
.error-banner {
width: 160px;
height: 18px;
background-color: $error-color;
background-color: colors.$error-color;
font-size: 12px;
color: white;
text-transform: uppercase;
@ -49,7 +49,7 @@ $image-width: 160px;
height: 5px;
.progress {
color: $primary-color;
color: colors.$primary-color;
background-color: transparent;
}
}
@ -70,7 +70,7 @@ $image-width: 160px;
height: 0;
border-style: solid;
border-width: 0 $triangle-size $triangle-size 0;
border-color: transparent $primary-color transparent transparent;
border-color: transparent colors.$primary-color transparent transparent;
}