← ClaudeAtlas

samanticlab-design-systemslisted

Helper for samanticlab-design. Load when choosing or fixing type, colour, layout, spacing, or motion on a website — font pairing, palette, grid, section rhythm, scroll reveals, hover, page transitions, "make it feel like Framer". Recipes in plain CSS and small vanilla JS. Not for copy or pre-launch checks.
samvanrooyen2022-sys/samanticlab-design · ★ 0 · Web & Frontend · score 70
Install: claude install-skill samvanrooyen2022-sys/samanticlab-design
# Systems: type, colour, layout, motion Read `samanticlab-design` first; it holds every number and every ban. This file holds the methods and recipes. Nothing here overrides a decision already written in the project's `<project>-direction.md`. ## Type - **Choosing a face.** Start from the seven things in the gate, not from a font list. What lettering does this audience already read: the signage, the packaging, the paperwork, the tools? Find a face with that character. Write the reason in one sentence. Then check it against the stopped-looking list. - **Two faces, no more.** One display, one text. If one face does both jobs well, use one. Self-host both (`@font-face`, `woff2`, `font-display: swap`). Load only the weights used, usually two or three. - **Metric fallback.** Give each `@font-face` a system fallback with `size-adjust`, `ascent-override` and `descent-override` so the page does not jump when the real font arrives. - **Scale.** Display sizes with `clamp()`, for example `clamp(2.25rem, 1rem + 5vw, 5.5rem)`. Body stays at 1rem to 1.125rem. Between steps, 1.125 to 1.2 for product text, wider jumps for display. - **Display is not body.** Display type gets tight leading (0.95 to 1.1), tight tracking (down to the floor), `text-wrap: balance`, and a bounded width of about 20 characters. Body gets 1.5 to 1.75 leading and 65 to 75 characters. - **Light on dark.** Add a touch of line height, a touch of tracking, and one step of weight. Thin type on dark disappears. - **Numbe