Skip to main content
zerotal

Documentation


Documentation / @zerotal/admin / index / AdminThemeConfig

Interface: AdminThemeConfig

Defined in: admin/src/theme.ts:36

Styling source for the admin shell. By default the Tailwind Play CDN themes everything with zero build step. To ship a real build, point stylesheet at your compiled CSS (built from your own tailwind.config — reuse adminTailwindConfig + adminTokensCss); the CDN is then dropped automatically (set cdn: true to keep both during migration).

Properties

stylesheet?

optional stylesheet?: string

Defined in: admin/src/theme.ts:38

A prebuilt stylesheet URL/path to link instead of (or alongside) the CDN.


cdn?

optional cdn?: boolean

Defined in: admin/src/theme.ts:40

Keep loading the Tailwind Play CDN. Defaults to true unless stylesheet is set.


tokensCss?

optional tokensCss?: string

Defined in: admin/src/theme.ts:42

Extra design-token CSS appended after the defaults (override :root / .dark).


noFonts?

optional noFonts?: boolean

Defined in: admin/src/theme.ts:44

Skip the bundled Google Fonts links (e.g. you self-host Inter).