Adds a Theme Studio button to the admin header, visible only to administrators. Changes to colours, typography, spacing, branding and custom CSS preview live across the admin panel, and saving applies the theme for all users. The theme is stored in a single global and rendered server-side as a style tag, so there is no flash on first paint. Requires Payload 3.82 or later and an import map regeneration.
Theme Studio for Payload CMS - gives system administrators full control over the admin panel design: colours, typography, spacing, branding and custom CSS, with live preview.
Installation
npm i payload-theme-studio1
Stars
0
Forks
0
Open Issues
1 months ago
Last Updated
0
Weekly Downloads
v
npm Version
Dependencies
1+1 since Nov 1
| Date | Stars |
|---|---|
| Dec 6, 2026 | 1 |
| Dec 5, 2026 | 1 |
| Dec 4, 2026 | 1 |
| Dec 3, 2026 | 1 |
| Dec 2, 2026 | 1 |
| Dec 1, 2026 | 1 |
| Nov 30, 2026 | 1 |
| Nov 29, 2026 | 1 |
| Nov 28, 2026 | 1 |
| Nov 27, 2026 | 1 |
| Nov 26, 2026 | 1 |
| Nov 25, 2026 | 1 |
| Nov 24, 2026 | 1 |
| Nov 23, 2026 | 1 |
| Nov 22, 2026 | 1 |
| Nov 21, 2026 | 1 |
| Nov 20, 2026 | 1 |
| Nov 19, 2026 | 0 |
| Nov 18, 2026 | 0 |
| Nov 17, 2026 | 0 |
| Nov 16, 2026 | 0 |
| Nov 15, 2026 | 0 |
| Nov 14, 2026 | 0 |
| Nov 13, 2026 | 0 |
| Nov 12, 2026 | 0 |
| Nov 11, 2026 | 0 |
| Nov 10, 2026 | 0 |
| Nov 9, 2026 | 0 |
| Nov 8, 2026 | 0 |
| Nov 7, 2026 | 0 |
| Nov 6, 2026 | 0 |
| Nov 5, 2026 | 0 |
| Nov 4, 2026 | 0 |
| Nov 3, 2026 | 0 |
| Nov 2, 2026 | 0 |
| Nov 1, 2026 | 0 |
Trends appear after 7 days of data. Daily snapshots have not started yet.
Each point is npm's rolling 7-day download count.
Health Score
Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.
Badge for your README
[](https://payloaddirectory.dev/plugins/1442031010-root)<a href="https://payloaddirectory.dev/plugins/1442031010-root"><img src="https://payloaddirectory.dev/badge/1442031010-root.svg" alt="Payload Directory"></a>README
Give your system administrators complete control over the design of the Payload admin panel, without touching code.
A Theme Studio button appears in the admin header for administrators only. It opens a studio where every change previews live across the whole admin panel, and one click on Save applies it for every user.
!important.On install the plugin changes nothing. Every setting starts at "Payload default".
pnpm add payload-theme-studio
// payload.config.ts
import { payloadThemeStudio } from 'payload-theme-studio'
export default buildConfig({
// ...
plugins: [payloadThemeStudio()],
})
Then regenerate the import map:
pnpm payload generate:importmap
If your project uses database migrations, create one. The plugin adds one global, theme-studio, with a single JSON field:
pnpm payload migrate:create theme-studio
By default, a user is an administrator when user.role === 'admin' or user.roles includes 'admin'. Only administrators can see the button, open the studio, and read or save the theme through the API. Everyone else just sees the finished theme.
If your project marks administrators differently, pass your own check:
payloadThemeStudio({
isAdmin: ({ user }) => user?.email?.endsWith('@arevodigital.dk') ?? false,
})
| Option | Default | Description |
|---|---|---|
isAdmin | role/roles contains 'admin' | Who may use the studio |
studioPath | '/theme-studio' | Admin path of the studio |
globalSlug | 'theme-studio' | Slug of the global that stores the theme |
replaceGraphics | true | Use the uploaded logo and icon. Your own admin.components.graphics always take priority |
disabled | false | Stop applying the theme but keep the stored data and schema |
<style> tag on every admin page, including login. The theme is in place on first paint, with no flash.pnpm install
pnpm dev # dev app on http://localhost:3000 with a SQLite database
pnpm test:int # integration tests
The dev app seeds two users so you can try both sides of the access rule. Both use the password test:
| User | Role |
|---|---|
[email protected] | admin |
[email protected] | editor |
MIT © Arevo Digital
theme management
Theme presets, live preview and WCAG audit for editing site appearance from the Payload admin
73130/wk9v3
payload admin theme
shadcn-style admin theme for Payload configured from a global in the admin panel without rebuilds
5324/wk2v3
payload theme
shadcn-style redesign of the Payload admin with dashboard, command palette, dark mode and live theme customizer
751.8k/wk36v3
styles
Manage UnoCSS design sets, shortcuts and design tokens from the Payload admin to generate site and admin CSS
6033/wk37v3
theme
Admin UI theme for Payload v4 with three styles and four palettes in light and dark
74343/wk10v4
payload plugin color theory
Build site and admin themes from color harmonies with WCAG contrast checks and an Auto, Light and Dark switch
74134/wk0v3