Own sites and tools
Backstage CMS
Default theme: system sans-serif, dark-indigo ink on white and light grey, one selectable accent (indigo by default), soft rounded panels with hairline borders on a 4px grid; the studio has a dark ink top bar.
This project keeps its own design (Niels, 30-11-2026). This page records it; the source files below stay the truth. When a value here and the code disagree, the code wins and this page needs an update.
Colour
Typography
everything (--font-sans)
Backstage CMS: Aa Bb 0123
Type scale
| Name | Value |
|---|---|
--fs-display | clamp(2.25rem, 1.35rem + 3.6vw, 3.375rem) |
--fs-h1 | clamp(1.75rem, 1.3rem + 1.8vw, 2.375rem); studio h1 line-height 1.12, weight 600, letter-spacing -0.025em |
--fs-h2 | clamp(1.5rem, 1.25rem + 1vw, 2rem) |
--fs-h3 | 1.1875rem |
--fs-lead | 1.125rem |
--fs-body | 1rem |
--fs-small | 0.875rem |
--fs-caption | 0.75rem |
--fs-overline | 0.6875rem |
Shape and space
Radius
- --radius-sm: 4px
- --radius-md: 8px (buttons, icon buttons)
- --radius-lg: 12px (cards)
- --radius-xl: 16px
- --radius-2xl: 24px
- --radius-full: 999px (studio bar buttons, spinner)
Spacing and widths
- 4px grid: --space-1 4px, -2 8px, -3 12px, -4 16px, -5 20px, -6 24px, -8 32px, -10 40px, -12 48px, -16 64px, -20 80px, -24 96px
- --gutter: clamp(20px, 4vw, 40px)
- wraps: narrow 720px, normal 1120px, wide 1320px (plus 2 x gutter)
- studio top bar min-height 56px
Shadows
- --shadow-1: 0 1px 2px ink-700 / .06
- --shadow-2: 0 1px 2px ink-700 / .06, 0 4px 14px ink-700 / .07 (elevated cards)
- --shadow-3: 0 2px 4px ink-700 / .06, 0 12px 28px ink-700 / .11
- --shadow-4: 0 4px 8px ink-700 / .08, 0 24px 56px ink-700 / .16
Components
- Buttons: radius 8px, min-height 44px, padding 10px 18px, weight 600; primary in the action colour, secondary white with ink-100 border, ghost underlined in the accent colour, danger red-700
- Cards: radius 12px, outline variant (panel + 1px line border) or elevated variant (shadow-2)
- Studio top bar: ink-900 background, white text, pill buttons with white/10 fill, active nav item underlined in brand-400
- Four accents per site (indigo, green, amber, rose) via .accent-<name> classes; dark sections via .sec--dark / .theme-dark
Where it comes from
- /Users/nielskorte/Projects/backstage-cms/public/static/theme/tokens.css
- /Users/nielskorte/Projects/backstage-cms/theme.config.ts
- /Users/nielskorte/Projects/backstage-cms/public/static/studio.css
- /Users/nielskorte/Projects/backstage-cms/public/static/site.css
- /Users/nielskorte/Projects/backstage-cms/src/ui/pages.ts
- /Users/nielskorte/Projects/backstage-cms/src/product.ts
Notes
- This is the default theme meant to be replaced per deployment; the brand, grey, green, amber, red and rose ramps are Tailwind palette values (per the comment in tokens.css), the ink ramp is its own.
- Only a selection of the ramps is listed (25 max); tokens.css has full 50-950 ramps for brand, ink, grey, green, amber, red and rose.
- url is null: there is a test environment on workers.dev, but its exact address was not confirmed in the repo.
- No dark mode for the whole page; dark is per section.