theme toggle button update
This commit is contained in:
@@ -44,7 +44,7 @@ export default function ThemeToggle({
|
|||||||
title={`Switch to ${theme === "dark" ? "light" : "dark"} mode`}
|
title={`Switch to ${theme === "dark" ? "light" : "dark"} mode`}
|
||||||
className={`inline-flex items-center rounded-full border border-[var(--border-strong)] px-3 py-1.5 text-sm text-[var(--text)] transition-colors hover:border-[var(--accent)] hover:text-[var(--accent)] ${className}`.trim()}
|
className={`inline-flex items-center rounded-full border border-[var(--border-strong)] px-3 py-1.5 text-sm text-[var(--text)] transition-colors hover:border-[var(--accent)] hover:text-[var(--accent)] ${className}`.trim()}
|
||||||
>
|
>
|
||||||
{theme === "dark" ? "Light mode" : "Dark mode"}
|
{theme === "dark" ? "◑" : "◐"}
|
||||||
</button>
|
</button>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user