Swatch Tab.
A cozy hobby board after dark, where every card wears a bright tab and every picture is a grid of color tiles. Warm charcoal pages with flat graphite cards, each topped by a bright tab with an italic uppercase label. Chunky Rubik headlines, soft Nunito Sans body and butter yellow as the one action color. Grids of flat, gapless color tiles stand in for imagery, and buttons sit on a flat pressed edge.
Use it with Claude Code or Codex
Download the kit into your project, then paste this prompt. Fill in the last line. New to this? See how it works.
Build my page in the Swatch Tab style. Read DESIGN.md first and follow it exactly. Use the tokens in tokens.css and the classes in components.css; don't invent new colors, fonts, radii or shadows. The example pages (demo.html, pricing.html, blog.html, signup.html) show the style on landing, pricing, blog post, and sign up. My page: [describe what you're building, who it's for and the sections you need]
Colors
Click a hex to copy it.
Fonts
All free on Google Fonts.
How the Swatch Tab style works
From the kit's DESIGN.md, the file your AI reads first. What is DESIGN.md?
A cozy hobby board after dark. Warm charcoal pages, flat graphite cards that each wear a bright colored tab across the top with an italic uppercase label, and grids of flat color tiles as the main visual. Headlines are chunky and uppercase, the body face is soft and rounded, corners are small and nothing has a soft shadow: every edge is flat and every color looks like a swatch. It feels retro, playful and creative, with a little nerdy pride in the details.
Use it for: hobby and maker communities, planners and trackers, cooking and food apps, creative tools, clubs, kids and family products, anything where content comes in colorful chunks. Avoid it for: luxury, legal, healthcare or finance brands that need quiet authority, and image-heavy sites where photos should carry the color.
Read the full style guide: fonts, color, type scale, components and page recipes
How to use this file
Give this file, tokens.css and components.css to your AI coding tool and say:
Build [your page] in the Swatch Tab style. Follow DESIGN.md exactly. Use the tokens in tokens.css and the classes in components.css; don't invent new colors, fonts, radii or shadows.
demo.html (a landing page), pricing.html, blog.html and signup.html are complete example pages for Mealgrid, an invented weekly meal planner, built only with the kit.
Fonts
All free on Google Fonts:
<link href="https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,500;0,700;0,800;1,600;1,700&family=Nunito+Sans:opsz,[email protected],400;6..12,600;6..12,700&family=DM+Mono:wght@400;500&display=swap" rel="stylesheet">
| Role | Font | Use |
|---|---|---|
| Headlines | Rubik 800, uppercase | Hero, section headings, card titles, nav links, buttons (700, sentence case) |
| Tab labels | Rubik 600 italic, uppercase | Every card tab, eyebrows, table headers, footer headings |
| Body | Nunito Sans 400 to 700 | Paragraphs, leads, form text |
| Mono | DM Mono 400 | Dates, day names on boards, badges, meta lines |
Color
| Token | Hex | Role |
|---|---|---|
--st-page |
#2A2730 | The page background, warm charcoal |
--st-deep |
#1F1D24 | Top strip, deep sections, inputs, footer, the pressed edge under buttons |
--st-card |
#37333D | Every card body |
--st-card-hi |
#433F4A | Secondary buttons, empty tiles, menu button |
--st-bar |
#26304F | The navy announcement bar, nowhere else |
--st-text |
#F3F0F5 | Headlines and strong text |
--st-soft |
#C3BDC9 | Body and leads |
--st-dim |
#8F889A | Meta, inactive nav, captions |
--st-butter |
#F7C13E | The action color: primary buttons, one highlighted word, focus, featured plan |
--st-tangerine |
#E9772C | Tab color |
--st-cobalt |
#4D68E6 | Tab color |
--st-leaf |
#7BB03A | Tab color, checks and bullets in lists |
--st-berry |
#D8417A | Tab color, quote edge, errors |
--st-teal |
#1F8FA8 | Tab color |
--st-brick, --st-plum, --st-cream, --st-sky, --st-moss, --st-rose |
Extra swatches, used only inside tile grids | |
--st-ink |
#1C1A20 | Text on butter, leaf and light tiles |
Rules:
- The page stays charcoal. Color lives in tabs, tiles, buttons and small chips, never in big section backgrounds.
- One tab color per card. Neighboring cards use different tab colors, left to right: tangerine, butter, cobalt, leaf, then berry and teal.
- Butter is the one action color. Don't use it for a tab next to a butter button unless it's the featured card.
- Dark text (--st-ink) on butter, leaf and light tiles; light text on tangerine, cobalt, berry and teal.
- No gradients. No photos needed: the tiles are the imagery.
Type scale
| Token | Size | Use |
|---|---|---|
--st-text-hero |
clamp(40px, 6.4vw, 80px) | Hero headline, uppercase, line-height 1.02, one word in butter |
--st-text-h2 |
clamp(30px, 3.8vw, 46px) | Section headings, uppercase |
--st-text-h3 |
22px | Sub-headings |
--st-text-tab |
15px | Italic uppercase tab labels and eyebrows |
--st-text-lead |
19px | The sentence under a headline, soft gray, max 620px |
--st-text-body |
16px | Body |
Headlines are short and plain ("Plan the week in colors"). Uppercase comes from CSS, so write them in sentence case in the HTML.
Shape and space
- Radius: 6px on cards, 4px on buttons, inputs and badges, 0 on tiles. Tiles never have gaps or rounding inside a grid.
- Borders: 2px
--st-lineon inputs and social buttons only. Cards have no border; their tab is the edge. - Shadows: none, except the flat 4px pressed edge under buttons (
--st-press). Buttons drop 3px when clicked. - Bullets and checks are small flat squares, never dots or tick icons.
- Sections: 64px vertical padding. Container 1200px, article text 720px.
Components (in components.css)
| Class | What it is |
|---|---|
.st-topbar |
Deep strip with small Log in and Sign up buttons on the right |
.st-announce |
Navy bar with a butter label, one line and a small butter button |
.st-logo, __mark |
Uppercase wordmark next to a 3 by 3 tile mark |
.st-nav, __links, __menu |
Logo left, uppercase gray links, a square menu button on the right |
.st-hero-title, .st-h2, .st-h3, .st-hl |
Chunky uppercase headings; .st-hl turns a word butter |
.st-lead, .st-eyebrow, .st-mono |
Soft lead; italic butter eyebrow; mono text |
.st-btn--primary/secondary/ghost/social, --sm, --block, .st-btn__letter |
Flat buttons with a pressed edge; social buttons use a letter tile, never logos |
.st-card, __tab (--butter/cobalt/leaf/berry/teal), __body, __title, __text, __foot |
The signature tabbed card |
.st-cards, --3 |
Four or three column card rows |
.st-swatch, --square, __label |
A grid of flat color tiles; set columns with --cols |
.sw-* |
Swatch fills: sw-tangerine, sw-butter, sw-cobalt, sw-leaf, sw-berry, sw-teal, sw-brick, sw-plum, sw-cream, sw-sky, sw-moss, sw-rose, sw-deep, sw-card |
.st-strip, .st-row-head |
A row of five swatch grids under a heading with a "More" button |
.st-board, __days, __day, __cell |
The product visual: a seven day board of labeled tiles |
.st-badge, --butter/leaf, __chip |
Mono badges with an optional color square |
.st-steps |
Numbered steps with square butter, cobalt and leaf numbers |
.st-quote |
Card quote with a thick berry left edge |
.st-stats, .st-stat |
Big numbers over a thick colored top rule |
.st-toggle |
Monthly or yearly segmented control |
.st-plans, .st-plan, --featured, __price/__desc/__list |
Pricing cards with a tab and a swatch strip; the featured one has a butter outline |
.st-table-wrap, .st-table, .st-yes, .st-no |
Comparison table; yes is a leaf square |
.st-faq |
FAQ cards from <details> with a butter plus |
.st-article-head, .st-meta, .st-prose, .st-callout |
Article header, mono meta, long-form text and a tabbed tip box |
.st-author, .st-avatar |
Byline with a four tile avatar |
.st-form, .st-field, .st-label, .st-input, .st-select, .st-input-wrap, .st-input-toggle |
Form fields on deep inputs with a butter focus border |
.st-help, .st-error, .st-field--error |
Helper and error text; berry error border |
.st-check, .st-pick |
Square checkbox that fills leaf; a three option tile picker |
.st-divider-text |
"or with email" divider |
.st-footer, __cols, __strip, __bottom |
Deep footer with a 12 swatch strip above the legal line |
Pages in this kit
demo.html: landing page (top strip, announcement, hero with a week board, four tabbed cards, a strip of swatch grids, steps, quote and stats, a call to action card).pricing.html: three tabbed plans with a monthly or yearly toggle, a comparison table and an FAQ.blog.html: an article with a tile cover, prose, a tabbed tip, an author card and related posts.signup.html: a tabbed form card beside a board preview, a quote and steps.
Page recipe
- Deep top strip with two small secondary buttons on the right, then the navy announcement bar.
- Nav on charcoal: tile mark and wordmark, uppercase gray links, menu button.
- Hero in two columns: italic eyebrow, uppercase headline with one butter word, lead, a butter and a secondary button. On the right, a product visual built from tiles (a board, a palette, a grid).
- A row of four tabbed cards, each a different tab color. Two of them start with a swatch grid instead of text.
- A deep section with a heading, a "More" button and a strip of swatch grids.
- Steps, then a quote and stats, then a call to action inside a tabbed card.
- Deep footer with four columns and the swatch strip.
Pricing recipe: centered eyebrow, headline and toggle; three plan cards each with a tab and a seven tile strip; a comparison table; an FAQ in a deep section.
Article recipe: eyebrow as a breadcrumb, uppercase headline, lead and mono meta, all 720px wide; a wide tile cover; prose with uppercase h2s, italic butter h3s, square bullets and a cobalt-edged pull quote; a tabbed tip; an author card; three related cards in a deep section.
Sign-up recipe: a tabbed form card ("Step 1 of 2"), social buttons with letter tiles, a divider, fields, a tile picker, a square checkbox and a full-width butter button; beside it, a board preview, a quote and three steps.
Don'ts
- Don't round tiles or put gaps between them inside a grid.
- Don't add soft or blurred shadows, glows or gradients.
- Don't give a card two tab colors or a border.
- Don't use a pixel font for body text or long headlines; the retro feel comes from the tiles.
- Don't fill whole sections with bright color. Charcoal is the canvas.
- Don't use photos or brand logos as decoration.
- No em dashes in copy.
The reference
The site this style was studied from. The kit uses its own colors, content and code.
Similar styles
Cheeky and raw, like a command line that got a new haircut.
A shelf of homemade game cartridges glowing in a dark bedroom.
A chunky little-gadget style: a pewter stage, a yolk-yellow object and headlines that end in a full stop.
Cheeky cartoon panels and a scribbled pink word on a deep aubergine night.