Skip to content

Build your personal knowledge base with Trilium Notes

style/about dialog: lower CSS selector specificity

Adorian Doran4bc1d93b75cc
diff --git a/apps/client/src/widgets/dialogs/about.css b/apps/client/src/widgets/dialogs/about.css
index 023a62d8e7..06e4d9f47c 100644
--- a/apps/client/src/widgets/dialogs/about.css
+++ b/apps/client/src/widgets/dialogs/about.css
@@ -1,6 +1,6 @@
.about-dialog {
- body.light-theme & {
+ :where(body.light-theme &) {
--donate-button-color: #e33f3b;
&.nightly {
@@ -8,9 +8,9 @@
}
}
- body.dark-theme & {
+ :where(body.dark-theme &) {
--donate-button-color: #fba6a5;
-
+
&.nightly {
--modal-background-color: #23182b;
}