Lattice Sky.
A dreamy science-magazine style with drawn ultramarine skies and heavy serif headlines. White pages, a heavy bookish serif for headlines and small spaced geometric capitals for every label, each kicker underlined in ultramarine. The signature is the specimen sky: a full-bleed ultramarine nebula with a polar lattice, glowing nodes joined into a star and glass polyhedra in violet, cyan and magenta, followed by a figure credit and a hairline-divided sidebar.
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 Lattice Sky 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 Lattice Sky style works
From the kit's DESIGN.md, the file your AI reads first. What is DESIGN.md?
A dreamy, editorial style for places that explain big ideas. Pages are plain white, headlines are a heavy bookish serif, and every label is set in small, widely spaced geometric capitals with an ultramarine underline. The signature is the specimen sky: a full-bleed ultramarine nebula with a polar lattice drawn over it, glowing white nodes joined into a star, glass polyhedra in violet, cyan and magenta, and soft cloud banks melting in from the corners. Under the sky comes a right-aligned figure credit, an underlined topic kicker and a big serif headline, with a hairline-divided sidebar beside it. It reads like a science magazine that happens to sell something.
Use it for: online schools and courses, science and maths explainers, magazines and newsletters, museums, planetariums and cultural venues, research groups, music and arts education, memberships built around reading. Avoid it for: dashboards and dense admin apps, discount shops, kids' toys, anything that needs rounded friendly pills, photography-led brands.
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 Lattice Sky 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 a made-up online music theory school called Overtone.
Fonts
All free on Google Fonts:
<link href="https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;0,8..60,800;1,8..60,400&family=Jost:wght@400;500;600&display=swap" rel="stylesheet">
| Role | Font | Weight | Use |
|---|---|---|---|
| Headlines | Source Serif 4 | 800 | Hero and page titles, section titles, prices, the drop cap. Tight leading (1.08), slight negative tracking |
| Small titles | Source Serif 4 | 700 | Card titles, FAQ questions, sidebar links |
| Body and decks | Source Serif 4 | 400 and italic | Body copy, article prose; every dek (standfirst) is italic |
| Labels and UI | Jost | 400 to 600 | Nav, kickers, labels, buttons, form fields, credits, footer. Labels are uppercase with 0.2em tracking |
The page is serif by default. Jost carries anything that navigates or labels; it never sets a paragraph.
Color
| Token | Hex | Use |
|---|---|---|
--lk-page |
#FFFFFF | The page. Keep it pure white |
--lk-mist |
#F4F3FB | Alternate sections, notes, quiet panels |
--lk-haze |
#E7E5F7 | Rare deeper tint |
--lk-ink |
#14122A | Headlines, strong rules, ghost buttons |
--lk-ink-2 |
#2B2845 | Body text |
--lk-soft |
#5F5B78 | Decks, labels, meta, captions |
--lk-ultra |
#3D33C4 | Kicker underlines, primary buttons, links, drop caps, ticks |
--lk-ultra-deep |
#2A2192 | Button hover |
--lk-magenta |
#C03FB6 | The glint: one badge, one kicker or the pull-quote rule. Once per screen |
--lk-sky-night |
#1D1A5C | Edge of the sky, the footer, night sections |
--lk-line, --lk-line-strong |
#E2E0EE, #C6C2DC | Hairlines and field borders |
The sky tokens (--lk-sky-night, --lk-sky-deep, --lk-sky-mid, --lk-sky-glow, --lk-sky-cloud) build --lk-sky-gradient, a radial glow that is brightest behind the drawing. The glass tokens (--lk-glass-a violet, --lk-glass-b magenta, --lk-glass-c cyan) only fill polyhedra facets and avatars. Never use them for text or buttons.
Type scale
| Class | Size | Notes |
|---|---|---|
lk-hero-title |
clamp(38px, 5.4vw, 72px) | Serif 800, max 15ch, under the sky |
lk-h1 |
clamp(34px, 4.4vw, 58px) | Page titles |
lk-h2 |
clamp(28px, 3.2vw, 40px) | Section titles |
lk-h3 |
22px | Serif 700, card titles |
lk-dek |
clamp(18px, 1.6vw, 21px) | Serif italic, --lk-soft, max 640px |
| Body | 17px | Serif 400, line-height 1.6 |
lk-prose |
19px | Line-height 1.72, ultramarine drop cap |
lk-kicker, lk-label |
12px | Jost 500, uppercase, tracking 0.2em |
lk-credit |
11.5px | Jost, right-aligned under a sky, the publication name in serif italic |
Shape and space
- Nearly square: 2px radius on buttons, inputs, plans, skies and badges. Only avatars are round.
- Rules do the structure: 1px
--lk-linehairlines, a 1px ink rule on top of plans, figures and the FAQ, and a 2px ultramarine underline under every kicker. - Shadows are rare:
--lk-shadow-cardlifts only the featured plan and white panels. Polyhedra get a violet drop-shadow glow (lk-glass). - The main column and the sidebar (
lk-columns) are split by a vertical hairline, like a magazine page. On phones the sidebar drops below with a top hairline. - Sections are 72px tall in padding, grids have 48px between rows and 32px between columns.
Components (in components.css)
- Layout:
lk-container,lk-narrow,lk-section(--mist,--night),lk-columnswithlk-aside,lk-stack,lk-rule. - Labels:
lk-kicker(underlined,--glintfor magenta),lk-label,lk-credit,lk-meta. - Type:
lk-hero-title,lk-h1,lk-h2,lk-h3,lk-dek,lk-small,lk-quote. - Nav:
lk-header,lk-nav(add--on-skywhen it sits on a sky),lk-logo(caps wordmark, the second word lighter and ultramarine),lk-nav__links(after a vertical hairline),lk-nav__tools. - Buttons:
lk-btn(ultramarine),--ghost(ink outline),--light(white, for skies),--sm,--block;lk-linkis an uppercase text link with an arrow. - Specimen sky:
lk-skywith an inline SVGlk-sky__artinside (preserveAspectRatio slice),lk-sky__innerfor content above it,--short,--card(16:10 thumbnail),--panel(tall side panel).lk-glasson a polyhedron group,lk-orbitfor a slow rotating lattice. - Stories:
lk-grid(--2),lk-card,lk-row(thumbnail list),lk-panel(--mist),lk-figureswithlk-figure(auto-numbered "Fig. 1"). - Badges:
lk-badge,--glint,--outline. - Pricing:
lk-plans,lk-plan(--featured),lk-plan__price,lk-toggle,lk-table-wrap,lk-table,lk-tick,lk-faq. - Article:
lk-prose(drop cap, h2, blockquote with magenta rule, figure, figcaption),lk-note,lk-author,lk-avatar(--b). - Forms:
lk-form,lk-field,lk-input(--error),lk-select,lk-help(--error),lk-choiceswithlk-choice,lk-check,lk-steps,lk-legend. - Footer:
lk-band(newsletter row),lk-footer,lk-footer__grid,lk-footer__base.
Drawing a sky
Every sky is one inline SVG with a transparent background over --lk-sky-gradient:
- Polar lattice: two to four concentric circles and 6 to 24 spokes in
--lk-lattice, 1px. - A star polygon joining evenly spaced nodes (12 nodes stepping by 5 draws the circle of fifths), white at 55%.
- Nodes: a 4px white dot inside a 12px radial glow.
- One to seven glass polyhedra (cube, octahedron, tetrahedron, icosahedron) built from three or four facets filled with the glass gradients, edged in white at 50%, wrapped in
lk-glass. - Thirty to ninety small white stars at random.
Gradient ids must be unique on a page, so prefix them per sky. The clouds come from the lk-sky pseudo-elements; don't draw them.
Pages in this kit
demo.html: sky hero with the nav on it, credit, headline and dek beside a "this week" sidebar, three course cards, numbered figures, a quote beside a square sky, the newsletter band, the night footer.pricing.html: white header, headline next to a thumbnail sky, monthly or yearly toggle, three plans, compare table, FAQ.blog.html: shorter sky hero, credit, article with author row, drop cap, figure, pull quote, note, sticky sidebar.signup.html: a sticky sky panel on the left with a white serif headline, the form on the right.
Page recipe
- A sky (
lk-sky, 480 to 600px) withlk-nav--on-skyinside it, or a whitelk-headeron utility pages. lk-creditright-aligned straight under the sky.lk-columns: on the left anlk-kicker, the serif headline and an italiclk-dek, then one primary and one ghost button; on the right a sidebar of labelled serif links.- Alternate white and
lk-section--mistsections, each opening with a kicker and anlk-h2. - Close with the
lk-bandnewsletter row and the nightlk-footer.
Pricing recipe: white header, headline and dek beside a lk-sky--card, the toggle, lk-plans with the middle plan featured and a magenta "most chosen" badge, the compare table, then the FAQ beside its own heading.
Article recipe: sky, credit, kicker, lk-h1, italic dek, author and meta row between hairlines, lk-prose with a drop cap, a sky figure with a sans caption, one pull quote, one lk-note, and a sidebar of lk-row thumbnails plus a mist panel.
Sign-up recipe: two columns, the sky as a sticky panel with the wordmark and one serif line, the form with lk-steps, a kicker, lk-h1, fields, lk-choices and one block button.
Don'ts
- Don't round things. No pills, no 12px cards.
- Don't put text in the glass colors or set paragraphs in Jost.
- Don't use photographs in the sky; it is always drawn.
- Don't use magenta more than once per screen.
- Don't center long text. Only the sign-up panel and quotes break the left edge.
- Don't add a second sky on the same screen as the hero; use
--cardthumbnails lower down.
The reference
The site this style was studied from. The kit uses its own colors, content and code.