
Change it without code

1
Open the Colors page
Go to Appearance, Colors in the admin menu. Pick a preset or change any color. The whole site previews it live.
2
Do light and dark separately
The switch at the top edits the light or the dark palette. Each color has its own default and a reset button.
3
Save
Saved colors go live for every visitor and every admin without a rebuild. Import and Export move a palette between installs.

ui_corner_radius and it scales every rounded corner in the admin and in the customer area. The change previews while you drag the slider.
Before and after

Default colors and corners

New accent color, square corners
theme.css tokens
Admin Modern styles itself from variables inresources/js/pages/admin-themes/admin-modern/theme.css. They are all scoped to .admin-modern and most are built from the site colors, so they follow the Colors page and dark mode.
.dark class on the page. Status colors have a light and a dark value in theme.css, the rest follow the site palette.
Custom pages with the kit
An addon can add its own admin screens that look native. Wrap the page inAdminLayout and an admin-modern div, then build from the kit in admin-themes/admin-modern/components/.
Admin pages
Register the page, route it and give it a permission.

