Skip to content

Build your personal knowledge base with Trilium Notes

add CSS variables for CKEditor table caption, fixes #2998

zadam1afa32502f07
diff --git a/src/public/stylesheets/ckeditor-theme.css b/src/public/stylesheets/ckeditor-theme.css
index 54608015c2..6b029967e0 100644
--- a/src/public/stylesheets/ckeditor-theme.css
+++ b/src/public/stylesheets/ckeditor-theme.css
@@ -7,6 +7,9 @@ body {
--ck-color-text: var(--main-text-color);
--ck-color-shadow-drop: var(--main-background-color);
--ck-color-shadow-inner: var(--main-background-color);
+ --ck-color-table-caption-text: var(--main-text-color);
+ --ck-color-table-caption-background: var(--accented-background-color);
+ --ck-color-table-caption-highlighted-background: var(--accented-background-color);
/* -- Overrides the default .ck-button class colors. ---------------------------------------- */