Lone Line.
A quiet, focused tool where one line stays dark and everything else fades. Off-white air with a soft white glow, a clean grotesk paired with a monospaced reading face, and one bright cyan accent on pill buttons and a blinking caret. Tilted keycap chips float around a black-bezel device, and focus text dims every line except the one you're on.
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 Lone Line 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 Lone Line style works
From the kit's DESIGN.md, the file your AI reads first. What is DESIGN.md?
A quiet, focused tool that still feels hand-made. Soft off-white air with a faint white glow, near-black ink, a clean grotesk for headlines and a monospaced face for anything the product "says". One bright cyan accent fills pill buttons and the blinking text cursor. Two signature moves carry the whole style: tilted keycap chips that float around the page as if someone tipped out a box of toolbar buttons, and "focus text" where only the current line is dark and everything around it fades to light gray. The product sits inside a black-bezel device that rises out of the hero.
Use it for: focus and productivity apps, cooking, reading, writing or study tools, calm consumer apps, small indie software, anything that wants to feel crafted and distraction-free. Avoid it for: loud launches, dark nightlife or gaming brands, data-heavy dashboards, luxury fashion.
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 Lone Line 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 cooking app called Mise that shows a recipe one step at a time.
Fonts
All free on Google Fonts:
<link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700;800&family=Fragment+Mono:ital@0;1&display=swap" rel="stylesheet">
| Role | Font | Use |
|---|---|---|
| Headlines | Hanken Grotesk 700 to 800 | Hero, section headings, prices. Tight tracking. |
| Body | Hanken Grotesk 400 to 600 | Paragraphs, the sub line under the hero (500), nav, buttons, forms. |
| Mono | Fragment Mono 400 | Focus text, eyebrows (// like this), keycap labels, quotes, table values. |
Color
| Token | Hex | Role |
|---|---|---|
--ll-air |
#F5F5F4 | The page background |
--ll-paper |
#FFFFFF | Cards, panels, the device screen, every second section |
--ll-line |
#E1E1E3 | Borders and dividers |
--ll-ink |
#1C1C1E | Headlines, body, the focused line |
--ll-soft |
#6C6C72 | Secondary text, meta, card copy |
--ll-dim |
#C2C2C7 | The faded lines in focus text |
--ll-cap |
#E7E7E9 | Keycap chip faces (with --ll-cap-edge #B4B4B9 below) |
--ll-frame |
#161617 | The device bezel and the footer band |
--ll-cyan |
#14A6DB | The only accent: buttons, the caret, eyebrows, ticks, links |
--ll-red / --ll-yellow |
#E4493F / #F1C42E | Tiny color bars on chips only, never text |
Rules:
- Air is the default. Paper fills every second section. The footer is the only dark band.
- Cyan appears on the main button, the caret and small marks. Never a cyan section.
- Red and yellow are 16px bars inside chips, like the color swatches in a toolbar. Nothing else.
- The only gradient is the soft white glow behind the hero (--ll-glow) and the slight top-lit chip face.
Type scale
| Token | Size | Use |
|---|---|---|
--ll-text-hero |
clamp(44px, 6.4vw, 84px) | Hero title, 800, tracking -0.025em, line-height 1.02 |
--ll-text-sub |
clamp(21px, 2.4vw, 31px) | The sub line under the hero, 500, slightly open tracking |
--ll-text-h2 |
clamp(30px, 3.8vw, 48px) | Section headings, 700 |
--ll-text-h3 |
21px | Card and plan titles |
--ll-text-focus |
clamp(16px, 1.7vw, 21px) | Mono focus text, line-height 1.75 |
--ll-text-body |
17px | Body, line-height 1.6 |
Headlines are short and plain ("Everything else fades out"), sentence case, no period. The hero can be just the product name with a sub line under it.
Shape and space
- Buttons are always pills (
--ll-radius-pill), filled cyan or 2px cyan outline. Never square buttons. - Cards and panels: 22px radius, 1px line or the soft
--ll-shadow. Inputs and chips: 12px. - Keycap chips get
--ll-shadow-cap: a solid 5px darker edge below plus a soft drop shadow, so they look like physical keys. - The device: 12px black bezel, 22px top corners, no bottom border in a hero (it runs off the section),
--ll-shadow-device. - Sections: 72px to 136px vertical padding. Container 1040px, text column 680px.
- Motion: floating chips bob 8px over 6s; the caret blinks. Both stop with reduced motion.
Components (in components.css)
| Class | What it is |
|---|---|
.ll |
Put on <body>: air background, ink text, Hanken Grotesk, clips sideways overflow |
.ll-nav, .ll-nav__links, .ll-logo, .ll-logo__mark, .ll-burger |
Tiny wordmark with a cyan cursor bar, plain word links, a menu icon |
.ll-hero-title, .ll-sub, .ll-h2, .ll-h3, .ll-lead, .ll-eyebrow |
Type. Eyebrows are mono and cyan, written as // label |
.ll-btn, --ghost, --ink, --sm, --block, .ll-actions |
Pill buttons |
.ll-cap, __key, __sep, __bar (--yellow, --cyan), --dark |
Signature 1: keycap chips |
.ll-floats, .ll-float (--ll-tilt), --hide-sm |
Absolutely placed, tilted, bobbing chips. Set top and left/right per page |
.ll-stage, .ll-device, .ll-device__notch |
The glow background and the black-bezel device |
.ll-focus, .is-now, .ll-caret |
Signature 2: mono focus text with one dark span and a cyan caret |
.ll-grid, .ll-card, .ll-split, .ll-sheet |
Feature cards (a tilted chip on top), split rows, white sheets |
.ll-badge, --plain |
Small pill labels |
.ll-quote, .ll-quote-by |
Mono pull quote |
.ll-toggle, .ll-plans, .ll-plan, --featured, .ll-plan__price, .ll-table, .ll-faq |
Pricing |
.ll-meta, .ll-avatar, .ll-article, .ll-note |
Articles. Blockquotes are focus text: dim with one <strong> line in ink |
.ll-panel, .ll-field, .ll-label, .ll-input, .ll-hint, .ll-checkline, .ll-divider, .ll-ticks |
Forms |
.ll-footer and parts |
Dark footer band |
Pages in this kit
| File | Page |
|---|---|
demo.html |
Landing: centered title and sub, two pills, floating chips, the device with focus text, three cards, a split with stats, a mono quote, a closing CTA |
pricing.html |
Three plans with a monthly and yearly toggle, a comparison table and an FAQ |
blog.html |
A journal post with a framed device cover, focus-text blockquote and a cyan-edged note |
signup.html |
Promise and ticks on the left, a form panel with two chips on the right |
Page recipe
- Nav: wordmark left, three word links and a menu icon right.
- Hero on
.ll-stage, centered: title,.ll-sub, a filled pill and a ghost pill. - Five to seven
.ll-floatchips around the hero at different tilts (-30 to 36deg). Hide most below 720px, keep two or three. - The device rising from the bottom of the hero with one
.ll-focusparagraph: a dim sentence, then the.is-nowsentence and a caret. - A paper section with three cards, then an air split section, a mono quote, and a closing CTA on the glow.
- Dark footer.
Pricing recipe: glow header with an eyebrow, title, sub and .ll-toggle, a few floating chips, three plans with the middle one --featured and filled, then a paper section with the table and FAQ.
Article recipe: 680px column, mono eyebrow, big title, soft lead, meta with a keycap avatar, a full-bezel device as the cover with two chips on its edges, then .ll-article with one blockquote in focus style and one .ll-note.
Sign-up recipe: two columns that stack below 860px. Left: eyebrow, title, lead, .ll-ticks. Right: .ll-panel form with two chips on its corners, filled submit, .ll-divider, ghost alternative.
Don'ts
- Don't use square or slightly rounded buttons. Pills only.
- Don't color text red or yellow, and don't make cyan a background for a whole section.
- Don't put more than one
.is-nowspan in a focus paragraph. - Don't let chips cover headlines or buttons. They sit in the margins and overlap only the device edge.
- Don't add photos. Draw the product with the device, focus text and chips.
- Don't use em dashes in copy.
The reference
The site this style was studied from. The kit uses its own colors, content and code.
Similar styles
A friendly, tidy notebook with one hand-drawn underline.
A warm, bookish style: rounded peach-glow panels, a serif with one italic word and a highlighter swipe.
A crisp white workspace with heavy headlines, a highlighter pill and pen doodles in the margins.
The explorable explainer: a calm reading column, a cobalt masthead and dark figure stages you can drag and slide.