This commit is contained in:
natib21
2026-07-14 07:45:33 +00:00
parent 0396b6474f
commit bf9520ece4
7 changed files with 22 additions and 14 deletions

View File

@@ -41,11 +41,12 @@
--color-primary-950: #022c22;
}
/* Main brand color for the vendored IAM UI (user-management). The shadcn
`primary` token drives bg-primary / text-primary / border-primary (1600+
usages there). Un-layered, so it wins over the layer(theme) defaults from
@edr/ui-common (light: oklch green, dark: #0d5c2c). Same value in both
modes so the brand doesn't shift when toggling. */
/* Main brand color. NOTE: at runtime TenantConfig.applyTenantTheme() sets
--primary (and --ring/--accent/…) as INLINE styles on <html> from the
per-hostname tenant config, which beats any stylesheet — change the color
there (localhost → #0EA371). This block is the pre-mount fallback and fixes
--primary-foreground (the layered dark default is dark-on-dark). Same value
in both modes so the brand doesn't shift when toggling. */
:root,
.dark {
--primary: #0EA371;