{"id":15691138,"url":"https://github.com/thgh/payload-plugin-body-classname","last_synced_at":"2025-10-31T09:36:33.522Z","repository":{"id":63108636,"uuid":"565308772","full_name":"thgh/payload-plugin-body-classname","owner":"thgh","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-09T13:33:38.000Z","size":331,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T01:17:05.233Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thgh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-13T01:10:05.000Z","updated_at":"2022-11-13T01:10:23.000Z","dependencies_parsed_at":"2024-10-23T23:06:52.219Z","dependency_job_id":"c75777d0-6d87-48d2-bed0-21274acf5094","html_url":"https://github.com/thgh/payload-plugin-body-classname","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"ed1bccde3a170234eac6ae252b693026492264fa"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thgh%2Fpayload-plugin-body-classname","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thgh%2Fpayload-plugin-body-classname/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thgh%2Fpayload-plugin-body-classname/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thgh%2Fpayload-plugin-body-classname/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thgh","download_url":"https://codeload.github.com/thgh/payload-plugin-body-classname/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246315043,"owners_count":20757613,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T18:20:23.547Z","updated_at":"2025-10-31T09:36:33.455Z","avatar_url":"https://github.com/thgh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Add the collection slug to the body classname in Payload CMS admin for easy styling\n\n\u003ca href=\"LICENSE\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/license-MIT-brightgreen.svg\" alt=\"Software License\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/thgh/payload-plugin-body-classname/issues\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/issues/thgh/payload-plugin-body-classname.svg\" alt=\"Issues\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://npmjs.org/package/payload-plugin-body-classname\"\u003e\n  \u003cimg src=\"https://img.shields.io/npm/v/payload-plugin-body-classname.svg?style=flat-squar\" alt=\"NPM\" /\u003e\n\u003c/a\u003e\n\n## Features\n\n- Adds the collection slug to the body on the List \u0026 Edit page\n\n## Installation\n\n```\nnpm install payload-plugin-body-classname\n# or\nyarn add payload-plugin-body-classname\n```\n\n## Usage\n\n```js\n// payload.config.ts\nimport { bodyClassname } from 'payload-plugin-body-classname'\n\nexport default buildConfig({\n  plugins: [bodyClassname],\n})\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Contributing\n\nContributions and feedback are very welcome.\n\nTo get it running:\n\n1. Clone the project.\n2. `npm install`\n3. `npm run build`\n\n## Credits\n\n- [Thomas Ghysels](https://github.com/thgh)\n- [All Contributors][link-contributors]\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n\n[link-contributors]: ../../contributors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthgh%2Fpayload-plugin-body-classname","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthgh%2Fpayload-plugin-body-classname","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthgh%2Fpayload-plugin-body-classname/lists"}