Skip to content

Build your personal knowledge base with Trilium Notes

better contrast of links on the dark theme

zadam8e0d1fa0df78
diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css
index 580d579f21..dbe090d83d 100644
--- a/src/public/stylesheets/style.css
+++ b/src/public/stylesheets/style.css
@@ -53,6 +53,10 @@ body.theme-black {
--menu-background-color: #222;
}
+body.theme-black a, body.theme-black a:visited {
+ color: lightskyblue;
+}
+
body.theme-black .CodeMirror {
filter: invert(100%) hue-rotate(180deg);
}
@@ -80,6 +84,10 @@ body.theme-dark {
--menu-background-color: #222;
}
+body.theme-dark a, body.theme-dark a:visited {
+ color: lightskyblue;
+}
+
body.theme-dark .CodeMirror {
filter: invert(90%) hue-rotate(180deg);
}
@@ -118,7 +126,7 @@ button.close {
}
.nav-link.active {
- background-color: inherit;
+ background-color: inherit !important;
color: var(--main-text-color) !important;
}