Skip to content

Build your personal knowledge base with Trilium Notes

fix(client): adapt Bootstrap table borders and striping to the active theme

Elian Doran1d2a11e7ce59
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index 027ddd8c22..333713d90f 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -58,6 +58,9 @@ body#trilium-app.backdrop-effects-disabled *::after {
.table {
--bs-table-bg: transparent !important;
+ --bs-table-border-color: var(--main-border-color);
+ --bs-table-striped-bg: color-mix(in srgb, var(--main-text-color) 5%, transparent);
+ --bs-table-striped-color: var(--main-text-color);
}
:root {