Update variables for dark mode support (#5)

This commit is contained in:
Kris 2021-05-29 10:14:18 -04:00 committed by GitHub
parent 0d9363d8c9
commit 565174c3e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -56,10 +56,10 @@ $max-width: 600px;
} }
h1 { h1 {
font-size: $font-up-6; font-size: var(--font-up-6);
line-height: $line-height-medium; line-height: $line-height-medium;
@include breakpoint(tablet) { @include breakpoint(tablet) {
font-size: $font-up-4; font-size: var(--font-up-4);
} }
} }
@ -78,7 +78,7 @@ $max-width: 600px;
&:hover { &:hover {
background: transparent; background: transparent;
.d-icon { .d-icon {
color: $primary-high; color: var(--primary-high);
} }
} }
} }
@ -104,7 +104,7 @@ $max-width: 600px;
.results { .results {
box-sizing: border-box; box-sizing: border-box;
background: $secondary; background: var(--secondary);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15); box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
position: absolute; position: absolute;
width: $max-width; width: $max-width;
@ -128,14 +128,14 @@ $max-width: 600px;
.search-widget { .search-widget {
div.discourse-tags { div.discourse-tags {
font-size: $font-down-1; font-size: var(--font-down-1);
} }
li a.widget-link { li a.widget-link {
display: block; display: block;
padding: 0.25em 0.5em; padding: 0.25em 0.5em;
&:hover, &:hover,
&:focus { &:focus {
background-color: $highlight-medium; background-color: var(--highlight-medium);
} }
} }
} }