Retents UI

Colors

The color palette and design tokens used throughout the design system.

All colors are defined as CSS custom properties using HSL values. They adapt automatically between light and dark themes. Click any swatch to copy its CSS variable.

Brand

Semantic

Surfaces

Utility

Chart

Sidebar

Brand palette

This is the source of truth for every Retents color, in any channel (site, product, decks, social). Brand → Cores explains when to use each one.

Orange

StepHexUse
50#fff4eeTinted backgrounds
100#ffe6d5
200#ffc9a8
300#ffa270Link hover on dark
400#ff6f2e
500#e7580fPrimary on dark (--primary in .dark)
600#c94208Primary on light (--primary in :root), CTA hover on dark
700#a23109CTA hover on light
800#82280f
900#6a2310

#e7580f fails WCAG AA on white (3.1:1): on light backgrounds always use #c94208 (4.6:1).

Neutrals

RoleDarkLight
Background#000000#ffffff
Surface (cards)#0a0a0a#f9f9f9
Elevated (menus, inputs)#111111#f3f3f3
Text#f9f9f9#0a0a0a
Body text#b3b3b3#404040
Supporting text#878787#6b6b6b
Border subtlergba(255,255,255,0.08)rgba(0,0,0,0.06)
Border defaultrgba(255,255,255,0.15)rgba(0,0,0,0.10)
Border strongrgba(255,255,255,0.25)rgba(0,0,0,0.18)

Borders are alpha over the background, never solid gray.

Status

RoleHex
Success#22c55e
Warning#f59e0b
Error#ef4444

Usage in Tailwind

The tokens map to Tailwind utility classes:

/* These CSS variables... */
--primary: 20.5 90.2% 48.2%;
--background: 20 14.3% 96.1%;

/* ...become Tailwind classes */
bg-primary        /* background-color: hsl(var(--primary)) */
text-foreground   /* color: hsl(var(--foreground)) */
border-border     /* border-color: hsl(var(--border)) */

Overriding colors

Do not override brand colors in Retents surfaces: change them here, in tokens.css, with a changeset, so every consumer stays in sync.

On this page