Skip to content

Identity Kit

Brand in. System out.

Start from a real Pimolu preset. Adjust the brand colour, corners and density, preview actual components, then export the result as CSS variables or JSON.

A source-workspace tool: it generates an override for your application and does not add a second theming API to the published packages. Read the theming guide before adopting a brand colour in production.

Your identity

A preset defines the material. The brand colour and dimensions below refine it.

Colour mode preview

#4f46e5 on white: 6.3:1. On black: 3.3:1. The best primary foreground is white and it passes AA for normal text. Verify every hover, focus and status state in your own interface.

Radius
Density

Live preview

Default

Invite your team

These are real Pimolu controls, not a mockup.

Usage this month

72%

Of the team has joined. The accent follows your brand colour.

Contrast is a shared responsibility

A brand accent can look right and still fail on hover or focus. Check the exported foreground against your surfaces.

Export your identity

Copy the generated override into your global CSS after @pimolu/web-styles/styles.css, and pass the same attributes to PimoluProvider. The CSS sets the brand variables on each colour theme, including the system preference; the JSON records the full selection.

identity.csscss
/* Pimolu Identity Kit: Default */
/* Load this file after @pimolu/web-styles/styles.css. */
[data-pimolu-theme="light"][data-pimolu-style],
[data-pimolu-theme="system"][data-pimolu-style] {
  --pimolu-primary: #4f46e5;
  --pimolu-primary-hover: #463eca;
  --pimolu-primary-foreground: #ffffff;
  --pimolu-focus-ring: #4f46e5;
}

[data-pimolu-theme="dark"][data-pimolu-style] {
  --pimolu-primary: #4f46e5;
  --pimolu-primary-hover: #645ce8;
  --pimolu-primary-foreground: #ffffff;
  --pimolu-focus-ring: #4f46e5;
}

@media (prefers-color-scheme: dark) {
  [data-pimolu-theme="system"][data-pimolu-style] {
    --pimolu-primary: #4f46e5;
    --pimolu-primary-hover: #645ce8;
    --pimolu-primary-foreground: #ffffff;
    --pimolu-focus-ring: #4f46e5;
  }
}