Margin Star.
One flat lemon page, one ink, and little stars in the margin for the good bits. The whole page is a flat lemon yellow printed in a single near-black ink, with no shadows, gradients or second color. Public Sans headings sit over lists of underlined links with faded dates, starred items hang a black star in the left margin, and the intro lives in a hairline box beside a halftone ink drawing. Inline values wear ink-wash chips, and the only emphasis is inverting a block to solid ink.
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 Margin Star 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 Margin Star style works
From the kit's DESIGN.md, the file your AI reads first. What is DESIGN.md?
A personal-homepage style with opinions. The whole page is one flat lemon yellow, and everything on it is printed in a single near-black ink: no second color, no shadows, no gradients. Content comes as lists of underlined links with faded dates under big bold headings, and the good ones get a small black star hanging out in the left margin. The intro sits in a hairline outlined box next to an ink drawing shaded with halftone dots, and real values inside sentences wear little chips tinted with a wash of ink. It reads like a person talking: blunt, a bit cheeky and very easy to scan.
Use it for: clubs and co-ops, workshops and classes, repair services, indie tools, personal sites, newsletters and anything with a list of dated things (sessions, posts, releases). Avoid it for: luxury and fashion, healthcare or finance that must feel sober, photo-led brands, anything that needs a second brand 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 Margin Star 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 built only with the kit, for an invented bike repair co-op called Freewheel.
Fonts
All free on Google Fonts:
<link href="https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,400;0,500;0,700;0,800;1,400&family=Fragment+Mono&display=swap" rel="stylesheet">
| Role | Font | Use |
|---|---|---|
| Headlines | Public Sans 800 | Page titles, year or month headings, prices. Tight tracking (-0.035em on the hero). |
| Body | Public Sans 400 and 500 | Paragraphs, links, nav, buttons, forms. |
| Mono | Fragment Mono 400 | Figure captions, code blocks, small technical values. |
Color
| Token | Hex | Role |
|---|---|---|
--ms-lemon |
#FCD92B | The page. Every page, top to bottom. |
--ms-lemon-deep |
#F0C814 | Table stripes, button hover |
--ms-lemon-pale |
#FDE879 | Input fill and the code block |
--ms-ink |
#15130B | Text, links, stars, rules, the ink button and the picked plan |
--ms-ink-soft |
#4A4214 | Leads and secondary copy |
--ms-faded |
#8A7A1C | Dates, inactive nav links, hints, the footer |
--ms-line |
#8F7F22 | Hairline boxes, dividers, input borders |
--ms-wash / --ms-wash-strong |
ink at 9% / 16% | Chip fill and chip hover |
Rules:
- Lemon is the page, always. Never put a white or gray section on it.
- There is one color of ink. Inverting a block (ink fill, lemon text) is the only emphasis, and only once per page: the primary button or the picked plan.
- Links are ink and always underlined, with a thin line that thickens on hover.
- Secondary things fade toward the lemon (--ms-faded) instead of getting smaller or gray.
Type scale
| Token | Size | Use |
|---|---|---|
--ms-text-hero |
clamp(36px, 6vw, 60px) | .ms-h1, 800, line-height 1.04 |
--ms-text-year |
clamp(28px, 3.4vw, 34px) | .ms-year, the heading over a dated list |
--ms-text-h2 |
24px | Section headings |
--ms-text-h3 |
19px | Card and plan titles |
--ms-text-lead |
19px | Paragraph under a title, --ms-ink-soft |
--ms-text-body |
17px | Body (18px in article prose), line-height 1.55 |
--ms-text-small / --ms-text-micro |
14px / 12px | Dates, meta, captions |
Headings are sentence case and short. Copy is first person, plain and slightly cheeky: "Fix your own bike. Not alone." One joke a section at most.
Shape and space
- Borders: 1px
--ms-linehairlines on boxes, steps, plans and inputs. A 2px ink rule under table heads. - Radius: 3px on chips and inputs, 4px on boxes and buttons. Nothing round, no pills.
- Shadows: none, ever. Depth comes from inverting to ink.
- Column: 640px for reading pages, 900px for pricing and forms. The stars hang 28px into the left margin (
.ms-hang) on wide screens. - Space: sections 56px apart, list items 14px apart, the footer 88px below the last thing.
- Drawings: ink line art at 2.2px stroke with halftone dot fills (an SVG
<pattern>of small circles), lemon cut-outs to show highlights. No photos. - Motion: none beyond underline thickness and a 1px button press.
Components (in components.css)
| Class | What it is |
|---|---|
.ms-body |
Put on <body>. Lemon page, ink text, underlined links. |
.ms-column, .ms-wide, .ms-section, .ms-rule |
Layout |
.ms-nav, __links, __end |
Plain text nav: current page underlined via aria-current, others faded |
.ms-logo, .ms-icon |
Small bold wordmark (a star plus the name) and faded line icons |
.ms-h1, .ms-year, .ms-h2, .ms-h3, .ms-lead, .ms-small, .ms-date, .ms-mono |
Type |
.ms-chip |
Inline ink-wash chip for links and real values inside sentences |
.ms-box |
Hairline outlined box |
.ms-hi, __art |
The intro: a drawing on the left, a .ms-box saying "Hi!" on the right |
.ms-list, li.is-star, __note |
List of underlined links with faded dates; is-star hangs a star in the margin |
.ms-hang |
Pulls a block left so the stars sit in the margin on wide screens |
.ms-btn, --ink, --sm, --block, .ms-actions |
Outline buttons; --ink is the filled one |
.ms-steps, .ms-step |
Three numbered hairline boxes |
.ms-figure |
Ink drawing with a mono caption ("fig. 1: ...") |
.ms-plans, .ms-plan, --pick, __name, __list, .ms-price |
Pricing; the picked plan inverts to ink |
.ms-table, .ms-table-wrap |
Hairline table with deeper lemon stripes |
.ms-faq |
<details> list with underlined questions |
.ms-meta, .ms-prose, .ms-quote, .ms-pre, .ms-footnotes, .ms-sup |
Article parts |
.ms-form, .ms-field, .ms-label, .ms-input, .ms-select, .ms-textarea, .ms-hint, .ms-check, .ms-options, .ms-option |
Forms; options are chips that invert when chosen |
.ms-footer, __row, __links |
Faded footer under a hairline |
Pages in this kit
demo.html: landing page. Nav, the "Hi!" box beside a halftone bell, a big two-line headline, two buttons, sessions listed under month headings with starred highlights, three numbered steps, a drawn bike figure, two short columns and a footer.pricing.html: title and lead, three plans with the middle one inverted to ink, a pay-what-you-can note box, a striped comparison table and a FAQ.blog.html: a how-to note with title, meta and chips, prose, a halftone diagram, a mono code block, a pull quote with an ink bar, a starred list and footnotes.signup.html: two columns, the pitch and a starred list on the left, a hairline boxed form on the right with chip options and one ink button.
Page recipe
.ms-navwith plain text links (current one underlined) and one small thing on the right: icons or the.ms-logo..ms-hiintro: a small halftone ink drawing and a.ms-boxthat starts with "Hi!" and has one or two.ms-chiplinks..ms-h1headline,.ms-lead,.ms-actionswith one--inkbutton and one outline button.- The heart of the page:
.ms-yearheadings, each over a.ms-list.ms-hangof underlined links with.ms-date. Star two or three items, not more. .ms-steps, a.ms-figure, short two-column notes..ms-footer.
Pricing: .ms-wide, .ms-h1 and .ms-lead, .ms-plans with the middle plan --pick, a .ms-box note, a .ms-table and a .ms-faq.
Article: .ms-column, .ms-h1, .ms-meta with date, author and chips, then .ms-prose with .ms-h2 sections, one .ms-figure, one .ms-pre, one .ms-quote, a starred .ms-list and .ms-footnotes.
Sign up: .ms-wide with two columns; left .ms-h1, .ms-lead and a starred .ms-list, right a .ms-box holding the .ms-form with .ms-options and one .ms-btn--ink.ms-btn--block. Show a short "You're in." state after submit.
Don'ts
- Don't add a second color. No blue links, no green success, no red errors: use ink and words.
- Don't use shadows, gradients, blur or rounded pills.
- Don't put white cards on the lemon. Boxes are outlines.
- Don't remove the underline from links in text.
- Don't star everything. Two or three stars per list, or they stop meaning anything.
- Don't use photos. Draw with ink lines and halftone dots.
- 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
The explorable explainer: a calm reading column, a cobalt masthead and dark figure stages you can drag and slide.
A friendly cream page with an outlined mascot that rolls into navy through layered waves.
A raw, typewriter-set index where every entry is a flat square of loud color.
An all-monospace manual with a numbered index down the side and square black tiles.