Skip to content

Build your personal knowledge base with Trilium Notes

fix(canvas): images appearing muted in dark mode (closes #5708)

Elian Doran5d0669b4640e
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index fd8383130e..7f67e4827c 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -2432,4 +2432,8 @@ iframe.print-iframe {
bottom: 0;
width: 0;
height: 0;
+}
+
+.excalidraw.theme--dark canvas {
+ --theme-filter: invert(100%) hue-rotate(180deg);
}
\ No newline at end of file