Fix context menu text blurred by CSS filter (#2069)

This commit is contained in:
filtered
2024-12-28 02:31:17 +11:00
committed by GitHub
parent a3be889872
commit 34492aed17
2 changed files with 3 additions and 7 deletions

View File

@@ -175,7 +175,6 @@ body {
display: none;
}
.comfy-markdown .tiptap :first-child {
margin-top: 0;
}
@@ -650,16 +649,12 @@ dialog::backdrop {
.litegraph.litecontextmenu.dark {
z-index: 9999 !important;
background-color: var(--comfy-menu-bg) !important;
filter: brightness(95%);
will-change: transform;
}
.litegraph.litecontextmenu
.litemenu-entry:hover:not(.disabled):not(.separator) {
background-color: var(--comfy-menu-bg) !important;
filter: brightness(155%);
will-change: transform;
color: var(--input-text);
background-color: var(--comfy-menu-hover-bg, var(--border-color)) !important;
color: var(--fg-color);
}
.litegraph.litecontextmenu .litemenu-entry.submenu,

View File

@@ -46,6 +46,7 @@
"fg-color": "#222",
"bg-color": "#DDD",
"comfy-menu-bg": "#F5F5F5",
"comfy-menu-hover-bg": "#ccc",
"comfy-menu-secondary-bg": "#EEE",
"comfy-input-bg": "#C9C9C9",
"input-text": "#222",