Skip to content

Build your personal knowledge base with Trilium Notes

fix(dialogs): keep the close icon visible on hover in legacy themes

Elian Doran405b4fe7e17a
diff --git a/apps/client/src/stylesheets/theme-light.css b/apps/client/src/stylesheets/theme-light.css
index eddc5402d7..ecbca76839 100644
--- a/apps/client/src/stylesheets/theme-light.css
+++ b/apps/client/src/stylesheets/theme-light.css
@@ -60,7 +60,7 @@ html {
--modal-control-button-color: #737373;
--modal-control-button-hover-color: white;
--modal-control-button-hover-background: gray;
- --modal-close-button-hover-background: var(--tab-close-button-hover-background);
+ --modal-close-button-hover-background: var(--tab-close-button-hover-background, #c95a5a);
--active-item-text-color: black;
--active-item-background-color: #ddd;