fix: add dark mode support for embedded modal option icons (#23893)

This commit is contained in:
lyzno1
2025-08-13 23:20:33 +08:00
committed by GitHub
parent 3ac4e122eb
commit 5dcbc9861b

View File

@@ -18,3 +18,13 @@
.pluginInstallIcon {
background-image: url(../assets/chromeplugin-install.svg);
}
:global(html[data-theme="dark"]) .iframeIcon,
:global(html[data-theme="dark"]) .scriptsIcon,
:global(html[data-theme="dark"]) .chromePluginIcon {
filter: invert(0.86) hue-rotate(180deg) saturate(0.5) brightness(0.95);
}
:global(html[data-theme="dark"]) .pluginInstallIcon {
filter: invert(0.9);
}