Skip to content

basalt / dashboard/src / BrandColors

Interface: BrandColors ​

Defined in: dashboard/src/branding.ts:8

White-label branding for the admin shell. Pure and browser-safe — the model is data, the helpers turn it into CSS custom properties a shell injects. A per-tenant BrandingStore lets each tenant ship their own product name, logo and colours over a default brand.

Properties ​

accent? ​

> optional accent?: string

Defined in: dashboard/src/branding.ts:12

Secondary/accent colour. → --brand-accent.


background? ​

> optional background?: string

Defined in: dashboard/src/branding.ts:14

Page background. → --brand-bg.


foreground? ​

> optional foreground?: string

Defined in: dashboard/src/branding.ts:16

Body text colour. → --brand-fg.


primary? ​

> optional primary?: string

Defined in: dashboard/src/branding.ts:10

Primary brand colour (buttons, active nav). → --brand-primary.

Released under the MIT License.