This repository has been archived on 2026-04-03. You can view files and clone it, but cannot push or open issues or pull requests.
nyx/tenants/dev/theme.css
Nico 599c5132a5 feat(theme): per-tenant dark/bright themes, brand decoupled from mode
- TenantConfig gains themes: { dark, bright } — CSS data-theme names per mode
- tenants/loop42/theme.css: dark + bright CSS blocks (moved out of base.css)
- tenants/dev/theme.css: titan-bright CSS block (titan dark stays as :root)
- useTheme: stores 'dark'|'bright' in nyx_mode, toggles via tenant themes config
- AppToolbar: single sun/moon toggle replaces multi-button brand switcher
- AppSidebar, HomeView, router: brand name/icon from tenant.name directly, not theme
- themeSwitcher feature flag removed (replaced by universal toggle)
- Fix: local K3s auth mismatch — VITE_AUTH_DISABLED removed from .env.local;
  infra/k8s/local/runtime.yaml sets AUTH_ENABLED=false to match test namespace

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-04 00:37:13 +02:00

33 lines
1.0 KiB
CSS

/* ── titan dark: defined in base.css :root ──────────────────── */
/* ── titan bright ───────────────────────────────────────────── */
[data-theme="titan-bright"] {
--bg: #f1f3f9;
--surface: #e8ecf5;
--border: #c8cfe0;
--chat-bg: #f5f7fc;
--agent: #e8ecf5;
--agent-border: #a5b4fc;
--muted: #dde2ef;
--muted-text: #6b7ba0;
--text: #1a1f2e;
--text-dim: #5a6480;
--accent: #6366f1;
--user-bubble: #dce3f5;
--primary: #3b82f6;
--secondary: #6366f1;
--success: #22c55e;
--success-dim: #4ade80;
--warn: #fbbf24;
--error: #f87171;
--focus: #4ade80;
--bg-dim: #e5e9f5;
--disabled-opacity: 0.4;
--panel-bg: #ffffff;
--panel-shadow: 0 2px 12px rgba(0,0,0,0.08), 0 0 1px rgba(99,102,241,0.15);
}