A Payload site, ready to clone

Placeholder: layered waves in teal

A new theme no longer changes the site by itself

What changed

Until now, the first theme of a project’s theme package became the whole site’s theme as soon as the package was installed, without anyone choosing it. Now the site keeps template-site’s default theme: a package only adds its themes to Settings → Appearance, to each page’s theme select and to the variants visitors can switch on.

Choosing it

An editor picks a theme in Settings → Appearance, or a page picks its own. A project that wants its brand from the first deploy names it in project.config.ts with defaultTheme; Appearance’s choice still wins, and a name that doesn’t exist stops the app, listing the themes.

Existing sites

Nothing changes on screen after the upgrade: pnpm migrate writes the theme a site was showing into Settings → Appearance when nothing was chosen there. The Theming page under Features explains themes; the README section “Themes, modes and block styles” has the details.

project/project.config.ts
export default defineProjectConfig({
  defaultTheme: 'harbour',
  plugins: [acmeThemePlugin()],
})

Themes, in the demo

Themes, dark mode and block styles.

Open Theming