Style guide
About
This is the working style guide for stugoo.com: every token, component and pattern the site is made of, rendered from the same CSS as the real pages, so it can't drift out of date.
The look is "The Contact Sheet". One dark sheet, hairline rules, small mono labels and frames cropped from a single mark. Colour is used sparingly and always means something: each section has its own.
It's the old-fashioned kind of style guide, one page and no extra tooling, like the ones I made in agencies. More on that in Under the hood.
Tokens live in src/assets/sass/tokens/ and components in src/assets/sass/components/. The brand rules are in the stugoo-design skill, and the whole system is written down in DESIGN.md.
Colour
Dark only, and text is warm paper, never pure white. Each section keeps its own colour: Writing blue, Recipes pink, About and Say hello moss. Gold belongs to the mark and to sitewide touches (the favicon, the default text selection, diet markers, "Filed under"). Teal and red are for state and illustration, used sparingly.
Roles
--color-ink#f4f2ee--color-ink-bodyrgb(244 242 238 / 0.86)--color-ink-mutedrgb(244 242 238 / 0.7)--color-rulergb(244 242 238 / 0.16)--color-paper#10131a--color-surface#2b323b--color-primary#6bc4ff--color-primary-alt#ef4e7b--color-success#a6cf8b--color-warning#f8d158--color-danger#f6947a--color-focus-ring#6bc4ff
Paper and ink
--paper-50#f4f2ee--ink-0#ffffff--ink-50#f0f2f5--ink-100#dfe3e8--ink-300#9aa3ad--ink-500#6b7480--ink-700#2b323b--ink-800#1c222b--ink-900#10131a
Blue — writing
--blue-300#6bc4ff--blue-500#0077c8--blue-700#005a9b--blue-900#003a66
Pink — recipes
--pink-300#ef4e7b--pink-500#ea215a--pink-700#b8123e--pink-900#7d0a2a
Moss — about
--moss-300#a6cf8b--moss-500#5da24a--moss-700#3a6e2e
Gold and teal
--gold-300#f8d158--gold-500#f0b429--gold-700#b8790f--teal-300#7fc4c9--teal-500#2f8b95--teal-700#1c5960
Red
--red-50#fef1ec--red-100#fddcd0--red-300#f6947a--red-500#f05739--red-600#d8432a--red-700#b23320--red-900#5c1a10
Type
System fonts only: the system UI font for display and body (--font-display, --font-body) and the system monospace for labels (--font-mono).
Statement — the homepage line
Sheet title
Heading 1
Heading 2
Heading 3
Heading 4
Lead paragraph, bold at 18px.
Body copy at 16px on a 1.5 line height, with a link, a bold label and some inline code. Long reading, in posts and About, is 17px on 1.75 and stops at 36rem (about 74 characters).
git add -A
git commit -m "beer o'clock"
Eyebrow — mono label
Scale
--text-display-xlRecipes--text-display-lgRecipes--text-display-mdRecipes--text-heading-lgRecipes--text-heading-mdRecipes--text-heading-smRecipes--text-body-lgRecipes--text-body-mdRecipes--text-body-smRecipes--text-captionRecipesLine height
Every line height comes from this scale, never a one-off number.
--leading-tight
1.05Display titles, shown over two lines of text so the gap is visible.
--leading-snug
1.25Headings, shown over two lines of text so the gap is visible.
--leading-title
1.3List titles, which can wrap on phones, shown over two lines of text so the gap is visible.
--leading-cosy
1.4Short secondary text: subtitles, notes, shown over two lines of text so the gap is visible.
--leading-normal
1.5The default, code and specs, shown over two lines of text so the gap is visible.
--leading-relaxed
1.75Long reading: posts, About, recipe steps, shown over two lines of text so the gap is visible.
--leading-label
1.9Mono eyebrows; sets chip and nav height, shown over two lines of text so the gap is visible.
Spacing
A 4px base scale.
--space-1--space-2--space-3--space-4--space-5--space-6--space-8--space-10--space-12--space-16--space-20--space-24Layout
The widths every page is built from, shown to scale against the sheet. The side gutter is fluid, clamp(1rem, 3vw, 1.875rem), and the footer rule and pink bar are inset by it so their edges line up with the content.
Sheet
77.5remThe whole page: header, content, footer and barPost column
43.75remA post or About beside its aside; images and pull quotes fill itReading measure
36remBody text, about 74 characters a lineAside
12.5remFacts, topics and contents beside a postList label
3.5remThe "— A" or "— 2026" column in the Writing and Recipes listsBreakpoints
40rem
640pxLists put their label beside the rows, not above48rem
768pxPosts and About split into aside and column; pull quote marks hang60rem
960pxRecipes put ingredients and method side by side80rem
1280pxPull quotes float out past the columnShape and motion
Square by default: buttons, chips and boxes have no radius. The only curve is 6px, on images in posts and the outline on a heading you've jumped to. There are no shadows; hairlines and tone carry the depth. Motion is rare: quick and confident, and always off for anyone who has asked for less.
Border and radius
--border-width2px--radius-sm6px
Easing and timing
Hover a row to see its curve. The bounce is only for the mark.
--ease-outcubic-bezier(.16, 1, .3, 1)--ease-bouncecubic-bezier(.34, 1.56, .64, 1)--duration-fast120ms--duration-normal200msThe mark
Drawn once per page as <symbol id="stugoo-mark"> (src/_includes/mark.html). Anything that shows it is a <use> of that symbol, so there's one copy of the artwork however many crops a page has.
Crops
Every crop of the mark from the site drafts, by where it appeared. Each one is crop(frame) from macros/crop.njk: a <use> zoomed by its viewBox (lib/crops.js). Frames are quoted by number; the master negatives are also on the crop library.
Master negatives — 8a — 30 frames
-
01 S bowl, wide
220% / 18% 14% -
02 Drip crown
260% / 62% 12% -
03 Halftone blob
300% / 22% 58% -
04 O counter
340% / 86% 72% -
05 Bubble cluster
380% / 16% 64% -
06 G tail sweep
420% / 74% 30% -
07 Dot stem
460% / 58% 74% -
08 Halftone column
500% / 60% 10% -
09 S shoulder
540% / 12% 16% -
10 Stray bubbles
580% / 93% 92% -
11 Centre join
620% / 40% 46% -
12 Drip tips
660% / 70% 6% -
13 Blob edge
700% / 20% 62% -
14 Right bowl
740% / 84% 40% -
15 Underbelly
780% / 50% 88% -
16 Left overhang
820% / 8% 52% -
17 Stem and dots
880% / 64% 68% -
18 Far corner
940% / 96% 18% -
19 Inner curve
1000% / 34% 30% -
20 Bubble pair
1060% / 76% 84% -
21 Top hairline
1120% / 24% 8% -
22 O wall
1180% / 88% 58% -
23 Halftone grain
1240% / 46% 62% -
24 Bottom bubble
1300% / 14% 90% -
25 Drip root
1360% / 68% 22% -
26 Dead centre
1420% / 52% 50% -
27 Whole-ish
280% / 50% 50% -
28 Corner crown
360% / 90% 8% -
29 Far left blob
480% / 6% 74% -
30 Lower right
560% / 78% 96%
Landing sheet — 6a — 12 frames
-
01 Sheet cell 01
600% / 18% 30% -
02 Sheet cell 02
320% / 70% 58% -
03 Sheet cell 03
900% / 48% 12% -
04 Sheet cell 04
440% / 12% 78% -
05 Sheet cell 05
750% / 84% 34% -
06 Sheet cell 06
260% / 36% 8% -
07 Sheet cell 07
1100% / 26% 62% -
08 Sheet cell 08
550% / 80% 80% -
09 Sheet cell 09
380% / 8% 22% -
10 Sheet cell 10
850% / 62% 88% -
11 Sheet cell 11
400% / 30% 46% -
12 Sheet cell 12
680% / 92% 20%
Index plates — 4a — 4 frames
-
01 Plate — Writing
230% / 22% 38% -
02 Plate — Kitchen
340% / 72% 66% -
03 Plate — About
520% / 14% 74% -
04 Plate — Say hello
180% / 58% 18%
Single frames — 6c, 6d, 7a — 3 frames
-
01 Post plate, enlarged
520% / 32% 44% -
02 About cell, 2:1
340% / 36% 52% -
03 About frame, enlarged
400% / 64% 40%
Site chrome
The header, navigation, footer and pink bar are on every page, including this one. These are the pieces around them.
Labels and section links
.eyebrow is the mono label; .eyebrow--muted for secondary text. Each section has a colour, set with .sheet-link--writing, --kitchen, --about, --hello or --index (the "Stugoo" home link in the header).
Skip link
.skip-link: "Skip to content", the first thing a keyboard reaches on every page (in header.html). It stays off-screen until it's focused, then drops in at the top left and jumps to <main id="main">. Press Tab at the top of any page to see it.
Statement
.statement, with .statement__link plus a section colour. The homepage line.
Title block
.title-block: a page or post title with its meta line, closed by a hairline.
The enemy of done
Meta row
.sheet-meta: mono notes between hairlines, used under the crop library.
Say hello button
.hello-button: the one filled call to action.
Lists
The Writing and Recipes indexes, and the labels that file things.
Index list
.index > .index-group: a sticky mono label on the left, .index-rows on the right. Used for the recipes A–Z and writing by year. Writing rows show the day and month only, because the year is already the label, and can carry an .index-row__sub subtitle. Their titles wrap rather than pushing the date onto its own line; recipe rows put gold diet markers (.index-row__diet) before the course in .index-row__meta, with pink bullets between.
Recipe search
.kitchen-search. On the recipes page it only appears with JavaScript, and filters the list as you type.
Chips
.chips: square, hairline-bordered mono labels in a wrapping row. Used inside .filed-under, which closes every post and recipe: a gold rule and gold .filed-under__label, then the chips on the same line.
- Front end
- Design
- AI
Filed under
- Italian
- Beef
- Main
Recipes
What a recipe page is made of.
Tool buttons
.tool: small mono toggles. aria-pressed="true" fills them; .tool--cook fills moss. .recipe__jump ("Method ↓") only shows on narrow screens, where the method sits below the ingredients. Every tool button taps at 44px tall, from an invisible layer, whatever its visible size.
Ingredients
.ticks: checkboxes that strike through when ticked, no JavaScript needed. Amounts the units code recognises show in pink mono.
Ragu
Method steps
.steps: numbered rows on a shared baseline. In cook mode the numbers become checkboxes.
Notes
.recipe__notes: a moss rule and a muted note under the method.
Notes & thoughts
Better made the day before.
Posts
What a post is made of, beyond its Markdown.
Post pieces
From the top of a post: .post__facts (reading time and date), the TL;DR (.post__fold, a <details> collapsed by default) and the contents list (.post__contents), which marks the section you're reading with a dotted blue underline.
6 min read 08 Nov 2026
TL;DR
- The first point of the summary.
- The second point.
Figures
Images in posts take the whole column with a 6px radius. Anything that isn't Stu's own gets a right-aligned mono credit in a <figcaption>. They're served as AVIF and WebP at two sizes, made when the site builds. In a post, each image is a button: click it and the full-size copy opens in a <dialog> over a dimmed page, with a zoom cursor on hover and a mono Close label. Esc, a click anywhere or Close shuts it. It uses the browser's invoker commands, so there's no script. Click the photo below to try it.
Pull quotes
{% pullquote %}A line from the post{% endpullquote %} in a post. Marked up like a frame picked on a contact sheet: a Bar Pink grease pencil stroke under each line, pink quote marks, no rules. Across the column on phones; on screens 80rem and wider it floats out past the column and the text wraps round it. Lines under 40 characters set bigger. Hidden from screen readers, since it repeats the text.
The paragraph before the quote, setting things up.
The paragraph after it. On a wide screen this text wraps round the quote while it pokes out into the margin, like a magazine. On a phone the quote sits across the column instead.
Another paragraph, so there's enough text to wrap.
The paragraph before a short quote.
A short line gets the bigger size, and wraps the same way: the paragraphs after it run beside it on a wide screen.
One more paragraph to run beside it, so the example shows the wrap rather than the quote hanging on its own.
And a last one, because a short quote set this big is tall.
Quotes
A plain <blockquote> (or Markdown >) gets the pink rule and a <footer> or <cite> attribution. .about__quote is the big version on About.
C.T.R.L is brimming with charm. It's an unexpected treat.
Life: Something to do between meals.
Markdown
How Markdown in posts comes out, using the post body's own classes (.post__body.l-stack).
A second-level heading
Body copy with a link, some bold and some italic. Paragraphs sit 8px apart; headings get more room above them than below.
A third-level heading
- An unordered list
- With a second item
- An ordered list
- With a second item
A Markdown quote, with its attribution on its own line.
Someone quotable