Skip to content

Build your personal knowledge base with Trilium Notes

style(next): text notes: fix the table caption colors on dark theme

Adorian Doran36b138655c8e
diff --git a/src/public/stylesheets/theme-next/notes/text.css b/src/public/stylesheets/theme-next/notes/text.css
index 76cc6e3953..ac6002a8c9 100644
--- a/src/public/stylesheets/theme-next/notes/text.css
+++ b/src/public/stylesheets/theme-next/notes/text.css
@@ -127,6 +127,13 @@ html .note-detail-editable-text :not(figure, .include-note, hr):first-child {
border-top: 1px solid var(--main-border-color) !important;
}
+/* Table caption */
+
+.ck-content .table > figcaption {
+ background: var(--accented-background-color);
+ color: var(--main-text-color);
+}
+
/*
* Search in text panel
*/