Fixing theme tweaks; Fixing prefers-color-scheme of false, resolves #549
This commit is contained in:
@ -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 {
|
||||
|
||||
@ -128,6 +128,12 @@
|
||||
color: colour(red);
|
||||
}
|
||||
}
|
||||
|
||||
@include theme('light') {
|
||||
&:not(:hover) {
|
||||
color: colour('darkest_grey');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include responsive($bp_medium) {
|
||||
|
||||
Reference in New Issue
Block a user