Chamfer Line.
A late-night console on pure black, with cut-corner neon tabs and pixel skylines. Pure black pages framed by pixel-drawn night skylines with amber windows, under a glowing old-style serif wordmark. Navigation is a row of outlined tabs with cut corners in signal blue, the current one burning red-orange, over centered serif titles, hairline mono data tables, amber bracket links and a small boxed poem in the footer.
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 Chamfer 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 Chamfer Line style works
From the kit's DESIGN.md, the file your AI reads first. What is DESIGN.md?
A late-night console on pure black. Every page is framed top and bottom by a pixel-drawn night skyline of navy blocks and scattered amber windows, with a big bookish serif wordmark glowing over the top one. Under it sits a row of outlined tabs with cut corners in signal blue; the tab for the current page burns red-orange. Content is centered and narrow, titles are set in a tall old-style serif, reading text in a quiet sans, and anything that is data (times, sizes, labels) in mono. Links are warm amber, footer links sit in square brackets, and a small boxed poem floats over the bottom skyline.
Use it for: transport and timetables, community and hobby projects, open-source tools and downloads, night venues and late services, radio shows, clubs with schedules and rosters, anything that wants to feel like a dependable machine run by people who care. Avoid it for: bright consumer brands, fashion, kids' products, wellness, luxury, anything that needs photos or a light page.
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 Chamfer 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 Nightjar Lines, a made-up all-night city bus network.
Fonts
All free on Google Fonts:
<link href="https://fonts.googleapis.com/css2?family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&family=Fira+Sans:ital,wght@0,400;0,500;0,600;1,400&family=Fira+Code:wght@400;500&display=swap" rel="stylesheet">
| Role | Font | Use |
|---|---|---|
| Display | Old Standard TT 400, italic 400 | The wordmark, every headline, plan names, big numbers, FAQ questions. Italic for quotes and the footer poem. Title Case. |
| Body | Fira Sans 400 to 600 | Paragraphs, leads, tabs, inputs. |
| Mono | Fira Code 400 to 500 | Labels, table heads, times, sizes, meta, bracket links, small chips. Labels are uppercase and tracked .08em. |
Color
| Token | Hex | Role |
|---|---|---|
--cl-void |
#040405 | The page. Pure black, everywhere |
--cl-panel |
#0b0c10 | Tables, panels, the alternate section |
--cl-panel-2 |
#12141b | Hover rows, inline code |
--cl-rule |
#1c1f28 | Hairlines between rows and sections |
--cl-rule-2 |
#2b2f3c | Panel edges, quiet tab edges, input borders |
--cl-paper |
#f3f0e9 | Headlines and key text |
--cl-text |
#bdbab2 | Body text |
--cl-dim |
#7c7b80 | Meta, labels, sizes |
--cl-signal |
#4a8dff | Tab outlines, line chips, label slashes, focus |
--cl-flare |
#ff5230 | The current tab, the primary button, the featured plan, drop caps |
--cl-amber |
#f2c25c | Links, brackets, times you can tap |
--cl-ok |
#59d18a | "Running" and "yes" only |
Scene colors (--cl-night-*, --cl-window*, --cl-ember) live only inside the pixel skylines.
Rules: - The page is black, never navy or grey. Navy only appears in the skylines. - Blue outlines things you can go to. Red-orange marks where you are and the one thing to do. Amber is for text links. Don't swap them. - One solid red-orange button per screen.
Type scale
| Token | Size | Use |
|---|---|---|
--cl-text-mast |
clamp(52px, 8.5vw, 104px) | The wordmark in the top skyline, with a soft glow |
--cl-text-h1 |
clamp(34px, 5vw, 56px) | Page titles, and the wordmark on inner pages |
--cl-text-h2 |
clamp(28px, 3.6vw, 40px) | Section headings |
--cl-text-h3 |
22px | Card titles |
--cl-text-lead |
18px | The sentence under a title |
--cl-text-body |
16px | Body |
--cl-text-small |
13px | Notes under tables, bracket links |
--cl-text-tiny |
11px | Mono labels and table heads |
Headlines are centered, Title Case and plain ("Built for the Small Hours"). Every section heading has a mono label above it that starts with a blue //.
Shape and space
- No rounded corners. Tabs, chips, avatars and panels have two cut corners (top left and bottom right) made with
clip-path:--cl-cut(9px) for tabs,--cl-cut-smfor small ones,--cl-cut-lg(16px) for panels. - Outlines are 1px. A cut-corner outline is a colored element with a
::beforefill inset by 1px, clipped to the same shape. - No drop shadows. The only shadows are glows: a soft red-orange glow on the current tab and the featured plan, a soft blue glow on focused inputs, and a faint glow behind the wordmark.
- Tables and dividers use hairlines (
--cl-rule), never thick borders. - Skylines are drawn in an 320 by 90 pixel grid with
shape-rendering: crispEdges, so every pixel stays square at any width. - Layout is centered: intro text and tables sit in 620px to 680px, cards in 1080px. Sections 72px tall padding, 48px when tight.
- Motion: the wordmark and intro rise 12px on load, a few stars and embers blink in steps, the "running" square pulses. All of it stops with reduced motion.
Components (in components.css)
| Class | What it is |
|---|---|
.cl-strip, __inner, __prefix |
Thin top bar: mono service status on the left, a bracket link on the right |
.cl-sky, --sm, --foot, __art, __shade, __content |
Pixel skyline frame. Put data-cl-sky="<seed>" on __art and the page script draws a skyline from that seed; add data-cl-bus for the little blue bus. __shade fades it into the page |
.cl-mast |
The glowing serif wordmark |
.cl-tabs, __inner, .cl-tab |
The tab row under the skyline. Mark the current page with aria-current="page" and it turns red-orange |
.cl-tab--flare/--solid/--quiet, --sm/--lg/--block, .cl-tab-row |
Tabs are also the buttons: --solid is the primary action, --quiet is a grey secondary |
.cl-segment |
Two small tabs used as a toggle; the active one carries aria-current |
.cl-h1, .cl-h2, .cl-h3, .cl-lead, .cl-small, .cl-label, .cl-mono |
Type helpers; .cl-label adds the blue // |
.cl-bracket, .cl-brackets |
[ Link ] in mono with amber brackets, and a centered row of them |
.cl-intro, .cl-head |
Centered page and section openers |
.cl-section, --tight, --rule, --panel |
Sections; --panel is the near-black alternate band with hairlines |
.cl-table-wrap, --wide, .cl-table, __key/__num/__yes/__no |
The hairline data table, for timetables, downloads and comparisons; scrolls sideways on phones |
.cl-chip, --flare/--amber/--ok |
Tiny solid cut-corner badge, for line numbers and tags |
.cl-live |
Green blinking square with mono text |
.cl-route, __line, .cl-stop, --now, __dot/__name/__time |
A dashed route line with square stops; the current one glows red-orange |
.cl-panel, --signal/--flare, .cl-cards, .cl-card, __icon |
Cut-corner panels with a 1px edge; cards carry a small pixel icon drawn in SVG |
.cl-stats, .cl-stat__num/__label |
Serif numbers with mono labels |
.cl-quote |
Centered italic serif quote with a bracketed amber byline |
.cl-poem, __mark, .cl-indent |
The small boxed poem over the footer skyline |
.cl-plans, .cl-plan, __tag/__name/__desc/__price/__amount/__per/__list |
Plan panels; the featured one is .cl-panel--flare with a chip tag and the solid tab |
.cl-faq |
<details> list with [+] that becomes a red-orange [-] |
.cl-prose, .cl-callout, .cl-figure |
Article body: red-orange serif drop cap, serif h2s, blue mono h3s, > bullets, a red-edged italic pull quote, amber inline code; a panel callout; a skyline figure with a bracketed caption |
.cl-meta, .cl-author, --card, .cl-avatar, --lg |
Slash-separated mono meta, author line with an amber cut-corner initial |
.cl-posts, .cl-post, __title |
Related posts with skyline thumbnails |
.cl-form, .cl-row, .cl-field, .cl-field-label, .cl-input, .cl-select |
Square black inputs with mono labels; focus gives a blue edge and glow |
.cl-input-wrap, .cl-input-toggle, .cl-help, .cl-error, .cl-field--error |
Password [show] toggle, helper and error text |
.cl-check |
Square blue checkbox that fills with a red-orange square |
.cl-divider-text, .cl-letter |
"or" divider; a letter tile for social buttons (no brand logos) |
.cl-footer, __links, __legal |
Bracket links, the bottom skyline with the poem, and a mono legal line |
.cl-rise, --2, --3, .cl-blink |
Entrance and stepped blink |
Pages in this kit
demo.html: landing page with the skyline and wordmark, the tab row, a centered title and lead, a timetable of six lines, a live route line, three panels with pixel icons, stats, a quote, two tab buttons and the footer.pricing.html: a short skyline, a Weekly / Monthly segment, three plans with the featured one in red-orange, a comparison table, FAQ and a closing button.blog.html: a notice with a centered title, author meta, a skyline cover with a bus, prose with a drop cap, a pull quote, a callout, a skyline figure, an author card and three related posts.signup.html: a centered form in a cut-corner panel with names, email, password with an error, a pass select, two checkboxes, the solid tab and two letter-tile social buttons.
Page recipe
.cl-strip, then a.cl-skywith.cl-mastin its content, then.cl-tabswith the current tab marked..cl-intro: one.cl-h1and a.cl-lead, centered.- Straight into the data: a
.cl-table-wrapwith the thing people came for (times, downloads, versions), and one or two.cl-smallnotes under it. - A
.cl-sectionwith a.cl-head(label, h2) and a visual piece such as.cl-route. - A
--panelsection with three.cl-cards and.cl-stats. - A quote and a
.cl-tab-rowwith a quiet tab and one solid tab, then.cl-footer.
Pricing page recipe
- Strip, a
.cl-sky--smwith the wordmark as.cl-h1, and the tabs. .cl-introwith a label, h1, lead and a.cl-segment. Keep both prices indata-weekanddata-monthand swap them on click..cl-planswith three panels; the middle one is.cl-panel--flare, has a chip tag and the only--solidtab. One.cl-smallline under them.- A comparison
.cl-table, a--panelsection with the FAQ, then a centered h2 with one solid tab.
Article page recipe
- Strip, short skyline, tabs, then a centered
.cl-narrowintro: label, h1, lead and.cl-authorwith.cl-meta. - A wide
.cl-figurewith a skyline and bracketed caption. .cl-narrow .cl-prose: short paragraphs, serif h2s, a list, one pull quote, one mono h3, one.cl-panel.cl-callout, one skyline figure, then.cl-panel.cl-author--card.- A section with three
.cl-posts, then the footer.
Sign-up page recipe
- Strip, short skyline (with the bus), tabs, and a centered
.cl-intro. - A 520px column holding one
.cl-panelwith.cl-form: names in a.cl-row, email, password with toggle, a select with help text, checkboxes, and a--solid --lg --blocktab. .cl-divider-text, two--quiettabs with.cl-lettertiles, and a.cl-smallsign-in line under the panel.
Don'ts
- Don't round corners or use pill buttons. Corners are square or cut.
- Don't use drop shadows, gradients on surfaces, or photos. The only gradient is the skyline's fade into black.
- Don't put more than one red-orange tab or button in a row, apart from the current tab.
- Don't left-align page titles; the layout is centered.
- Don't draw the skyline with smooth shapes or blur; keep it crisp pixels.
- Don't set data (times, sizes, prices per period) in the body font; it belongs in mono.
- Don't add a fourth accent color.
The reference
The site this style was studied from. The kit uses its own colors, content and code.
Similar styles
An all-monospace night where loose pixels pile up in the corners and one flat lime button does the talking.
A workshop control panel: gunmetal bevels, amber titles and green chevron buttons on a drawn factory floor.
A workshop newspaper printed on charcoal, loud masthead and all.
Cheeky and raw, like a command line that got a new haircut.