Edit Admin Theme Tokens
Adjust admin theme radius, spacing, shadows, and light or dark color tokens.
Use this guide when you need to adjust the theme values that affect admin UI components.
Before you begin
You need a selected admin theme and brand colors with enough contrast for text and controls.
Edit general settings
Open General inside Admin Theme to adjust shared UI shape, density, and elevation.
- Radius controls corner roundness.
- Spacing controls the spacing scale for UI elements.
- Shadow controls elevation with presets or custom values.
Use spacing carefully because it can change perceived density across the admin dashboard.
Edit colors
Open Colors inside Admin Theme to edit light and dark palettes.
Token groups include:
- Core.
- Semantic.
- UI Elements.
- Charts.
- Sidebar.
Use the light and dark tabs to edit each mode. Paired colors show contrast checks. Resolve failed pairs before saving a theme that admins will rely on.
Verify success
Token edits are ready when:
- Background and foreground pairs are readable.
- Primary, secondary, accent, destructive, success, warning, and info pairs pass contrast checks.
- Sidebar and chart colors remain legible in light and dark mode.
- Spacing, radius, and shadows still feel usable on dense admin pages.
Troubleshooting
Change either the background token or the foreground token for the failing pair until the contrast check passes.
Adjust Spacing in small increments and preview dense pages before saving.