Skip to content

Build your personal knowledge base with Trilium Notes

style/text: prevent reference links inherit color from the current note

Adorian Dorana4be86dbd85b
diff --git a/apps/client/src/stylesheets/theme-next/notes/text.css b/apps/client/src/stylesheets/theme-next/notes/text.css
index 2fe4a00c2b..d31acc280c 100644
--- a/apps/client/src/stylesheets/theme-next/notes/text.css
+++ b/apps/client/src/stylesheets/theme-next/notes/text.css
@@ -692,7 +692,7 @@ html .note-detail-editable-text :not(figure, .include-note, hr):first-child {
text-decoration: none;
}
-.ck-content a.reference-link > span {
+.ck-content a.reference-link.use-note-color > span {
color: var(--custom-color, inherit);
}