Slate Portal.
A late-2000s open-source portal at night, all glossy gel buttons and drawn star charts. A slate page that darkens as you scroll, with beveled gradient panels in a three-column portal grid and lowercase Ubuntu headings over hairline rules. Gel-blue glossy pill buttons do the work, and one gold moon marks what matters. The signature move is drawn star-chart art: dots on a navy sky joined by thin pale lines.
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 Slate Portal 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 Slate Portal style works
From the kit's DESIGN.md, the file your AI reads first. What is DESIGN.md?
A late-2000s free-software portal at night. The page is slate grey with a soft gradient that starts lit at the top and sinks into a dark floor as you scroll. Content sits in beveled gradient panels laid out like an old project portal: three columns of features, news and links, each with a lowercase rounded heading and a hairline rule under it. Buttons are glossy gel pills with a white shine across the top. The signature picture is drawn star-chart art: dots on a navy sky joined by thin pale-blue lines, with one gold "moon" dot that marks the thing that matters. It feels nostalgic, a little dreamy and quietly nerdy, like software made by volunteers who care.
Use it for: open-source and indie software, community projects and co-ops, hobby clubs and guilds, nonprofits that run on donations, astronomy, outdoor and night-time hobbies, crafts and maker communities, download pages, release notes and changelogs. Avoid it for: luxury and fashion, fintech and banking, kids' products that need bright daytime colour, anything that must feel cutting-edge or minimal, dense dashboards.
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 Slate Portal 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.
Put class="sl" on <body>. demo.html is a complete landing page built only with the kit. pricing.html, blog.html and signup.html show the same product, Purlwise (a free, open-source knitting pattern library and row counter), on other page types.
Fonts
All free on Google Fonts:
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&family=PT+Sans:ital,wght@0,400;0,700;1,400&family=Ubuntu+Mono&display=swap" rel="stylesheet">
| Role | Font | Use |
|---|---|---|
| Headings | Ubuntu 400 (500 for h3 and labels) | Every heading, panel title, nav link, brand name and button. Headings are always lowercase, set with text-transform: lowercase. |
| Body | PT Sans 400 and 700 | Paragraphs, lists, captions, form hints. |
| Mono | Ubuntu Mono | Dates in news lists, counters, code, money in progress wells. |
Buttons are the only uppercase text: Ubuntu 500, 0.04em tracking.
Color
| Token | Hex | Role |
|---|---|---|
--sl-dusk |
#565C6C | Top of the page gradient, the lit band behind the nav |
--sl-slate |
#3A3E4B | Middle of the page |
--sl-night |
#22252E | Page floor, footer |
--sl-panel-top / --sl-panel-bottom |
#3F4452 / #2C2F3A | Panel gradient |
--sl-well |
#1B1D25 | Inputs, code, recessed stat wells |
--sl-sky-top / --sl-sky-bottom |
#121A33 / #3B3554 | Drawn sky art only |
--sl-snow |
#EEF0F5 | Headings, primary text, stars |
--sl-text |
#C7CBD6 | Body copy |
--sl-dim |
#8D93A2 | Captions, dates, metadata |
--sl-link |
#9CC6F2 | Links and chart lines |
--sl-gel |
#2F80D2 | Gel buttons, focus rings, selected states |
--sl-moon |
#F2C86A | The one warm note: list markers, the moon dot, badges, progress |
--sl-ink |
#10131A | Text on moon and on the light hero card |
Rules:
- Blue is for doing, gold is for noticing. Buttons and focus are gel blue; a highlighted star, a "new" chip or a list marker is gold.
- One moon per picture. In drawn sky art, exactly one dot is gold, with a faint halo.
- The page is never flat black. It always runs the slate gradient from --sl-page.
- The landing hero has one light card (pale grey gradient with ink text) next to the dark sky. That is the only light surface in the kit.
Type scale
| Token | Size | Use |
|---|---|---|
--sl-text-hero |
clamp(38px, 5.4vw, 66px) | Landing hero headline |
--sl-text-h1 |
clamp(34px, 4.2vw, 52px) | Page titles, article titles |
--sl-text-h2 |
clamp(26px, 2.8vw, 34px) | Section heads, article h2 |
--sl-text-h3 |
21px | Plan names, card titles |
--sl-text-lead |
clamp(17px, 1.4vw, 19px) | Leads, max 36em |
--sl-text-body |
16px | Body (articles use 18px) |
--sl-text-small / --sl-text-micro |
14px / 12px | Captions, chips, hints |
Panel titles are 24px Ubuntu 400 with a 1px rule underneath.
Shape and space
- Radius: panels 8px, sky art 10px, chips 6px, inputs 5px, buttons are pills. Small and soft, never sharp, never bubbly.
- Bevel: every panel has a 1px white inset at its top edge (
--sl-shine) and a soft drop shadow. Inputs are recessed instead (--sl-shadow-well). - Gloss: gel buttons carry a white gradient across their top half (
.sl-btn::before). Ghost buttons get a fainter version. - Spacing runs on 4, 8, 12, 16, 24, 32, 48 and 72px. Sections are 72px apart, panels in a grid are 16px apart.
- Container 1120px. Article column 700px.
Components (in components.css)
.sl-topbar: thin strip above the nav for language or account links..sl-nav,.sl-brand(with.sl-brand-mark,.sl-brand-name,.sl-brand-sub),.sl-nav-links(aria-currentmarks the active page)..sl-badges/.sl-badge: the platform icon row, an icon tile over a bold name and a small second line. Use it on landing pages in place of nav links..sl-herowith.sl-hero-text(the light card) and.sl-hero-art(the sky)..sl-hero-captionand.sl-thumbssit along the bottom of the art..sl-portal(three columns) and.sl-portal--2: the portal grid. Stacks on phones..sl-panel,.sl-panel--well,.sl-panel-title.- Lists:
.sl-index(plus-in-circle link index),.sl-dots(gold dot features),.sl-news(title and mono date). .sl-btnwith--gel,--moon,--ghost,--sm,--block..sl-chip,.sl-chip--moon,.sl-stat.- Forms:
.sl-field,.sl-label,.sl-hint,.sl-input,.sl-select,.sl-check,.sl-choice(radio tiles). - Pricing:
.sl-plans,.sl-plan,.sl-plan--featured,.sl-plan-price,.sl-table,.sl-faq. - Article:
.sl-article(h2 with rule, blockquote with gold edge, pre),.sl-byline,.sl-avatar. .sl-footer,.sl-footer-grid,.sl-footer-base.
Pages in this kit
| File | Page |
|---|---|
demo.html |
Landing: badge row, split hero, three-column portal, stat wells, row counter, quotes, closing call |
pricing.html |
Support plans with a donation goal well, comparison table and FAQ |
blog.html |
Release notes article with sky chart figure, sidebar panels |
signup.html |
Account form beside a small sky strip |
Page recipe
- Topbar, then nav with the brand mark (a small sky tile with the moon) and either the badge row or nav links.
- A split hero: light text card on the left, sky art on the right with thumbnails and a caption along the bottom.
- A three-column portal of panels directly under it: what it does, what's new, how to join in.
- One feature band with a lowercase ruled h2 and a panel showing the product working.
- Small proof (stats in wells, quotes in panels), then a centred closing call with one gel button and one ghost button.
- Dark footer with four columns.
Pricing recipe: lowercase h1 beside a well showing a goal or a number, then three plan panels with the middle one featured (gel ring, moon chip), a comparison table in a panel, then an FAQ with plus markers.
Article recipe: kicker, lowercase h1, byline with a gold avatar; a sky figure at the top of the column; h2s carry a hairline rule; a sidebar of panels with .sl-news and .sl-index.
Sign-up recipe: a short pitch with a small sky strip and a dotted list on the left, the form in a single panel on the right. Radio choices are .sl-choice tiles. One full-width gel button.
Don'ts
- Don't capitalise headings. Lowercase is the look.
- Don't use flat buttons. Every button has the gloss.
- Don't put more than one gold dot in a drawn sky.
- Don't use photos where a drawn sky chart will do, and never use a flat black background.
- Don't use big radii, hard offset shadows or neon glows.
- Don't set body copy in Ubuntu or headings in PT Sans.
- 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
A hobby computer's manual on a slate blue screen, with pixel headlines and a striped CRT.
A midnight achievement screen, calm enough for grown-ups.
A late-night console on pure black, with cut-corner neon tabs and pixel skylines.
A pitch black page lit by one glowing neon title and a few pixel fireflies.