when dark mode not active, match fusion buttons

This commit is contained in:
Damien Elmes 2020-01-31 13:39:52 +10:00
parent b8ad45c4e4
commit 8b68512e0e
2 changed files with 3 additions and 1 deletions

View File

@ -63,6 +63,8 @@ class ThemeManager:
classes.append("isLin")
if self.night_mode:
classes.extend(["nightMode", "night_mode"])
if self.macos_dark_mode():
classes.append("macos-dark-mode")
return " ".join(classes)
def body_classes_for_card_ord(self, card_ord: int) -> str:

View File

@ -45,7 +45,7 @@
}
/* imitate standard macOS dark mode buttons */
.isMac.nightMode button:not(.linkb) {
.isMac.nightMode.macos-dark-mode button:not(.linkb) {
background: #656565;
box-shadow: 0 1px 2px #222222;
border-top-color: #848484;