feat: add environment-based CSS theming with configurable colors and branding

This commit is contained in:
2026-04-26 16:47:48 +09:30
parent 37e5de7f92
commit d8828d64f2
16 changed files with 262 additions and 39 deletions
+3 -2
View File
@@ -23,6 +23,7 @@ import { SecuirdLogo } from "@/components/branding/SecuirdLogo";
import { NavLink } from "@/components/NavLink";
import { useAuth } from "@/contexts/AuthContext";
import { useOrg } from "@/contexts/OrgContext";
import { config } from "@/config";
import {
Sidebar,
SidebarContent,
@@ -104,7 +105,7 @@ export function AppSidebar() {
<SecuirdLogo size="sm" variant="light" />
{!collapsed && (
<span className="text-lg font-semibold text-sidebar-foreground tracking-tight">
Secuird
{config.app.name}
</span>
)}
</div>
@@ -221,7 +222,7 @@ export function AppSidebar() {
<SidebarFooter className="p-4 border-t border-sidebar-border">
{!collapsed && (
<div className="text-xs text-sidebar-muted">
{import.meta.env.VITE_APP_VERSION ?? 'Secuird'}
{import.meta.env.VITE_APP_VERSION ?? config.app.name}
</div>
)}
</SidebarFooter>