feat(theme): add switchable pure-white theme

This commit is contained in:
Claw Bot
2026-03-07 07:32:20 +00:00
parent dd08c469f4
commit b4358e3f4a
7 changed files with 91 additions and 8 deletions
+9 -1
View File
@@ -117,6 +117,12 @@ const headerIcons = {
<path d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9z" />
</svg>
),
whiteTheme: (
<svg {...headerIconProps}>
<circle cx="12" cy="12" r="7" />
<circle cx="12" cy="12" r="3" fill="currentColor" stroke="none" />
</svg>
),
autoTheme: (
<svg {...headerIconProps}>
<defs>
@@ -571,7 +577,9 @@ export function MainLayout() {
? headerIcons.autoTheme
: theme === 'dark'
? headerIcons.moon
: headerIcons.sun}
: theme === 'white'
? headerIcons.whiteTheme
: headerIcons.sun}
</Button>
<Button variant="ghost" size="sm" onClick={logout} title={t('header.logout')}>
{headerIcons.logout}