mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 14:38:12 +00:00
fix ui
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user