Bold & expressive · Media
Magazine Bold design system template
Loud tabloid grotesque with a hot red accent: Anton headlines in caps, Archivo text, yellow highlighter and black rules. For pop culture, fashion weeklies and celebrity news.
- WCAG AA verified
- Light + dark
- Tokens = preview
- Anton
Personality. Magazine Bold is a newsstand cover shouting across the aisle. Anton sets every headline in condensed caps at up to 144px, packed at 0.95 leading; Archivo carries standfirsts and body at 17px; Space Mono tags every story with a serial and a time. Paper is bright `#fffdf6`, ink is pure `#0a0a0a`, and the accent is hot red `#e0002b` for bylines, kickers and the main action, backed by a highlighter yellow `#ffe500` used as a text-marker behind key words. Rules are thick (3px), corners are square, and buttons carry a hard offset shadow so they feel stuck on. Dark mode is the night edition: black paper with a pinker `#ff3b5c`.
Anton headlines in uppercase at up to 144px with 0.95 leading, often overlapping photos
Highlighter yellow secondary swipes behind two or three key words per headline
3px black rules and hard offset shadows (4px 4px) on buttons and cards
Hot-red kickers in mono caps (EXCLUSIVE / 09:41) above each story
Rotated -2 degree sticker badges on covers (NEW, LEAKED) in red with white type
Color. 21 roles, both modes.
background
#fffdf6
foreground
#0a0a0a
card
#ffffff
cardForeground
#0a0a0a
muted
#f0ecdc
mutedForeground
#55524a
primary
#e0002b
primaryForeground
#ffffff
secondary
#ffe500
secondaryForeground
#0a0a0a
accent
#ffe500
accentForeground
#0a0a0a
border
#0a0a0a
input
#0a0a0a
ring
#e0002b
destructive
#b30020
destructiveForeground
#ffffff
success
#0f7a3a
successForeground
#ffffff
warning
#ffb800
warningForeground
#0a0a0a
Type. Anton · Archivo · Space Mono
The file. Drop it in your repo.
1---2name: "Magazine Bold"3slug: "magazine-bold"4schema: "freedesignmd/v2"5description: "Loud tabloid grotesque with a hot red accent: Anton headlines in caps, Archivo text, yellow highlighter and black rules. For pop culture, fashion weeklies and celebrity news."6source: "https://freedesignmd.com/system/magazine-bold"7aesthetic: "expressive"8industry: "media"9default_mode: "light"10fonts:11 display: "Anton"12 body: "Archivo"13 mono: "Space Mono"14 google_fonts_url: "https://fonts.googleapis.com/css2?family=Anton&family=Archivo:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap"15colors:16 light:17 background: "#fffdf6"18 foreground: "#0a0a0a"19 card: "#ffffff"20 cardForeground: "#0a0a0a"21 muted: "#f0ecdc"22 mutedForeground: "#55524a"23 primary: "#e0002b"24 primaryForeground: "#ffffff"25 secondary: "#ffe500"26 secondaryForeground: "#0a0a0a"27 accent: "#ffe500"28 accentForeground: "#0a0a0a"29 border: "#0a0a0a"30 input: "#0a0a0a"31 ring: "#e0002b"32 destructive: "#b30020"33 destructiveForeground: "#ffffff"34 success: "#0f7a3a"35 successForeground: "#ffffff"36 warning: "#ffb800"37 warningForeground: "#0a0a0a"38 dark:39 background: "#0a0a0a"40 foreground: "#fffdf6"41 card: "#161616"42 cardForeground: "#fffdf6"43 muted: "#232323"44 mutedForeground: "#b4b1a6"45 primary: "#ff3b5c"46 primaryForeground: "#0a0a0a"47 secondary: "#ffe500"48 secondaryForeground: "#0a0a0a"49 accent: "#ffe500"50 accentForeground: "#0a0a0a"51 border: "#fffdf6"52 input: "#fffdf6"53 ring: "#ffe500"54 destructive: "#ff5a5a"55 destructiveForeground: "#0a0a0a"56 success: "#4ade80"57 successForeground: "#0a0a0a"58 warning: "#ffb800"59 warningForeground: "#0a0a0a"60chart:61 light: ["#e0002b", "#0a0a0a", "#ffb800", "#0f7a3a", "#2a4fd6"]62 dark: ["#ff3b5c", "#fffdf6", "#ffe500", "#4ade80", "#7aa2ff"]63type:64 display: { font: display, size: 144, size_mobile: 81, leading: 0.95, weight: 400, tracking: "-0.01em", uppercase: true }65 h1: { font: display, size: 80, size_mobile: 54, leading: 0.98, weight: 400, tracking: "0em", uppercase: true }66 h2: { font: display, size: 44, size_mobile: 35, leading: 1.02, weight: 400, tracking: "0.005em", uppercase: true }67 h3: { font: display, size: 26, size_mobile: 26, leading: 1.1, weight: 400, tracking: "0.01em", uppercase: true }68 body: { font: body, size: 17, size_mobile: 17, leading: 1.55, weight: 400, tracking: "0em" }69 small: { font: body, size: 14, size_mobile: 14, leading: 1.45, weight: 500, tracking: "0em" }70 label: { font: mono, size: 12, size_mobile: 12, leading: 1.2, weight: 700, tracking: "0.06em", uppercase: true }71 mono: { font: mono, size: 13, size_mobile: 13, leading: 1.5, weight: 400, tracking: "0em" }72spacing: [4, 8, 12, 16, 24, 32, 40, 56, 72, 96]73radius: { sm: "0", md: "0", lg: "0", xl: "0", full: "9999px" }74shadow:75 light:76 sm: "2px 2px 0 #0a0a0a"77 md: "4px 4px 0 #0a0a0a"78 lg: "8px 8px 0 #0a0a0a"79 dark:80 sm: "2px 2px 0 #ff3b5c"81 md: "4px 4px 0 #ff3b5c"82 lg: "8px 8px 0 #ff3b5c"83motion:84 duration_ms: { instant: 60, fast: 100, base: 160, slow: 280 }85 easing: { standard: "cubic-bezier(0.2, 0, 0, 1)", out: "cubic-bezier(0.1, 0.9, 0.2, 1)", in: "cubic-bezier(0.7, 0, 1, 1)" }86 reveal: { distance_px: 16, stagger_ms: 30 }87layout: { max_width: 1240, columns: 12, gutter: 20, section_y: 64, section_y_mobile: 40, measure: "60ch" }88---89 90# Magazine Bold, DESIGN.md91 92> Loud tabloid grotesque with a hot red accent: Anton headlines in caps, Archivo text, yellow highlighter and black rules. For pop culture, fashion weeklies and celebrity news.93 94## How to use this file95 961. Save this file as `DESIGN.md` in the project root and paste the `tokens.css` block (section 10) into your global stylesheet, or import `https://freedesignmd.com/system/magazine-bold.css`, which also contains every component class.972. **Claude Code:** add `Before any UI work, read @DESIGN.md and use only its tokens and component recipes.` to `CLAUDE.md`.983. **Cursor:** create `.cursor/rules/design.mdc` with `alwaysApply: true` and the line `Follow @DESIGN.md for every color, font, radius, shadow, spacing and duration.`994. **Lovable:** paste section 10 into `src/index.css` and add this file to Project Knowledge; ask for changes by role name (`primary`, `muted-foreground`), never by hex.1005. Default mode is **light**: dark mode is `class="dark"` on `<html>` (both modes are fully specified). Use semantic names only (`bg-primary`, `text-muted-foreground`, `.btn-primary`, `var(--radius-lg)`); if a value is not in this file, it does not belong in the UI.101 102## 1. Overview & personality103 104Magazine Bold is a newsstand cover shouting across the aisle. Anton sets every headline in condensed caps at up to 144px, packed at 0.95 leading; Archivo carries standfirsts and body at 17px; Space Mono tags every story with a serial and a time. Paper is bright `#fffdf6`, ink is pure `#0a0a0a`, and the accent is hot red `#e0002b` for bylines, kickers and the main action, backed by a highlighter yellow `#ffe500` used as a text-marker behind key words. Rules are thick (3px), corners are square, and buttons carry a hard offset shadow so they feel stuck on. Dark mode is the night edition: black paper with a pinker `#ff3b5c`.105 106**At a glance**107 108- Aesthetic: Bold & expressive · Industry: Media · Default mode: light109- Type: Anton (display) · Archivo (body) · Space Mono (mono)110- Brand color (`primary`): `#e0002b` light · `#ff3b5c` dark, on primary, text is `#ffffff` / `#0a0a0a`111- Corners: 0 / 0 / 0 / 0 · Container 1240px · Base motion 160ms112 113**Signature moves**114 115- Anton headlines in uppercase at up to 144px with 0.95 leading, often overlapping photos116- Highlighter yellow `secondary` swipes behind two or three key words per headline117- 3px black rules and hard offset shadows (4px 4px) on buttons and cards118- Hot-red kickers in mono caps (`EXCLUSIVE / 09:41`) above each story119- Rotated -2 degree sticker badges on covers (`NEW`, `LEAKED`) in red with white type120 121## 2. Color122 123Roles follow shadcn/ui naming, so `primary` is always the brand / main-action color and `foreground` is always body text. Every text pair below is WCAG AA (≥ 4.5:1) in both modes.124 125### Light mode (`:root`)126 127| Role | CSS variable | Value | Contrast | Usage |128|---|---|---|---|---|129| `background` | `--background` | `#fffdf6` | | Page canvas |130| `foreground` | `--foreground` | `#0a0a0a` | 19.45:1 on background | Body text and headings on background |131| `card` | `--card` | `#ffffff` | | Cards, panels, popovers |132| `cardForeground` | `--card-foreground` | `#0a0a0a` | 19.80:1 on card | Text on card |133| `muted` | `--muted` | `#f0ecdc` | | Subtle fills: table headers, code, skeletons |134| `mutedForeground` | `--muted-foreground` | `#55524a` | 6.59:1 on muted | Secondary text, captions, placeholders |135| `primary` | `--primary` | `#e0002b` | | Brand color: primary buttons, links, focus, active states |136| `primaryForeground` | `--primary-foreground` | `#ffffff` | 4.99:1 on primary | Text and icons on primary |137| `secondary` | `--secondary` | `#ffe500` | | Secondary buttons and quiet fills |138| `secondaryForeground` | `--secondary-foreground` | `#0a0a0a` | 15.52:1 on secondary | Text on secondary |139| `accent` | `--accent` | `#ffe500` | | Hover and selected backgrounds (rows, menu items, ghost buttons) |140| `accentForeground` | `--accent-foreground` | `#0a0a0a` | 15.52:1 on accent | Text on accent |141| `border` | `--border` | `#0a0a0a` | | Dividers and card outlines |142| `input` | `--input` | `#0a0a0a` | | Input borders |143| `ring` | `--ring` | `#e0002b` | | Focus ring |144| `destructive` | `--destructive` | `#b30020` | | Errors and destructive actions |145| `destructiveForeground` | `--destructive-foreground` | `#ffffff` | 7.15:1 on destructive | Text on destructive |146| `success` | `--success` | `#0f7a3a` | | Positive status |147| `successForeground` | `--success-foreground` | `#ffffff` | 5.43:1 on success | Text on success |148| `warning` | `--warning` | `#ffb800` | | Caution status |149| `warningForeground` | `--warning-foreground` | `#0a0a0a` | 11.42:1 on warning | Text on warning |150| `chart-1…5` | `--chart-1…5` | `#e0002b` `#0a0a0a` `#ffb800` `#0f7a3a` `#2a4fd6` | | Data series, in this order |151 152### Dark mode (`.dark`)153 154| Role | CSS variable | Value | Contrast | Usage |155|---|---|---|---|---|156| `background` | `--background` | `#0a0a0a` | | Page canvas |157| `foreground` | `--foreground` | `#fffdf6` | 19.45:1 on background | Body text and headings on background |158| `card` | `--card` | `#161616` | | Cards, panels, popovers |159| `cardForeground` | `--card-foreground` | `#fffdf6` | 17.78:1 on card | Text on card |160| `muted` | `--muted` | `#232323` | | Subtle fills: table headers, code, skeletons |161| `mutedForeground` | `--muted-foreground` | `#b4b1a6` | 7.32:1 on muted | Secondary text, captions, placeholders |162| `primary` | `--primary` | `#ff3b5c` | | Brand color: primary buttons, links, focus, active states |163| `primaryForeground` | `--primary-foreground` | `#0a0a0a` | 5.69:1 on primary | Text and icons on primary |164| `secondary` | `--secondary` | `#ffe500` | | Secondary buttons and quiet fills |165| `secondaryForeground` | `--secondary-foreground` | `#0a0a0a` | 15.52:1 on secondary | Text on secondary |166| `accent` | `--accent` | `#ffe500` | | Hover and selected backgrounds (rows, menu items, ghost buttons) |167| `accentForeground` | `--accent-foreground` | `#0a0a0a` | 15.52:1 on accent | Text on accent |168| `border` | `--border` | `#fffdf6` | | Dividers and card outlines |169| `input` | `--input` | `#fffdf6` | | Input borders |170| `ring` | `--ring` | `#ffe500` | | Focus ring |171| `destructive` | `--destructive` | `#ff5a5a` | | Errors and destructive actions |172| `destructiveForeground` | `--destructive-foreground` | `#0a0a0a` | 6.47:1 on destructive | Text on destructive |173| `success` | `--success` | `#4ade80` | | Positive status |174| `successForeground` | `--success-foreground` | `#0a0a0a` | 11.36:1 on success | Text on success |175| `warning` | `--warning` | `#ffb800` | | Caution status |176| `warningForeground` | `--warning-foreground` | `#0a0a0a` | 11.42:1 on warning | Text on warning |177| `chart-1…5` | `--chart-1…5` | `#ff3b5c` `#fffdf6` `#ffe500` `#4ade80` `#7aa2ff` | | Data series, in this order |178 179## 3. Typography180 181Load fonts with:182 183```html184<link rel="preconnect" href="https://fonts.googleapis.com" />185<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />186<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Anton&family=Archivo:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap" />187```188 189| Role | Font | Size (390px → 1440px) | Line height | Weight | Tracking | Style | Class |190|---|---|---|---|---|---|---|---|191| `display` | Anton | 81px → 144px | 0.95 | 400 | -0.01em | uppercase | `.type-display` |192| `h1` | Anton | 54px → 80px | 0.98 | 400 | 0em | uppercase | `.type-h1` |193| `h2` | Anton | 35px → 44px | 1.02 | 400 | 0.005em | uppercase | `.type-h2` |194| `h3` | Anton | 26px | 1.1 | 400 | 0.01em | uppercase | `.type-h3` |195| `body` | Archivo | 17px | 1.55 | 400 | 0em | – | `.type-body` |196| `small` | Archivo | 14px | 1.45 | 500 | 0em | – | `.type-small` |197| `label` | Space Mono | 12px | 1.2 | 700 | 0.06em | uppercase | `.type-label` |198| `mono` | Space Mono | 13px | 1.5 | 400 | 0em | – | `.type-mono` |199 200- `h1`–`h3` elements map to the roles of the same name; `display` is for one hero headline per page.201- Fluid sizes use `clamp()` between the two values (see `--type-*-size` in tokens.css).202- Only the weights in this table are loaded; never use other weights.203 204## 4. Spacing & layout205 206Spacing is a 4px scale. Use these steps only (`--space-N` = N × 4px):207 208| Token | `--space-1` | `--space-2` | `--space-3` | `--space-4` | `--space-6` | `--space-8` | `--space-10` | `--space-14` | `--space-18` | `--space-24` |209|---|---|---|---|---|---|---|---|---|---|---|210| px | 4 | 8 | 12 | 16 | 24 | 32 | 40 | 56 | 72 | 96 |211 212- Container: max 1240px, 20px side gutters (`.container`).213- Grid: 12 columns, 20px gap.214- Sections: 64px vertical padding on desktop, 40px on mobile (`.section`).215- Long text: max 60ch per line (`.prose`).216- Cover grid: one 8-column lead story with a 144px headline beside a 4-column stack of 3 teasers.217- Stories are separated by 3px black rules; sections by a 12px red bar.218- Tight rhythm: 64px between sections, 24px between teasers, no decorative air.219 220## 5. Shape & elevation221 222| Radius | Value | Use |223|---|---|---|224| `--radius-sm` | 0 | badges, checkboxes, small chips |225| `--radius-md` | 0 | buttons, inputs, tabs (= shadcn `--radius`) |226| `--radius-lg` | 0 | cards, panels, menus |227| `--radius-xl` | 0 | dialogs, hero media, large surfaces |228| `--radius-full` | 9999px | avatars, pills, toggles |229 230| Shadow | Mode | Value |231|---|---|---|232| `--shadow-sm` | light | `2px 2px 0 #0a0a0a` |233| `--shadow-md` | light | `4px 4px 0 #0a0a0a` |234| `--shadow-lg` | light | `8px 8px 0 #0a0a0a` |235| `--shadow-sm` | dark | `2px 2px 0 #ff3b5c` |236| `--shadow-md` | dark | `4px 4px 0 #ff3b5c` |237| `--shadow-lg` | dark | `8px 8px 0 #ff3b5c` |238 239`sm` = resting card · `md` = hover / raised · `lg` = dialogs and popovers. Nothing else casts a shadow.240 241## 6. Motion242 243**Slap.** Elements land with a fast 160ms ease-out and a 16px drop, while buttons physically press: on hover they shift 2px toward their offset shadow, on press they sit flat on it. Stickers snap in at -2 degrees. Everything is quick and a little aggressive.244 245| Token | Value | Use |246|---|---|---|247| `--duration-instant` | 60ms | press feedback, toggles |248| `--duration-fast` | 100ms | hover, focus, color changes |249| `--duration-base` | 160ms | menus, tabs, popovers, cards lifting |250| `--duration-slow` | 280ms | dialogs and scroll reveals |251| `--ease-standard` | `cubic-bezier(0.2, 0, 0, 1)` | state changes |252| `--ease-out` | `cubic-bezier(0.1, 0.9, 0.2, 1)` | entrances and reveals |253| `--ease-in` | `cubic-bezier(0.7, 0, 1, 1)` | exits |254 255- Scroll reveal (`.reveal` → `.reveal.is-in` via IntersectionObserver): rise 16px and fade over `--duration-slow` with `--ease-out`; siblings stagger by 30ms (`--reveal-index`).256- Use no durations other than the four above.257- `prefers-reduced-motion: reduce` → no transforms, reveals show immediately (included in tokens.css).258 259## 7. Components260 261Every component reads only variables from section 10, so light and dark mode work with no extra code. These are the exact rules (also in `https://freedesignmd.com/system/magazine-bold.css`). In React/shadcn projects, put the same declarations on the matching shadcn component variants.262 263### Button264 265```html266<button class="btn btn-primary">Save</button> <!-- btn-secondary · btn-outline · btn-ghost -->267```268 269```css270.btn {271 display: inline-flex;272 align-items: center;273 justify-content: center;274 gap: 8px;275 height: 48px;276 padding: 0 24px;277 font-family: var(--font-display);278 font-size: 18px;279 font-weight: 400;280 letter-spacing: 0.04em;281 text-transform: uppercase;282 border-radius: 0;283 border: 3px solid var(--foreground);284 white-space: nowrap;285 cursor: pointer;286 text-decoration: none;287 transition: background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);288}289.btn-primary {290 background: var(--primary);291 color: var(--primary-foreground);292 box-shadow: var(--shadow-md);293}294.btn-primary:hover:not(:disabled) {295 transform: translate(2px, 2px);296 box-shadow: var(--shadow-sm);297}298.btn-primary:active:not(:disabled) {299 transform: translate(4px, 4px);300 box-shadow: 0 0 0 transparent;301}302.btn-secondary {303 background: var(--secondary);304 color: var(--secondary-foreground);305 box-shadow: var(--shadow-md);306}307.btn-secondary:hover:not(:disabled) {308 transform: translate(2px, 2px);309 box-shadow: var(--shadow-sm);310}311.btn-secondary:active:not(:disabled) {312 transform: translate(4px, 4px);313 box-shadow: 0 0 0 transparent;314}315.btn-outline {316 background: var(--background);317 color: var(--foreground);318}319.btn-outline:hover:not(:disabled) {320 background: var(--foreground);321 color: var(--background);322}323.btn-outline:active:not(:disabled) {324 background: var(--foreground);325 color: var(--background);326 transform: translate(2px, 2px);327}328.btn-ghost {329 background: transparent;330 color: var(--foreground);331 border-color: transparent;332 text-decoration: underline;333 text-decoration-thickness: 3px;334 text-underline-offset: 4px;335}336.btn-ghost:hover:not(:disabled) {337 background: var(--accent);338 color: var(--accent-foreground);339}340.btn-ghost:active:not(:disabled) {341 background: var(--accent);342 color: var(--accent-foreground);343 transform: translate(2px, 2px);344}345.btn:focus-visible {346 outline: 3px solid var(--ring);347 outline-offset: 3px;348}349.btn:disabled, .btn[aria-disabled="true"] {350 opacity: 0.4;351 cursor: not-allowed;352 box-shadow: none;353}354```355 356### Input357 358```html359<input class="input" placeholder="you@company.com" /> <!-- aria-invalid="true" for errors -->360```361 362```css363.input {364 display: block;365 width: 100%;366 height: 48px;367 padding: 0 14px;368 font-family: var(--font-sans);369 font-size: 16px;370 color: var(--foreground);371 background: var(--card);372 border: 3px solid var(--input);373 border-radius: 0;374 outline: none;375 transition: border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard);376}377.input::placeholder {378 color: var(--muted-foreground);379 opacity: 1;380}381.input:hover:not(:disabled):not(:focus) {382 border-color: var(--primary);383}384.input:focus, .input:focus-visible {385 border-color: var(--ring);386 box-shadow: var(--shadow-md);387}388.input[aria-invalid="true"] {389 border-color: var(--destructive);390 box-shadow: 0 0 0 3px color-mix(in oklab, var(--destructive) 22%, transparent);391}392.input:disabled {393 opacity: 0.5;394 cursor: not-allowed;395 background: var(--muted);396}397```398 399### Card400 401```html402<article class="card">…</article> <!-- add card-interactive when the whole card is a link -->403```404 405```css406.card {407 background: var(--card);408 color: var(--card-foreground);409 border: 3px solid var(--border);410 border-radius: 0;411 box-shadow: var(--shadow-md);412 padding: 20px;413 transition: border-color var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out), background-color var(--duration-base) var(--ease-out);414}415.card-interactive:hover {416 transform: translate(2px, 2px);417 box-shadow: var(--shadow-sm);418}419```420 421### Badge422 423```html424<span class="badge badge-soft" data-tone="success">Paid</span> <!-- badge-solid · badge-outline; tones: primary (default) · success · warning · destructive -->425```426 427```css428.badge {429 --tone: var(--primary);430 --tone-foreground: var(--primary-foreground);431 display: inline-flex;432 align-items: center;433 gap: 6px;434 height: 24px;435 padding: 0 10px;436 border-radius: 0;437 font-family: var(--font-mono);438 font-size: 11px;439 font-weight: 700;440 letter-spacing: 0.06em;441 text-transform: uppercase;442 line-height: 1;443 white-space: nowrap;444}445.badge[data-tone="success"] {446 --tone: var(--success);447 --tone-foreground: var(--success-foreground);448}449.badge[data-tone="warning"] {450 --tone: var(--warning);451 --tone-foreground: var(--warning-foreground);452}453.badge[data-tone="destructive"] {454 --tone: var(--destructive);455 --tone-foreground: var(--destructive-foreground);456}457.badge-solid {458 background: var(--tone);459 color: var(--tone-foreground);460 border: 1px solid var(--tone);461}462.badge-soft {463 background: color-mix(in oklab, var(--tone) 24%, var(--card));464 color: var(--foreground);465 border: 1px solid color-mix(in oklab, var(--tone) 40%, transparent);466}467.badge-outline {468 background: transparent;469 color: var(--foreground);470 border: 1px solid var(--border);471}472```473 474### Navigation bar475 476```html477<nav class="nav"><a class="nav-link" aria-current="page">Home</a><a class="nav-link">Docs</a></nav>478```479 480```css481.nav {482 display: flex;483 align-items: center;484 gap: 4px;485 height: 64px;486 padding: 0 24px;487 background: var(--background);488 border-bottom: 3px solid var(--foreground);489}490.nav-link {491 padding: 6px 12px;492 border-radius: 0;493 font-family: var(--font-display);494 font-size: 20px;495 font-weight: 400;496 letter-spacing: 0.03em;497 text-transform: uppercase;498 color: var(--muted-foreground);499 text-decoration: none;500 transition: color var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);501}502.nav-link:hover {503 color: var(--primary-foreground);504 background: var(--primary);505}506.nav-link[aria-current="page"] {507 color: var(--background);508 background: var(--foreground);509}510```511 512### Tabs513 514```html515<div class="tabs" role="tablist"><button class="tab" role="tab" aria-selected="true">Overview</button>…</div>516```517 518```css519.tabs {520 display: flex;521 gap: 8px;522}523.tab {524 height: 44px;525 padding: 0 16px;526 border: 2px solid var(--foreground);527 border-radius: 0;528 background: var(--card);529 color: var(--foreground);530 cursor: pointer;531 font-family: var(--font-display);532 font-size: 18px;533 font-weight: 400;534 letter-spacing: 0.03em;535 text-transform: uppercase;536 transition: color var(--duration-base) var(--ease-standard), background-color var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard);537}538.tab:hover:not([aria-selected="true"]) {539 background: var(--accent);540 color: var(--accent-foreground);541}542.tab[aria-selected="true"] {543 background: var(--foreground);544 color: var(--background);545 box-shadow: 4px 4px 0 var(--primary);546}547```548 549### Table550 551```html552<table class="table"><thead><tr><th>…</th></tr></thead><tbody><tr><td>…</td></tr></tbody></table>553```554 555```css556.table {557 width: 100%;558 border-collapse: collapse;559 font-size: 15px;560 font-variant-numeric: tabular-nums;561}562.table th {563 text-align: left;564 height: 40px;565 padding: 0 16px;566 font-family: var(--font-mono);567 font-size: 12px;568 font-weight: 700;569 text-transform: uppercase;570 letter-spacing: 0.06em;571 background: var(--foreground);572 color: var(--background);573}574.table td {575 height: 48px;576 padding: 0 16px;577 border-bottom: 3px solid var(--border);578 color: var(--foreground);579 transition: background-color var(--duration-fast) var(--ease-standard);580}581.table tbody tr:hover td {582 background: var(--accent);583 color: var(--accent-foreground);584}585```586 587### Dialog / modal588 589```html590<div class="dialog-overlay"><div class="dialog" role="dialog" aria-modal="true">…</div></div>591```592 593```css594.dialog-overlay {595 position: fixed;596 inset: 0;597 background: rgba(10,10,10,0.7);598 display: grid;599 place-items: center;600 padding: 24px;601}602.dialog {603 width: min(540px, 100%);604 background: var(--card);605 color: var(--card-foreground);606 border: 4px solid var(--border);607 border-radius: 0;608 box-shadow: var(--shadow-lg);609 padding: 28px;610}611```612 613### Text link614 615```html616<a class="link" href="…">Read more</a>617```618 619```css620.link {621 color: var(--foreground);622 text-decoration: underline;623 text-decoration-color: var(--primary);624 text-decoration-thickness: 3px;625 text-underline-offset: 3px;626 transition: color var(--duration-fast) var(--ease-standard), text-decoration-color var(--duration-fast) var(--ease-standard);627}628.link:hover {629 background: var(--accent);630 color: var(--accent-foreground);631}632```633 634## 8. Imagery & iconography635 636**Imagery.** High-contrast flash photography, cropped tight and tilted slightly, with halftone or duotone treatments in red and black. Headlines overlap faces and edges on purpose. Cutout stars on flat yellow or red color blocks are encouraged; soft, airy stock photography is not.637 638**Icons.** Chunky 2.5px square-cap line icons at 24px in black, or solid glyphs in red inside a 3px black outline. Stickers (star bursts, arrows, `NEW` flashes) are drawn as flat polygons with a hard shadow.639 640## 9. Do / Don't641 642**Do**643 644- Set headlines in Anton uppercase and let them overlap imagery645- Highlight two or three key words per headline with a yellow `secondary` swipe646- Use 3px black rules and hard offset shadows for every container647- Tag each story with a red mono kicker and a timestamp648- Keep body copy at 17px Archivo; keep everything else loud649 650**Don't**651 652- Don't soften: no blur, no gradients, no rounded corners653- Don't use red for anything but kickers, stickers and the main action654- Don't set body or captions in Anton; its caps are for headlines only655- Don't use light-gray borders; rules are full black (or ivory in dark mode)656- Don't use more than one sticker per card657 658## 10. tokens.css659 660Drop-in, shadcn/ui-compatible. Works with Tailwind v4 as-is (the `@theme inline` block creates `bg-primary`, `text-muted-foreground`, `font-heading`, `text-display`, `rounded-ui-lg`, `shadow-ui-md`…). Plain CSS projects can ignore the `@theme` block.661 662```css663/* Magazine Bold, tokens.css664 * https://freedesignmd.com/system/magazine-bold665 * shadcn/ui-compatible variables. Light on :root, dark on .dark.666 * Default mode: light.667 */668@import url("https://fonts.googleapis.com/css2?family=Anton&family=Archivo:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap");669 670:root {671 --font-display: "Anton", Impact, 'Arial Narrow Bold', sans-serif;672 --font-sans: "Archivo", ui-sans-serif, system-ui, -apple-system, sans-serif;673 --font-mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;674 --type-display-size: clamp(81px, 57.60px + 6.000vw, 144px);675 --type-display-leading: 0.95;676 --type-display-weight: 400;677 --type-display-tracking: -0.01em;678 --type-h1-size: clamp(54px, 44.34px + 2.476vw, 80px);679 --type-h1-leading: 0.98;680 --type-h1-weight: 400;681 --type-h1-tracking: 0em;682 --type-h2-size: clamp(35px, 31.66px + 0.857vw, 44px);683 --type-h2-leading: 1.02;684 --type-h2-weight: 400;685 --type-h2-tracking: 0.005em;686 --type-h3-size: 26px;687 --type-h3-leading: 1.1;688 --type-h3-weight: 400;689 --type-h3-tracking: 0.01em;690 --type-body-size: 17px;691 --type-body-leading: 1.55;692 --type-body-weight: 400;693 --type-body-tracking: 0em;694 --type-small-size: 14px;695 --type-small-leading: 1.45;696 --type-small-weight: 500;697 --type-small-tracking: 0em;698 --type-label-size: 12px;699 --type-label-leading: 1.2;700 --type-label-weight: 700;701 --type-label-tracking: 0.06em;702 --type-mono-size: 13px;703 --type-mono-leading: 1.5;704 --type-mono-weight: 400;705 --type-mono-tracking: 0em;706 --space-1: 4px;707 --space-2: 8px;708 --space-3: 12px;709 --space-4: 16px;710 --space-6: 24px;711 --space-8: 32px;712 --space-10: 40px;713 --space-14: 56px;714 --space-18: 72px;715 --space-24: 96px;716 --radius: 0;717 --radius-sm: 0;718 --radius-md: 0;719 --radius-lg: 0;720 --radius-xl: 0;721 --radius-full: 9999px;722 --duration-instant: 60ms;723 --duration-fast: 100ms;724 --duration-base: 160ms;725 --duration-slow: 280ms;726 --ease-standard: cubic-bezier(0.2, 0, 0, 1);727 --ease-out: cubic-bezier(0.1, 0.9, 0.2, 1);728 --ease-in: cubic-bezier(0.7, 0, 1, 1);729 --reveal-distance: 16px;730 --reveal-stagger: 30ms;731 --container-max: 1240px;732 --gutter: 20px;733 --section-y: 64px;734 --section-y-mobile: 40px;735 --measure: 60ch;736 --background: #fffdf6;737 --foreground: #0a0a0a;738 --card: #ffffff;739 --card-foreground: #0a0a0a;740 --muted: #f0ecdc;741 --muted-foreground: #55524a;742 --primary: #e0002b;743 --primary-foreground: #ffffff;744 --secondary: #ffe500;745 --secondary-foreground: #0a0a0a;746 --accent: #ffe500;747 --accent-foreground: #0a0a0a;748 --border: #0a0a0a;749 --input: #0a0a0a;750 --ring: #e0002b;751 --destructive: #b30020;752 --destructive-foreground: #ffffff;753 --success: #0f7a3a;754 --success-foreground: #ffffff;755 --warning: #ffb800;756 --warning-foreground: #0a0a0a;757 --chart-1: #e0002b;758 --chart-2: #0a0a0a;759 --chart-3: #ffb800;760 --chart-4: #0f7a3a;761 --chart-5: #2a4fd6;762 --shadow-sm: 2px 2px 0 #0a0a0a;763 --shadow-md: 4px 4px 0 #0a0a0a;764 --shadow-lg: 8px 8px 0 #0a0a0a;765}766 767.dark {768 --background: #0a0a0a;769 --foreground: #fffdf6;770 --card: #161616;771 --card-foreground: #fffdf6;772 --muted: #232323;773 --muted-foreground: #b4b1a6;774 --primary: #ff3b5c;775 --primary-foreground: #0a0a0a;776 --secondary: #ffe500;777 --secondary-foreground: #0a0a0a;778 --accent: #ffe500;779 --accent-foreground: #0a0a0a;780 --border: #fffdf6;781 --input: #fffdf6;782 --ring: #ffe500;783 --destructive: #ff5a5a;784 --destructive-foreground: #0a0a0a;785 --success: #4ade80;786 --success-foreground: #0a0a0a;787 --warning: #ffb800;788 --warning-foreground: #0a0a0a;789 --chart-1: #ff3b5c;790 --chart-2: #fffdf6;791 --chart-3: #ffe500;792 --chart-4: #4ade80;793 --chart-5: #7aa2ff;794 --shadow-sm: 2px 2px 0 #ff3b5c;795 --shadow-md: 4px 4px 0 #ff3b5c;796 --shadow-lg: 8px 8px 0 #ff3b5c;797}798 799/* Tailwind v4: utilities like bg-primary, text-muted-foreground, font-heading, text-display, rounded-ui-lg, shadow-ui-md */800@theme inline {801 --color-background: var(--background);802 --color-foreground: var(--foreground);803 --color-card: var(--card);804 --color-card-foreground: var(--card-foreground);805 --color-muted: var(--muted);806 --color-muted-foreground: var(--muted-foreground);807 --color-primary: var(--primary);808 --color-primary-foreground: var(--primary-foreground);809 --color-secondary: var(--secondary);810 --color-secondary-foreground: var(--secondary-foreground);811 --color-accent: var(--accent);812 --color-accent-foreground: var(--accent-foreground);813 --color-border: var(--border);814 --color-input: var(--input);815 --color-ring: var(--ring);816 --color-destructive: var(--destructive);817 --color-destructive-foreground: var(--destructive-foreground);818 --color-success: var(--success);819 --color-success-foreground: var(--success-foreground);820 --color-warning: var(--warning);821 --color-warning-foreground: var(--warning-foreground);822 --color-chart-1: var(--chart-1);823 --color-chart-2: var(--chart-2);824 --color-chart-3: var(--chart-3);825 --color-chart-4: var(--chart-4);826 --color-chart-5: var(--chart-5);827 --font-heading: var(--font-display);828 --font-body: var(--font-sans);829 --font-code: var(--font-mono);830 --radius-ui-sm: var(--radius-sm);831 --radius-ui-md: var(--radius-md);832 --radius-ui-lg: var(--radius-lg);833 --radius-ui-xl: var(--radius-xl);834 --text-display: var(--type-display-size);835 --text-display--line-height: var(--type-display-leading);836 --text-display--letter-spacing: var(--type-display-tracking);837 --text-display--font-weight: var(--type-display-weight);838 --text-h1: var(--type-h1-size);839 --text-h1--line-height: var(--type-h1-leading);840 --text-h1--letter-spacing: var(--type-h1-tracking);841 --text-h1--font-weight: var(--type-h1-weight);842 --text-h2: var(--type-h2-size);843 --text-h2--line-height: var(--type-h2-leading);844 --text-h2--letter-spacing: var(--type-h2-tracking);845 --text-h2--font-weight: var(--type-h2-weight);846 --text-h3: var(--type-h3-size);847 --text-h3--line-height: var(--type-h3-leading);848 --text-h3--letter-spacing: var(--type-h3-tracking);849 --text-h3--font-weight: var(--type-h3-weight);850 --text-body: var(--type-body-size);851 --text-body--line-height: var(--type-body-leading);852 --text-body--letter-spacing: var(--type-body-tracking);853 --text-body--font-weight: var(--type-body-weight);854 --text-small: var(--type-small-size);855 --text-small--line-height: var(--type-small-leading);856 --text-small--letter-spacing: var(--type-small-tracking);857 --text-small--font-weight: var(--type-small-weight);858 --text-label: var(--type-label-size);859 --text-label--line-height: var(--type-label-leading);860 --text-label--letter-spacing: var(--type-label-tracking);861 --text-label--font-weight: var(--type-label-weight);862 --text-mono: var(--type-mono-size);863 --text-mono--line-height: var(--type-mono-leading);864 --text-mono--letter-spacing: var(--type-mono-tracking);865 --text-mono--font-weight: var(--type-mono-weight);866 --shadow-ui-sm: var(--shadow-sm);867 --shadow-ui-md: var(--shadow-md);868 --shadow-ui-lg: var(--shadow-lg);869}870 871@layer base {872 body {873 background: var(--background);874 color: var(--foreground);875 font-family: var(--font-sans);876 font-size: var(--type-body-size);877 line-height: var(--type-body-leading);878 font-weight: var(--type-body-weight);879 letter-spacing: var(--type-body-tracking);880 -webkit-font-smoothing: antialiased;881 }882 .type-display {883 font-family: var(--font-display);884 font-size: var(--type-display-size);885 line-height: var(--type-display-leading);886 font-weight: var(--type-display-weight);887 letter-spacing: var(--type-display-tracking);888 text-transform: uppercase;889 }890 .type-h1 {891 font-family: var(--font-display);892 font-size: var(--type-h1-size);893 line-height: var(--type-h1-leading);894 font-weight: var(--type-h1-weight);895 letter-spacing: var(--type-h1-tracking);896 text-transform: uppercase;897 }898 .type-h2 {899 font-family: var(--font-display);900 font-size: var(--type-h2-size);901 line-height: var(--type-h2-leading);902 font-weight: var(--type-h2-weight);903 letter-spacing: var(--type-h2-tracking);904 text-transform: uppercase;905 }906 .type-h3 {907 font-family: var(--font-display);908 font-size: var(--type-h3-size);909 line-height: var(--type-h3-leading);910 font-weight: var(--type-h3-weight);911 letter-spacing: var(--type-h3-tracking);912 text-transform: uppercase;913 }914 .type-body {915 font-family: var(--font-sans);916 font-size: var(--type-body-size);917 line-height: var(--type-body-leading);918 font-weight: var(--type-body-weight);919 letter-spacing: var(--type-body-tracking);920 }921 .type-small {922 font-family: var(--font-sans);923 font-size: var(--type-small-size);924 line-height: var(--type-small-leading);925 font-weight: var(--type-small-weight);926 letter-spacing: var(--type-small-tracking);927 }928 .type-label {929 font-family: var(--font-mono);930 font-size: var(--type-label-size);931 line-height: var(--type-label-leading);932 font-weight: var(--type-label-weight);933 letter-spacing: var(--type-label-tracking);934 text-transform: uppercase;935 }936 .type-mono {937 font-family: var(--font-mono);938 font-size: var(--type-mono-size);939 line-height: var(--type-mono-leading);940 font-weight: var(--type-mono-weight);941 letter-spacing: var(--type-mono-tracking);942 }943 h1 {944 font-family: var(--font-display);945 font-size: var(--type-h1-size);946 line-height: var(--type-h1-leading);947 font-weight: var(--type-h1-weight);948 letter-spacing: var(--type-h1-tracking);949 text-transform: uppercase;950 }951 h2 {952 font-family: var(--font-display);953 font-size: var(--type-h2-size);954 line-height: var(--type-h2-leading);955 font-weight: var(--type-h2-weight);956 letter-spacing: var(--type-h2-tracking);957 text-transform: uppercase;958 }959 h3 {960 font-family: var(--font-display);961 font-size: var(--type-h3-size);962 line-height: var(--type-h3-leading);963 font-weight: var(--type-h3-weight);964 letter-spacing: var(--type-h3-tracking);965 text-transform: uppercase;966 }967 code, kbd, samp, pre {968 font-family: var(--font-mono);969 }970 ::selection {971 background: var(--primary);972 color: var(--primary-foreground);973 }974 .container {975 width: 100%;976 max-width: var(--container-max);977 margin-inline: auto;978 padding-inline: var(--gutter);979 }980 .section {981 padding-block: var(--section-y);982 }983 .prose {984 max-width: var(--measure);985 }986 .reveal {987 opacity: 0;988 transform: translateY(var(--reveal-distance));989 transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);990 transition-delay: calc(var(--reveal-index, 0) * var(--reveal-stagger));991 }992 .reveal.is-in {993 opacity: 1;994 transform: none;995 }996 @media (prefers-reduced-motion: reduce) {997 .reveal { opacity: 1; transform: none; transition: none; }998 *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; }999 }1000}1001```1002 1003Tailwind v3:1004 1005```js1006// tailwind.config.js, Tailwind v3 (v4 users: the @theme block in tokens.css does this)1007module.exports = {1008 darkMode: "class",1009 theme: {1010 extend: {1011 colors: {1012 "background": "var(--background)",1013 "foreground": "var(--foreground)",1014 "card": { DEFAULT: "var(--card)", foreground: "var(--card-foreground)" },1015 "muted": { DEFAULT: "var(--muted)", foreground: "var(--muted-foreground)" },1016 "primary": { DEFAULT: "var(--primary)", foreground: "var(--primary-foreground)" },1017 "secondary": { DEFAULT: "var(--secondary)", foreground: "var(--secondary-foreground)" },1018 "accent": { DEFAULT: "var(--accent)", foreground: "var(--accent-foreground)" },1019 "border": "var(--border)",1020 "input": "var(--input)",1021 "ring": "var(--ring)",1022 "destructive": { DEFAULT: "var(--destructive)", foreground: "var(--destructive-foreground)" },1023 "success": { DEFAULT: "var(--success)", foreground: "var(--success-foreground)" },1024 "warning": { DEFAULT: "var(--warning)", foreground: "var(--warning-foreground)" },1025 chart: { 1: "var(--chart-1)", 2: "var(--chart-2)", 3: "var(--chart-3)", 4: "var(--chart-4)", 5: "var(--chart-5)" },1026 },1027 fontFamily: { heading: ["var(--font-display)"], body: ["var(--font-sans)"], code: ["var(--font-mono)"] },1028 borderRadius: { "ui-sm": "var(--radius-sm)", "ui-md": "var(--radius-md)", "ui-lg": "var(--radius-lg)", "ui-xl": "var(--radius-xl)" },1029 boxShadow: { "ui-sm": "var(--shadow-sm)", "ui-md": "var(--shadow-md)", "ui-lg": "var(--shadow-lg)" },1030 transitionDuration: { instant: "var(--duration-instant)", fast: "var(--duration-fast)", base: "var(--duration-base)", slow: "var(--duration-slow)" },1031 transitionTimingFunction: { standard: "var(--ease-standard)", out: "var(--ease-out)", in: "var(--ease-in)" },1032 maxWidth: { container: "var(--container-max)", measure: "var(--measure)" },1033 },1034 },1035};1036```1037 1038Dependencies: `lucide-react`Save as DESIGN.md in the repo root and add “Follow DESIGN.md for all UI” to CLAUDE.md, AGENTS.md or your Cursor rules.


