UI: przelacznik motywu z kola na zaokraglenie jak przyciski (10px)
This commit is contained in:
@@ -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' ? <Sun className="w-5 h-5" /> : <Moon className="w-5 h-5" />}
|
||||
</button>
|
||||
|
||||
@@ -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' ? <Sun className="w-5 h-5" /> : <Moon className="w-5 h-5" />}
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user