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.
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.
| Customer | Plan | Amount |
|---|---|---|
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_eyJiIjoiMjk1MmUzIiwiciI6MC41LCJmIjoiZ2Vpc3QiLCJkIjoiY29tcGFjdCIsInMiOiJzb2Z0IiwieSI6InNoYXJwIn0Run 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 passWe adjusted your color so text stays readable
- Dark mode, brand: Brand color is not readable enough as a filled surface, using step 500.
| Pair | Mode | Ratio | Needs | Result |
|---|---|---|---|---|
| Body text | light | 17.69:1 | 4.5:1 | Pass |
| Card text | light | 18.36:1 | 4.5:1 | Pass |
| Popover text | light | 18.36:1 | 4.5:1 | Pass |
| Primary button text | light | 18.36:1 | 4.5:1 | Pass |
| Brand surface text | light | 6.12:1 | 4.5:1 | Pass |
| Brand surface on page | light | 5.90:1 | 3:1 | Pass |
| Brand surface on card | light | 6.12:1 | 3:1 | Pass |
| Secondary button text | light | 13.41:1 | 4.5:1 | Pass |
| Muted text on page | light | 5.28:1 | 4.5:1 | Pass |
| Muted text on muted | light | 4.90:1 | 4.5:1 | Pass |
| Accent text | light | 13.82:1 | 4.5:1 | Pass |
| Destructive button text | light | 4.71:1 | 4.5:1 | Pass |
| Destructive icon and border on card | light | 4.71:1 | 3:1 | Pass |
| Input border | light | 3.04:1 | 3:1 | Pass |
| Focus ring | light | 3.63:1 | 3:1 | Pass |
| Body text | dark | 18.01:1 | 4.5:1 | Pass |
| Card text | dark | 16.58:1 | 4.5:1 | Pass |
| Popover text | dark | 16.58:1 | 4.5:1 | Pass |
| Primary button text | dark | 17.69:1 | 4.5:1 | Pass |
| Brand surface text | dark | 4.87:1 | 4.5:1 | Pass |
| Brand surface on page | dark | 4.96:1 | 3:1 | Pass |
| Brand surface on card | dark | 4.57:1 | 3:1 | Pass |
| Secondary button text | dark | 13.41:1 | 4.5:1 | Pass |
| Muted text on page | dark | 8.15:1 | 4.5:1 | Pass |
| Muted text on muted | dark | 6.53:1 | 4.5:1 | Pass |
| Accent text | dark | 13.82:1 | 4.5:1 | Pass |
| Destructive button text | dark | 4.54:1 | 4.5:1 | Pass |
| Destructive icon and border on card | dark | 3.65:1 | 3:1 | Pass |
| Input border | dark | 3.27:1 | 3:1 | Pass |
| Focus ring | dark | 8.05:1 | 3:1 | Pass |
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