0.3.0 • Published 11 months ago

payload-plugin-body-classname v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Add the collection slug to the body classname in Payload CMS admin for easy styling

Features

  • Adds the collection slug to the body on the List & Edit page

Installation

npm install payload-plugin-body-classname
# or
yarn add payload-plugin-body-classname

Usage

// payload.config.ts
import { bodyClassname } from 'payload-plugin-body-classname'

export default buildConfig({
  plugins: [bodyClassname],
})

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Contributions and feedback are very welcome.

To get it running:

  1. Clone the project.
  2. npm install
  3. npm run build

Credits

License

The MIT License (MIT). Please see License File for more information.