Skip to content

Anti-AI-slop design skill for Claude Code, Cursor, and Codex.

CSS

Merge main: the Grid example, its refined copy and the lowercase display voice

Youssefef01199d7c4b
diff --cc site/index.html
index cf8528a,1094312..f9c37b7
--- a/site/index.html
+++ b/site/index.html
@@@ -54,13 -54,12 +54,13 @@@
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="stylesheet"
- href="https://fonts.googleapis.com/css2?family=Albert+Sans:wght@400;500;600;700;800&family=Anton&family=Archivo:wght@400;500;600;700;800&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,900;1,9..144,400;1,9..144,500&family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&family=Hanken+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=Inter+Tight:ital,wght@0,500;0,600;0,700;0,800;1,500;1,600;1,700&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400;1,6..72,500&family=Playfair+Display:ital,wght@1,400;1,500;1,600&family=Public+Sans:wght@400;500;600;700&family=Young+Serif&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap" />
+ href="https://fonts.googleapis.com/css2?family=Albert+Sans:wght@400;500;600;700;800&family=Anton&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,900;1,9..144,400;1,9..144,500&family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&family=Hanken+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=Inter+Tight:ital,wght@0,500;0,600;0,700;0,800;1,500;1,600;1,700&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400;1,6..72,500&family=Playfair+Display:ital,wght@1,400;1,500;1,600&family=Public+Sans:wght@400;500;600;700&family=Young+Serif&family=Space+Grotesk:wght@400;500;600;700&family=Archivo:wght@400;500;600;700;800;900&family=Source+Serif+4:opsz,[email protected],400;8..60,600;8..60,700&family=IBM+Plex+Mono:wght@400;500;600&family=Silkscreen:wght@400;700&family=JetBrains+Mono:wght@400;500;600&family=Sora:wght@400;600;700&display=swap" />
+ <link rel="stylesheet" href="https://api.fontshare.com/v2/css?f[]=general-sans@500,600,700&f[]=sentient@400,500&display=swap" />
- <link rel="stylesheet" href="css/tokens.css?v=26" />
- <link rel="stylesheet" href="css/base.css?v=26" />
- <link rel="stylesheet" href="css/components.css?v=26" />
- <link rel="stylesheet" href="css/sections.css?v=26" />
- <link rel="stylesheet" href="css/tokens.css?v=24" />
- <link rel="stylesheet" href="css/base.css?v=24" />
- <link rel="stylesheet" href="css/components.css?v=24" />
- <link rel="stylesheet" href="css/sections.css?v=24" />
++ <link rel="stylesheet" href="css/tokens.css?v=27" />
++ <link rel="stylesheet" href="css/base.css?v=27" />
++ <link rel="stylesheet" href="css/components.css?v=27" />
++ <link rel="stylesheet" href="css/sections.css?v=27" />
<script>
// Load theme before paint to avoid flash. Order: ?theme= → localStorage → default.
@@@ -345,6 -341,13 +345,13 @@@
<p class="ex-card__prompt"><span class="ex-card__prompt-mark">$</span> /hallmark build an AI reasoning tool, Lumen</p>
</a>
- <a class="ex-card" style="--scroll-dur:3.3s" role="listitem" href="examples/grid-01/" target="_blank" rel="noopener" aria-label="Open the signal example, a Basel poster festival built in the Grid theme">
++ <a class="ex-card" style="--scroll-dur:3.3s" href="examples/grid-01/" target="_blank" rel="noopener" aria-label="Open the signal example, a Basel poster festival, Grid, in a new tab">
+ <div class="ex-card__thumb" aria-hidden="true">
- <img src="_tests/_thumbs/grid-01.jpg?v=24" alt="" loading="lazy" width="1600" height="1000" />
++ <img src="_tests/_thumbs/grid-01.jpg?v=26" alt="" loading="lazy" width="1600" height="1000" />
+ </div>
+ <p class="ex-card__prompt"><span class="ex-card__prompt-mark">$</span> /hallmark build a poster festival site, Grid</p>
+ </a>
+
</div>
</section>
@@@ -1111,7 -1134,7 +1118,7 @@@
</div>
</template>
- <script type="module" src="js/main.js?v=27"></script>
- <script type="module" src="js/main.js?v=24"></script>
++ <script type="module" src="js/main.js?v=28"></script>
</body>
</html>
diff --cc site/js/main.js
index 46b85f5,f52a3e9..070ea6e
--- a/site/js/main.js
+++ b/site/js/main.js
@@@ -555,12 -539,12 +555,12 @@@ const COPY =
letterBody: "The dev-tool register, executed with restraint: a cool near-white canvas, hairlines doing the structural work, one electric cobalt accent reserved for the signal — a live request, a 200, a focused field. Space Grotesk for headings, Inter for prose, JetBrains Mono for the code.",
signoff: "Ship it,",
captionA: "Cobalt",
- captionB: "v1.1",
+ captionB: "v1.2",
},
grid: {
- eyebrow: "SWISS INTERNATIONAL",
+ colophon: "Swiss international",
title: HERO_TITLE,
- lede: "The grid, made visible. A near-white sheet, exposed twelve-column hairlines, one signal red, and a heavy neo-grotesque set flush-left. Rational, exact, built for institutions that plan in decades.",
+ lede: "The grid, made visible. A near-white sheet, exposed twelve-column hairlines, a heavy neo-grotesque set flush-left, and one signal ink spent on geometry: a square, a bar, a plate, a numeral cropped by the band edge. Rational, exact, built for institutions that plan in decades.",
ctaLabel: "Method",
proofLabel: "System",
proofA: "Exposed 12-column hairline grid",
@@@ -569,57 -553,15 +569,57 @@@
cta: "Read the method",
stat: "12",
qualifier: "columns, exposed.",
+ mockStat: "12",
- quote: "Structure before surface. One grid, two weights, one red.",
+ quote: "Structure before surface. One grid, two weights, one ink.",
attrib: "Grid note",
salutation: "Schedule, then ship.",
- letterBody: "Swiss International, executed straight: the grid is not scaffolding you hide, it is the design. Content snaps to twelve columns, asymmetric spans make the rhythm, and a single red mark does all the emotional work.",
+ letterBody: "Swiss International, executed straight: the grid is not scaffolding you hide, it is the design. Content snaps to twelve columns, asymmetric spans make the rhythm, and a single signal ink does all the emotional work: marks, one flooded plate, a giant cropped numeral.",
signoff: "Flush left,",
captionA: "Grid",
- captionB: "v1.2",
+ captionB: "Twelve columns",
},
-
+ ledger: {
+ colophon: "Fintech terminal-lux",
+ title: HERO_TITLE,
+ lede: "The data is the marketing. A navy ground, a giant reconciled balance in tabular mono, a live transaction ledger, and one teal signal on the figures that moved. Dense, cool, precise, trustworthy.",
+ ctaLabel: "Open account",
+ proofLabel: "On the tape",
+ proofA: "Dark navy · tabular IBM Plex Mono",
+ proofB: "Teal only on positive figures + one CTA",
+ proofC: "The ledger itself is the hero",
+ cta: "See it reconcile",
+ stat: "1",
+ qualifier: "teal signal, on the numbers that moved.",
+ mockStat: "1",
+ quote: "Treasury for grown-ups. You wake up to a closed book, not a queue of exceptions.",
+ attrib: "Ledger note",
+ salutation: "Reconciled while you sleep.",
+ letterBody: "Fintech done as an instrument, not a brochure: a navy terminal ground, every figure set in tabular mono, the reconciled balance carried at display scale, and teal reserved for the one thing the eye should trust: the number that changed.",
+ signoff: "Balanced,",
+ captionA: "Ledger",
+ captionB: "v1.2",
+ },
+ arcade: {
+ colophon: "Free play · event 07",
+ title: HERO_TITLE,
+ lede: "Retro-system nostalgia, kept tasteful. A violet-black ground, a pixel display over a readable humanist body, a magenta and cyan duo, scanlines and a starfield. The retro comes from type and light, never from fake window chrome.",
+ ctaLabel: "Register",
+ proofLabel: "High scores",
+ proofA: "Violet-black · Silkscreen + Hanken Grotesk",
+ proofB: "Magenta + cyan accent duo",
+ proofC: "Scanlines + starfield, no fake OS chrome",
+ cta: "Insert coin",
+ stat: "2",
+ qualifier: "accent colours, magenta and cyan.",
+ mockStat: "2",
+ quote: "Pixels and scanlines carry the nostalgia. No drawn cabinets, no fake title bars.",
+ attrib: "Arcade note",
+ salutation: "Now accepting players.",
+ letterBody: "Retro without the costume: the signal is a pixel display, a low scanline wash, a faint starfield, and a magenta-plus-cyan duo on violet-black, with body copy in a readable sans so it stays legible. The re-drawn-chrome ban still holds.",
+ signoff: "Game on,",
+ captionA: "Arcade",
+ captionB: "v1.2",
+ },
};
/* — Slot population ———————————————————————————————————— */
@@@ -841,8 -783,7 +841,8 @@@ function applyTheme(theme)
try { localStorage.setItem(STORAGE_KEY, theme); } catch (e) { }
};
if (!reduced && document.startViewTransition) {
- document.startViewTransition(apply);
+ const vt = document.startViewTransition(apply);
- if (vt && vt.ready) vt.ready.catch(() => {});
++ for (const p of vt ? [vt.ready, vt.finished, vt.updateCallbackDone] : []) if (p) p.catch(() => {});
} else {
apply();
}