Dusk Pane.
A lit screen held up against an evening sky: calm serif headlines and an assistant that asks first. An off-white page with a regular-weight transitional serif for headlines and a friendly grotesk for the rest. The signature is the dusk pane, a big rounded panel washed lilac to rose to peach with app windows floating inside it, one of them near-black where a coral spark marks the assistant asking a question with two pill answers. Buttons are near-black, chips are soft pills, and shadows are long and plum-tinted.
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 Dusk Pane 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 Dusk Pane style works
From the kit's DESIGN.md, the file your AI reads first. What is DESIGN.md?
Calm, dreamy and quietly futuristic. The page is a soft off-white. Headlines are set in a transitional serif at regular weight, big and unhurried; everything else is a friendly grotesk, with a small mono face only for status labels inside app windows. The signature visual is the dusk pane: a huge rounded panel washed lilac to rose to peach, with app windows floating inside it. One is light and lists what's happening; the other is near-black, with a coral spark that marks the assistant, a short question and two pill answers. It feels like a lit screen held up against an evening sky: calm, a little magic, and very much in control.
Use it for: assistants and companion apps, wellness and sleep, smart home, personal software, calm consumer subscriptions, anything where a product talks to you and asks before it acts. Avoid it for: hard-sell retail, sport and energy drinks, dense dashboards, kids' games, anything that needs loud color or heavy photography.
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 Dusk Pane 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 an invented product, Nightfern (a wind-down companion that dims the lights and softens the house before bed), built only with the kit.
Fonts
All free on Google Fonts:
<link href="https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,[email protected],400;8..60,500&family=Figtree:wght@400;500;600&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet">
| Role | Font | Use |
|---|---|---|
| Headlines | Source Serif 4 400 | Hero, section headings, prices, big numbers, quotes. Regular weight only, slight negative tracking. |
| Body | Figtree 400 to 600 | Paragraphs, nav, buttons, chips, cards, forms. 600 for card titles and form labels. |
| Labels | Geist Mono 400 | Tiny status lines and times inside app windows ("Listening softly", "21:40"). Never for headings or body. |
Color
| Token | Hex | Role |
|---|---|---|
--dp-page |
#FAF9F7 | The page. Soft off-white, never pure white |
--dp-paper |
#FFFFFF | Cards, light windows, inputs, plans |
--dp-mist |
#F1EFF3 | Chips, toggles, alternate sections, chart fills |
--dp-line |
#E4E1E6 | Every border and divider |
--dp-ink |
#17151C | Text and primary buttons |
--dp-soft |
#5C5866 | Leads and secondary text |
--dp-night |
#1B1A21 | The assistant window, the featured plan, the callout, the closing band |
--dp-moon |
#ECE8F6 | Text and the "yes" pill on night surfaces |
--dp-lilac, --dp-rose, --dp-peach |
#C9C3E6, #E9C3D3, #F3D4BE | The dusk wash (--dp-dusk) and small chip dots only |
--dp-ember |
#E2643F | The one accent: the spark, one live dot, one key number, the blockquote rule |
Rules:
- The dusk gradient lives only inside .dp-pane, the logo mark, avatars and card swatches. Never as a page background, never on text or buttons.
- Night surfaces are for the assistant and the one thing you want chosen. One per screen, two at most.
- Ember appears once or twice per screen. The spark always means "the assistant is speaking".
- Buttons are near-black (--primary) or white with a border (--outline). On night, use --moon. No colored buttons.
- No hard shadows. Only floating windows and the featured plan cast --dp-shadow-float, a long soft plum-tinted drop.
Type scale
| Token | Size | Use |
|---|---|---|
--dp-text-hero |
clamp(40px, 5.6vw, 72px) | Hero headline, left aligned, tracking -0.025em, line-height 1.06 |
--dp-text-h2 |
clamp(30px, 3.6vw, 46px) | Section headings, pricing and signup titles |
--dp-text-h3 |
20px | Card titles, Figtree 600 |
--dp-text-lead |
19px | The sentence under a headline, soft, max 640px |
--dp-text-body |
16px | Body; articles use 18px with line-height 1.72 |
--dp-text-micro |
12px | Mono status labels inside windows |
Headlines are short, gentle and plain ("Let your evening wind itself down"). Sentence case, no period on the hero.
Shape and space
- Radius: 10px buttons and inputs, 12px choices, 16px cards and windows, 32px dusk panes, pills on chips, badges and window answers.
- Borders: 1px
--dp-lineon cards, tables and the nav-less surfaces. Night surfaces have no border. - Sections: 72px to 128px vertical padding. Container 1280px, text 700px. Gutter 28px, 16px on phones.
- Windows sit at the bottom edge of the pane with only their top corners rounded, or float fully rounded (
--float) and overlap a neighbour by about 36px (--lift). - Motion: color and border fades only, 0.2s. Nothing bounces.
Components (in components.css)
.dpon<body>: base font, page background, clips sideways overflow..dp-logowith.dp-logo__mark(a small dusk tile with a night dot) and a lowercase wordmark..dp-nav: sticky, translucent page color, no border..dp-nav__linkscentered,.dp-nav__rightwith one small outline button..dp-btnwith--primary,--outline,--moon(on night),--lg,--sm,--block; an inline SVG icon inherits the text color..dp-textlinkis the quiet second action under a CTA..dp-herowith.dp-hero__grid: headline, lead and chips on the left;.dp-hero__cta(big button and a text link) on the right, aligned to the bottom. Stacks under 860px..dp-chipsand.dp-chip: soft pills with a 12px dot (i,i.is-rose,.is-peach,.is-ember,.is-night).--quietgreys one out..dp-pane: the dusk panel..dp-pane__stageis a two-column grid for a light window and a lifted night window.--shortfor panes that hold plans, a single window or a signup aside..dp-windowwith__bar(__dotsfor traffic dots, a title, a.dp-monotime),__body;--float(fully rounded),--night,--lift(overlaps its left neighbour).- Night window parts:
.dp-status(mono line with a leaf dot),.dp-msgwith__who(spark and name),__actions,.dp-msg__yes,.dp-msg__no,__note;.dp-ask(the input line). - Light window parts:
.dp-rowsand.dp-rowwith__time;svg.dp-wave(viewBox 0 0 100 40,preserveAspectRatio="none", onepathplus an optionalpath.is-fill);--moonon night. .dp-spark: the eight-point coral star. Put the symbol in a hidden sprite and<use href="#spark">..dp-eyebrow(small label, usually with a spark),.dp-cardwith__swatch(dusk) or__swatch--night,.dp-grid--2,.dp-grid--3..dp-stat__numand__cap;.dp-quotewith<cite>;.dp-badgeand--ember..dp-toggle: pill segmented control, the pressed button turns white.- Pricing:
.dp-plans,.dp-plan,--featured(night),__name,__pricewith<small>,__note,__list..dp-table-wrap,.dp-table..dp-faqwith<details>. - Article:
.dp-article(serif h2, ember-ruled serif blockquote,code),.dp-byline,.dp-avatar,.dp-callout(night, with spark). - Forms:
.dp-form,.dp-field,.dp-fieldset,.dp-legend,.dp-input,.dp-select,.dp-choicesand.dp-choice(radio cards, ink ring when checked),.dp-check,.dp-divider. .dp-footerwith__grid,h4,__base..dp-section,--mist,--night..dp-hide-smhides an element under 640px.
Pages in this kit
| File | Shows |
|---|---|
demo.html |
Split hero with chips, the dusk pane with a light "Tonight" window and a lifted night assistant window, three cards, a rooms window, quote and stats, a night closing band |
pricing.html |
Headline with a billing toggle, three plans sitting on a dusk pane (the middle one night), comparison table, FAQ |
blog.html |
Centered article header with byline, a dusk pane holding one night window, article body with blockquote and callout, three related cards |
signup.html |
Form on the left, a tall dusk pane aside on the right with the assistant's first message |
Page recipe
- Nav: logo left, three or four centered links, one small outline button right.
- Hero: serif headline and lead on the left, a chip row under them, the big black CTA with a text link on the right.
- The dusk pane, full container width, right under the hero: a light window telling what's happening, a night window where the assistant asks one question.
- Off-white section with three cards (two dusk swatches, one night swatch with a spark).
- A mist section pairing copy with a floating light window.
- A serif quote and three stats; one stat in ember.
- Night closing band with a moon button, then the footer.
Pricing recipe: headline left, toggle right; the plans sit inside a --short dusk pane with the featured plan in night; then a table and a FAQ on mist.
Article recipe: 700px column, badge and read time, serif headline, lead, byline; one dusk pane with a single night window as the "image"; body at 18px; one ember-ruled quote and one night callout; a primary button at the end.
Sign-up recipe: two columns, form left (eyebrow with spark, h2, lead, fields, radio cards, consent check, block primary button, divider, outline alternative); dusk pane aside right with the assistant greeting. Stacks under 900px.
Don'ts
- Don't put the dusk gradient behind text, on buttons or across a whole section.
- Don't bold the serif or set body copy in it.
- Don't use ember for buttons or large fills, and don't add a second accent.
- Don't use more than one night window per pane.
- Don't add photos or illustration styles; the windows are the imagery.
- Don't use hard or colored shadows, or borders on night surfaces.
- No em dashes in the copy.
The reference
The site this style was studied from. The kit uses its own colors, content and code.
Similar styles
A calm instrument at night: thin white line drawings, graphite devices and a fan of rays on pure black.
A calm violet haze over a white week board of ruled days and struck-through lines.
Soft-tech calm: knit-ribbed objects with a glowing ring on warm fog grey.
A storybook night sky with soft rose-lit clouds, a warm serif and one violet button.