Color Theory

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

Community 0 429/wk MIT v0.1.1

Installation

pnpm add @extantape/payload-plugin-color-theory

About

Color Theory builds site and admin themes from a few base colors. Pick one color and it derives a full palette from classic harmonies such as complementary, triadic and tetradic, calculated in a perceptual color space so the shades look evenly bright.

Each text and background pair is checked for WCAG AA contrast in light and dark modes, and colors that fall short are nudged in lightness only. The editor shows a live preview of a header, buttons, cards and alerts as you change colors. Visitors get an Auto, Light and Dark switch that remembers their choice.

Themes move as plain JSON with hex values, and starter presets are included. It can also restyle the Payload admin to match.

Package info

Package name
@extantape/payload-plugin-color-theory
Latest version
0.1.1
Unpacked size
87 kB
License
MIT
Weekly downloads
429
Last publish
Nov 15, 2026

More from ExtantApe

View profile

Birth month and year check at sign-up that flags minors by country and region

Linked accounts and role hats, with a second factor before switching to a sensitive role

Browses large nested document trees one level at a time with live counts

Stores DNA reference panels and reviewed sample results in Payload collections

Studbook numbers, kinship and inbreeding analysis for managed animal populations

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

Similar plugins

More in Admin

Records who created or updated documents and shows update history in the admin panel

Opens nested blocks and array rows in stacked panels with breadcrumb navigation

Click-to-edit overlays on the frontend that open the matching field in the admin

Inline editing on your live website for Payload content, with reviewed drafts

Appearance panel where each editor picks a style, palette and icons for the admin

Visual drag-and-drop page builder for Payload collections with live canvas editing