teenage.engineering design system
teenage engineering
Technologie konsumenckieJasnyZmierzono elementów: 1115, zmierzono 6 godzin temu
teenage.engineering używa czcionek te-20, a kolorem akcentu jest #0071bb. Zmierzono 28 września 2026.
Użyj z Twoją AI
także w zipie jako README.md i PROMPT.md- .
- Rozpakuj pakiet w projekcie tak, aby folder znalazł się w
design/teenage.engineering-design-pack/. - Opcjonalnie: skopiuj folder także do
.claude/skills/teenage-engineering-design/. SKILL.md w środku sprawia, że Claude Code sam wczytuje pakiet za każdym razem, gdy buduje UI. - Wklej poniższy prompt do Claude Code i uzupełnij, co ma zostać zbudowane.
Prompt
Prompt zostaje po angielsku: wymienia pliki z pakietu, a Twoja AI czyta go w każdym języku.
Use the design pack in `design/teenage.engineering-design-pack/` as the source of truth for how the UI looks and behaves. It was measured from https://teenage.engineering/.
1. Read DESIGN.md (colours, type, spacing, radii, shadows, components) and BEHAVIOR.md (hover, focus, tooltips, menus, motion, scrolling, forms, responsive rules) before writing any code.
2. Look at every image in `design/teenage.engineering-design-pack/screenshots/` and match the composition, density, whitespace and image treatment. Tokens do not carry those; the screenshots do.
3. Style everything with `design/teenage.engineering-design-pack/tokens.css` (or `tailwind.css` if this project uses Tailwind v4). Do not invent colours, radii, shadows or font sizes that are not in the pack.
4. Load the fonts named in DESIGN.md. Where a font is not freely available, use the stand-in it names at the same sizes and weights.
5. Match the breakpoints and hover, focus and motion rules in BEHAVIOR.md. The site has no dark mode, so do not add one.
Now build: [describe the page or app you want]
When you are done, compare the result with the screenshots at desktop and phone widths, fix the biggest visual difference first, and repeat.Kolory
Tokeny: 5Komponenty
search
- przycisk ghost
- tekst #0f0e12 na przezroczysty na #ffffff, r 0px, h 32px, 16px/100
- link
- #0f0e12, bez podkreślenia, 100
- nagłówek
- 0px, absolute, linki: 12 po 16px
- formularze
- 0 forms, 2 inputs. Required markers: 0. Help texts: 0. Label placement: other (1).
- ikony
- Icons: 3 inline SVGs, filled, sizes 35px/47px; icon font classes icon-.
Interakcje i animacje
- nav link "teenage engineering": bez zmiany po hover
- tooltipy: Tooltip triggers exist (3 × title) but none opened on hover in the first viewport; title attributes fall back to the browser's native tooltip.
- menu: No dropdown menus found in the header.
- animacje: 3 elements carry transitions; typical 0.2s with ease-in, mostly on background-color, opacity, transform. No running keyframe animations at rest. No scroll-reveal: content is visible without scrolling into view.
Typografia
Czcionki: 1te-20własny hosting, zamiennik Inter
headline-displayQuick brown fox48px / 700 / lh 1.4
headline-lgQuick brown fox32px / 600 / lh 1.4
headline-mdQuick brown fox24px / 600 / lh 1.4
body-mdThe quick brown fox jumps over the lazy dog19px / 100 / lh 1.16
label-mdThe quick brown fox jumps over the lazy dog13px / 500 / lh 1.4
buttonThe quick brown fox jumps over the lazy dog16px / 100 / lh 1.5
Używane rozmiary
131619
Odstępy
jednostka 4px- Szerokość treści
- 1308px
Zaokrąglenia
przycisk 0pxpole 0pxkarta 0pxobraz 0px
Cienie
0Płasko: brak używanych cieni.
Motyw
No dark mode responded to prefers-color-scheme, a theme toggle, or a root class/attribute.
Responsywność
1440 / 1024 / 768 / 390 px| Viewport | Treść | Marginesy | Tekst | H1 | Nagłówek | Hero | Siatki | Przyciski |
|---|---|---|---|---|---|---|---|---|
| desktop 1440 | 479px | 16px | 0px, 22 links | content-width | ||||
| laptop 1024 | 341px | 16px | 0px, 22 links | content-width | ||||
| tablet 768 | 697px | 16px | 0px, 22 links | content-width | ||||
| phone 390 | 354px | 16px | 0px, 0 links | 3→3 col | 1 full-width |
- Nav never collapses to a hamburger (0 links still visible at 390px).
- Body text stays 16px at every width.
- 1 buttons stretch full-width on phones.
Pliki w pakiecie
Pliki: 14DESIGN.mdWiersze: 171
---
version: alpha
name: "teenage.engineering"
description: "Design system extracted from https://teenage.engineering/ on 2026-09-28"
colors:
background: "#f6f8f7"
foreground: "#0f0e12"
muted-foreground: "#e5e5e5"
primary: "#0071bb"
on-primary: "#ffffff"
typography:
headline-display:
fontFamily: "te-20"
fontSize: "48px"
fontWeight: 700
lineHeight: "1.4"
headline-lg:
fontFamily: "te-20"
fontSize: "32px"
fontWeight: 600
lineHeight: "1.4"
headline-md:
fontFamily: "te-20"
fontSize: "24px"
fontWeight: 600
lineHeight: "1.4"
body-md:
fontFamily: "te-20"
fontSize: "19px"
fontWeight: 100
lineHeight: "1.16"
label-md:
fontFamily: "te-20"
fontSize: "13px"
fontWeight: 500
lineHeight: "1.4"
button:
fontFamily: "te-20"
fontSize: "16px"
fontWeight: 100
lineHeight: "1.5"
rounded:
none: "0px"
full: "9999px"
spacing:
unit: "4px"
1: "32px"
2: "68px"
components:
button-ghost:
backgroundColor: "#ffffff"
textColor: "#0f0e12"
typography: "{typography.button}"
rounded: "0px"
height: "32px"
padding: "0px 37px"
---
# teenage.engineering
## Overview
teenage engineering: teenage engineering creates high quality, well designed, electronic products for all people who love sound and music.
Sharp, squared-off controls, flat surfaces separated by hairlines, confident display type at 48px / 700, a single blue accent on neutrals. The site ships in light mode by default. Measured from 1115 rendered elements at 1440px wide on 2026-09-28.
Reference screenshots live beside this file; look at them before writing any layout, they carry the composition, density and image treatment that tokens cannot:
- `screenshots/desktop-1440-fold.png`: Desktop 1440, above the fold
- `screenshots/desktop-1440-full.jpg`: Desktop 1440, full page
- `screenshots/laptop-1024-fold.png`: Laptop 1024, above the fold
- `screenshots/tablet-768-fold.png`: Tablet 768, above the fold
- `screenshots/phone-390-fold.png`: Phone 390, above the fold
- `screenshots/phone-390-full.jpg`: Phone 390, full page
## Colors
| Token | Value | Use |
| --- | --- | --- |
| background | `#f6f8f7` | Page background |
| foreground | `#0f0e12` | Primary text |
| muted-foreground | `#e5e5e5` | Secondary text, captions |
| primary | `#0071bb` | Accent: primary buttons, links, focus |
| on-primary | `#ffffff` | Text on the accent |
Full painted palette by area (largest first): `#f6f8f7`, `#000000`, `#0f0e12`.
The accent `#0071bb` is used sparingly: primary buttons, links and focus rings. Everything else stays neutral.
## Typography
- **te-20** for body, button: self-hosted webfont, not freely available; use **Inter** from Google Fonts as the stand-in.
| Role | Family | Size | Weight | Line height | Tracking |
| --- | --- | --- | --- | --- | --- |
| headline-display | te-20 | 48px | 700 | 1.4 | normal |
| headline-lg | te-20 | 32px | 600 | 1.4 | normal |
| headline-md | te-20 | 24px | 600 | 1.4 | normal |
| body-md | te-20 | 19px | 100 | 1.16 | normal |
| label-md | te-20 | 13px | 500 | 1.4 | normal |
| button | te-20 | 16px | 100 | 1.5 | normal |
Type scale in use: 13px, 16px, 19px. Base body size 19px.
## Layout
- Spacing unit: 4px. Scale in use: 32, 68 (px).
- Flex and grid gaps: 16, 24 px.
- Content max width: 1308px, centred.
- Header: 0px tall, absolute, background `rgba(0, 0, 0, 0)`; 12 nav links at 16px / 100 (teenage engineering · product · instruments · audio · designs · store · checkout · deals).
## Elevation & Depth
No box shadows in use; depth comes from hairline borders and surface tints (flat design).
## Shapes
- Buttons: 0px
- Inputs: 0px
- Cards and panels: 0px
- Images and media: 0px
- Radius scale: none 0px, full 9999px
## Components
### Button, ghost
Background transparent (it sits on `#ffffff`, so place it on that colour), text `#0f0e12`, border none, radius 0px, height 32px, padding 0px 37px, 16px / 100. Sample label: "search".
### Link
Colour `#0f0e12`, no underline at rest, weight 100.
## Dark Mode
No dark mode responded to prefers-color-scheme, a theme toggle, or a root class/attribute.
## Responsive Behavior
| Viewport | Content width | Gutter | Body | H1 | Header | Hero | Grids | Buttons |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| desktop 1440px | 479px | | 16px | | 0px, 22 links | | | content-width |
| laptop 1024px | 341px | | 16px | | 0px, 22 links | | | content-width |
| tablet 768px | 697px | | 16px | | 0px, 22 links | | | content-width |
| phone 390px | 354px | | 16px | | 0px, 0 links | | 3→3 col | 1 full-width |
- Nav never collapses to a hamburger (0 links still visible at 390px).
- Body text stays 16px at every width.
- 1 buttons stretch full-width on phones.
## Interaction & Motion
3 elements carry transitions; typical 0.2s with ease-in, mostly on background-color, opacity, transform. No running keyframe animations at rest.
- Hover on nav-link ("teenage engineering"): no visible change; cursor pointer.
- Tooltip triggers exist (3 × title) but none opened on hover in the first viewport; title attributes fall back to the browser's native tooltip.
- No dropdown menus found in the header.
- No scroll-reveal: content is visible without scrolling into view.
Full detail (every overlay, table, form, scroll and text rule measured) is in `BEHAVIOR.md`; raw evidence in `evidence.json`.
## Do's and Don'ts
- Do use 4px multiples for every padding, margin and gap; the site does not use odd values.
- Do reserve `#0071bb` for actions and focus; never paint large areas with it.
- Do keep body text at 19px in te-20.
- Do match corner radii per element class (buttons 0px, cards 0px); do not pick one radius for everything.
- Don't add drop shadows; this design is flat.
- Don't substitute a different accent hue or introduce gradients that are not listed above.
- Don't rebuild from the tokens alone; open the screenshots for composition, density and image treatment.
