logo theme

This commit is contained in:
2025-11-14 01:48:41 +01:00
parent a6d2c115fe
commit 2effdff990
7 changed files with 31 additions and 21 deletions
+1 -1
View File
@@ -772,7 +772,7 @@ const Sidebar: React.FC<SidebarProps> = ({
ref={tenantButtonRef}
>
<span className="sidebar__title">
<LogoIcon className="sidebar__logo" />
<LogoIcon className="sidebar__logo" variant="small" />
<span className="sidebar__title-text">Papercrate</span>
{tenantName ? <span className="sidebar__tenant"> / {tenantName}</span> : null}
</span>
+3 -3
View File
@@ -32,9 +32,9 @@ const SIDEBAR_COLLAPSE_STORAGE_KEY = 'papercrate_sidebar_collapsed';
const SidebarContext = createContext<SidebarContextValue | null>(null);
const THEME_STORAGE_KEY = 'papercrate_theme_settings';
const DEFAULT_NEUTRAL_HUE = 35;
const DEFAULT_NEUTRAL_CHROMA = 0.5;
const DEFAULT_NEUTRAL_CONTRAST = 0.5;
const DEFAULT_NEUTRAL_HUE = 29;
const DEFAULT_NEUTRAL_CHROMA = 0.44;
const DEFAULT_NEUTRAL_CONTRAST = 0.56;
const DEFAULT_THEME_MODE = 'system';
const THEME_MODES = ['system', 'light', 'dark'];