feat: Implement logo action buttons for copy and download functionality

This commit is contained in:
sha
2025-04-28 17:17:48 +03:00
parent 8dfba44957
commit cd962ac37a
5 changed files with 445 additions and 183 deletions
-9
View File
@@ -52,7 +52,6 @@
});
$: {
console.log('[theme] reactive theme:', theme);
applyTheme();
}
@@ -108,7 +107,6 @@
effectiveTheme = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
}
document.documentElement.setAttribute('data-theme', effectiveTheme);
console.log('[theme] theme:', theme, 'effectiveTheme:', effectiveTheme);
}
function setTheme(newTheme) {
@@ -492,13 +490,6 @@
width: 100%;
}
.logo-card, .logo-item {
background: var(--color-card);
color: var(--color-text);
border: 1px solid var(--color-border);
transition: background 0.2s, color 0.2s;
}
:global(.logo-card), :global(.logo-item) {
background: var(--color-card);
color: var(--color-text);