Enhance theme support: update CSS variables for dark and light themes, improve modal styles, and ensure SVGs use currentColor for theme compatibility.

This commit is contained in:
sha
2025-05-01 13:48:32 +03:00
parent 3dd4e50281
commit 4a2230223c
5 changed files with 143 additions and 11 deletions
+2 -2
View File
@@ -140,7 +140,7 @@ $: getLogoThemeColor = logo => getDefaultLogoColor(logo.colors, theme);
:global(.modal-content) {
background: var(--color-card);
color: var(--text-color);
color: var(--color-text);
border-radius: 8px;
padding: 1rem;
max-width: 500px;
@@ -167,7 +167,7 @@ $: getLogoThemeColor = logo => getDefaultLogoColor(logo.colors, theme);
border: none;
font-size: 1.5rem;
cursor: pointer;
color: var(--text-color, #222);
color: var(--color-text);
transition: color 0.2s;
}