when dark mode not active, match fusion buttons
This commit is contained in:
parent
b8ad45c4e4
commit
8b68512e0e
@ -63,6 +63,8 @@ class ThemeManager:
|
|||||||
classes.append("isLin")
|
classes.append("isLin")
|
||||||
if self.night_mode:
|
if self.night_mode:
|
||||||
classes.extend(["nightMode", "night_mode"])
|
classes.extend(["nightMode", "night_mode"])
|
||||||
|
if self.macos_dark_mode():
|
||||||
|
classes.append("macos-dark-mode")
|
||||||
return " ".join(classes)
|
return " ".join(classes)
|
||||||
|
|
||||||
def body_classes_for_card_ord(self, card_ord: int) -> str:
|
def body_classes_for_card_ord(self, card_ord: int) -> str:
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* imitate standard macOS dark mode buttons */
|
/* imitate standard macOS dark mode buttons */
|
||||||
.isMac.nightMode button:not(.linkb) {
|
.isMac.nightMode.macos-dark-mode button:not(.linkb) {
|
||||||
background: #656565;
|
background: #656565;
|
||||||
box-shadow: 0 1px 2px #222222;
|
box-shadow: 0 1px 2px #222222;
|
||||||
border-top-color: #848484;
|
border-top-color: #848484;
|
||||||
|
Loading…
Reference in New Issue
Block a user