From 48c90964cfd224197bd10b6efa341ac9f95bbff9 Mon Sep 17 00:00:00 2001 From: tisachi Date: Sat, 17 Oct 2026 03:38:17 +0200 Subject: [PATCH] UI: przelacznik motywu z kola na zaokraglenie jak przyciski (10px) --- admin/src/components/ui/theme-toggle.tsx | 2 +- app/src/components/ui/theme-toggle.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/src/components/ui/theme-toggle.tsx b/admin/src/components/ui/theme-toggle.tsx index 4fc8a0a..7335f50 100644 --- a/admin/src/components/ui/theme-toggle.tsx +++ b/admin/src/components/ui/theme-toggle.tsx @@ -8,7 +8,7 @@ export function ThemeToggle({ className = '' }: { className?: string }) { onClick={toggle} aria-label="Przełącz motyw" title="Przełącz motyw" - className={`p-2.5 rounded-full bg-card border border-line text-dim shadow-card hover:text-ink hover:border-accent/45 cursor-pointer transition-all duration-150 ${className}`.trim()} + className={`p-2.5 rounded-[10px] bg-card border border-line text-dim shadow-card hover:text-ink hover:border-accent/45 cursor-pointer transition-all duration-150 ${className}`.trim()} > {theme === 'dark' ? : } diff --git a/app/src/components/ui/theme-toggle.tsx b/app/src/components/ui/theme-toggle.tsx index 4fc8a0a..7335f50 100644 --- a/app/src/components/ui/theme-toggle.tsx +++ b/app/src/components/ui/theme-toggle.tsx @@ -8,7 +8,7 @@ export function ThemeToggle({ className = '' }: { className?: string }) { onClick={toggle} aria-label="Przełącz motyw" title="Przełącz motyw" - className={`p-2.5 rounded-full bg-card border border-line text-dim shadow-card hover:text-ink hover:border-accent/45 cursor-pointer transition-all duration-150 ${className}`.trim()} + className={`p-2.5 rounded-[10px] bg-card border border-line text-dim shadow-card hover:text-ink hover:border-accent/45 cursor-pointer transition-all duration-150 ${className}`.trim()} > {theme === 'dark' ? : }