- 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>
22 lines
432 B
TypeScript
22 lines
432 B
TypeScript
import type { TenantConfig } from '../../src/tenant';
|
|
|
|
const config: TenantConfig = {
|
|
id: 'dev',
|
|
name: 'loop42 Dev',
|
|
domain: 'loop42.dev',
|
|
defaultTheme: 'titan',
|
|
oidcClientId: '366683272559788059',
|
|
features: {
|
|
graph: true,
|
|
trace: true,
|
|
viewer: true,
|
|
devTools: true,
|
|
},
|
|
themes: {
|
|
dark: 'titan',
|
|
bright: 'titan-bright',
|
|
},
|
|
};
|
|
|
|
export default config;
|