nook

Theme customizer

Choose a few things and see them on real pages. Nook builds the full palette, checks that text stays readable and gives you the CSS. No account needed.

Start from a preset

Customize

Nook builds a 50 to 950 scale from this color.

0.5rem
Style
Font
Density

Live preview

Dashboard

Here is what happened this month.

Revenue

$45,231

+20.1% from last month

Subscriptions

+2,350

+180 since last week

Sales

+12,234

+19% from last month

Active now

573

+201 in the last hour

Recent sales

You made 265 sales this month.

CustomerPlanAmount
OM
Olivia Martinolivia@example.com
Pro$1,999.00
JL
Jackson Leejackson@example.com
Team$39.00
IN
Isabella Nguyenisabella@example.com
Pro$299.00
WK
William Kimwill@example.com
Hobby$99.00

Export

npx nook-ui@latest add theme nk1_eyJiIjoiMjk1MmUzIiwiciI6MC41LCJmIjoiZ2Vpc3QiLCJkIjoiY29tcGFjdCIsInMiOiJzb2Z0IiwieSI6InNoYXJwIn0

Run it in a project that already ran nook init. It replaces the theme block in your CSS.

Contrast check (WCAG 2.1 AA)

All 30 pairs pass
We adjusted your color so text stays readable
  • Dark mode, brand: Brand color is not readable enough as a filled surface, using step 500.
PairModeRatioNeedsResult
Body textlight17.69:14.5:1Pass
Card textlight18.36:14.5:1Pass
Popover textlight18.36:14.5:1Pass
Primary button textlight18.36:14.5:1Pass
Brand surface textlight6.12:14.5:1Pass
Brand surface on pagelight5.90:13:1Pass
Brand surface on cardlight6.12:13:1Pass
Secondary button textlight13.41:14.5:1Pass
Muted text on pagelight5.28:14.5:1Pass
Muted text on mutedlight4.90:14.5:1Pass
Accent textlight13.82:14.5:1Pass
Destructive button textlight4.71:14.5:1Pass
Destructive icon and border on cardlight4.71:13:1Pass
Input borderlight3.04:13:1Pass
Focus ringlight3.63:13:1Pass
Body textdark18.01:14.5:1Pass
Card textdark16.58:14.5:1Pass
Popover textdark16.58:14.5:1Pass
Primary button textdark17.69:14.5:1Pass
Brand surface textdark4.87:14.5:1Pass
Brand surface on pagedark4.96:13:1Pass
Brand surface on carddark4.57:13:1Pass
Secondary button textdark13.41:14.5:1Pass
Muted text on pagedark8.15:14.5:1Pass
Muted text on muteddark6.53:14.5:1Pass
Accent textdark13.82:14.5:1Pass
Destructive button textdark4.54:14.5:1Pass
Destructive icon and border on carddark3.65:13:1Pass
Input borderdark3.27:13:1Pass
Focus ringdark8.05:13:1Pass

Generated palettes (OKLCH)

Brand

  • 50
  • 100
  • 200
  • 300
  • 400
  • 500
  • 600
  • 700
  • 800
  • 900
  • 950

Neutral

  • 50
  • 100
  • 200
  • 300
  • 400
  • 500
  • 600
  • 700
  • 800
  • 900
  • 950