Installation
Add the package, add the plugin, regenerate the import map.
Install the package
Section titled “Install the package”bun add @payloadpack/themeWith another package manager, run npm install, pnpm add or yarn add instead.
Add the plugin
Section titled “Add the plugin”import { themePlugin } from '@payloadpack/theme'
export default buildConfig({ plugins: [themePlugin()]})List themePlugin() after any plugin that adds collections, so their checkbox columns get the theme’s list cell too.
Regenerate the import map
Section titled “Regenerate the import map”bunx payload generate:importmapRun it again after every upgrade of the theme.
Upgrading to 0.3
Section titled “Upgrading to 0.3”- The
AppearanceOptionscomponent is gone, so an old import map failsnext build. Regenerate it. - The
--payloadpack-sidebar-tabs-heighttoken is gone. Sidebar tabs now follow the field height.