Skip to content

Build your personal knowledge base with Trilium Notes

style/reference links: enable colors in table collections as well

Adorian Doran4bcf209072be
diff --git a/apps/client/src/stylesheets/theme-dark.css b/apps/client/src/stylesheets/theme-dark.css
index a50a6e6c26..2d08163d61 100644
--- a/apps/client/src/stylesheets/theme-dark.css
+++ b/apps/client/src/stylesheets/theme-dark.css
@@ -86,7 +86,7 @@ body ::-webkit-calendar-picker-indicator {
--custom-color: var(--dark-theme-custom-color);
}
-.ck-content a.reference-link,
+.reference-link,
.ck-content a.reference-link > span {
color: var(--dark-theme-custom-color, inherit);
}
diff --git a/apps/client/src/stylesheets/theme-light.css b/apps/client/src/stylesheets/theme-light.css
index 6303041021..3bf49341c7 100644
--- a/apps/client/src/stylesheets/theme-light.css
+++ b/apps/client/src/stylesheets/theme-light.css
@@ -86,7 +86,7 @@ html {
--custom-color: var(--light-theme-custom-color);
}
-.ck-content a.reference-link,
+.reference-link,
.ck-content a.reference-link > span {
color: var(--light-theme-custom-color, inherit);
}
\ No newline at end of file
diff --git a/apps/client/src/stylesheets/theme-next-dark.css b/apps/client/src/stylesheets/theme-next-dark.css
index 12bc4f0f1d..5b012996e5 100644
--- a/apps/client/src/stylesheets/theme-next-dark.css
+++ b/apps/client/src/stylesheets/theme-next-dark.css
@@ -277,7 +277,7 @@
--custom-bg-color: hsl(var(--custom-color-hue), 20%, 33%, 0.4);
}
-.ck-content a.reference-link,
+.reference-link,
.ck-content a.reference-link > span {
color: var(--dark-theme-custom-color, inherit);
}