Fixing theme tweaks; Fixing prefers-color-scheme of false, resolves #549

This commit is contained in:
James Barnsley
2020-06-22 20:18:49 +12:00
parent f5efbd1ede
commit 68d86e395f
2 changed files with 11 additions and 1 deletions

View File

@ -305,8 +305,12 @@ $bp_shallow: 650px;
@content
}
&.auto-theme {
@media (prefers-color-scheme: $theme) {
@if $theme == 'dark' {
@content
} @else {
@media (prefers-color-scheme: $theme) {
@content
}
}
}
} @else {

View File

@ -128,6 +128,12 @@
color: colour(red);
}
}
@include theme('light') {
&:not(:hover) {
color: colour('darkest_grey');
}
}
}
@include responsive($bp_medium) {