empty_icon fixed for dark mode. see #680 #184

This commit is contained in:
Mic 2026-04-17 01:44:00 +02:00
parent f903149e51
commit 954c650d4b
2 changed files with 17 additions and 2 deletions

View file

@ -383,4 +383,12 @@
a:visited { color: #409eff; } a:visited { color: #409eff; }
a:hover { color: #66b1ff; } a:hover { color: #66b1ff; }
a:active { color: #66b1ff; } a:active { color: #66b1ff; }
.item_icon_preview_empty {
filter: invert(1);
}
.icon_picker_cell_none img {
filter: invert(1);
}
} }

View file

@ -23,8 +23,15 @@ import {
setSpecialPrompts, setSpecialPrompts,
getHiddenSpecialPromptIds getHiddenSpecialPromptIds
} from '../../js/mzta-prompts.js'; } from '../../js/mzta-prompts.js';
import { i18nConditionalGet, specialPromptToContextMenuID, contextMenuIconsPath } from '../../js/mzta-utils.js'; import {
import { customMenuIcons, customMenuIconsPath } from './mzta-custom-menu-icons.js'; i18nConditionalGet,
specialPromptToContextMenuID,
contextMenuIconsPath
} from '../../js/mzta-utils.js';
import {
customMenuIcons,
customMenuIconsPath
} from './mzta-custom-menu-icons.js';
// Convert "moz-extension:images/foo.png" to a relative path usable from this page // Convert "moz-extension:images/foo.png" to a relative path usable from this page
function resolveSpecialIconPath(promptId) { function resolveSpecialIconPath(promptId) {