Atomic Styles

Manages site styling from the Payload admin with design sets, shortcuts and tokens

Community 37 4/wk MIT v0.5.0

Installation

pnpm add @pro-laico/styles

About

Atomic Styles lets you control the look of a Payload site from the admin panel. Editors write utility classes directly on blocks and fields, and the plugin turns them into a stylesheet for both the frontend and the admin.

A design set holds the full set of colors, sizes, breakpoints and animations for a site. Only one set is active at a time, so you can build alternative designs and switch between them without touching code. Shortcuts group frequently used class combinations under a single name, and design tokens keep reusable values in one place.

The stylesheet is generated and cached, so pages pick up changes after a save without a rebuild of the frontend.

Package info

Package name
@pro-laico/styles
Latest version
0.5.0
Unpacked size
239 kB
License
MIT
Weekly downloads
4
Last publish
Jun 27, 2026

More from pro-laico

View profile

Type-safe seed data for Payload with typed document references and inline uploads

Next.js cache revalidation that clears only the tags a Payload change touches

Uploads videos from Payload straight to Mux with signed or public playback

On-demand image resizing, focal crops and placeholders for Payload uploads

Icon library for Payload: SVG upload collection with cleanup and an inline icon component

Manages custom font files in Payload and serves them as subsetted WOFF2

Similar plugins

More in Fields

Builds site and admin themes from color harmonies, with contrast checks in light and dark

Pedigree fields, relatives and family-tree views for Payload collections

Color, icon, encrypted and unit-aware measurement fields for Payload admin

Adds theme presets, live preview and contrast checks to the Payload admin

Groups Payload fields inside a drawer that opens from a button or icon

Adds a barcode scan button to text fields in the Payload admin panel