Live Design system analysis

Design Guide for TV 2

A practical design system derived from tv2.dk: a Danish news brand built on midnight blue, signal red and breaking yellow, a single variable typeface and a strict 1-unit token scale.

Unofficial. Reverse-engineered from the public CSS of tv2.dk (tokens prefixed --ds-) on 9 November 2026. TV 2, the TV 2 logo and the "TV2" typeface belong to TV 2 Danmark; this guide uses the open fallback stack for display.

01Color Palette

Three layers: primitives (--ds-p-*, 10-step ramps), semantic tokens (--ds-s-*, resolved with light-dark()) and editorial tokens (--ds-e-*, party colors for election graphics). Midnight carries the brand; red means "TV 2 / live"; yellow means "breaking". Everything else is supporting.

Core brand colors

Midnight#000523
Text, inverted surfaces, primary buttons
TV 2 Red#eb050f
Brand, LIVE, kickers
Breaking Yellow#ffd200
Breaking news only
White#ffffff
Primary surface
Focus Blue#3264ff
Focus ring, info
Commercial Green#128938
Subscription CTAs

Primitive ramps (50 → 900)

Neutral (blue-tinted grey)
#f6f7f8#626e84#071533
Red
#fff5f0#eb050f#3e000b
Yellow
#fffae7#ffd200#3f3200
Blue
#ebfaff#3264ff#0f0d52
Green
#e6f6eb#19aa46#143200
Violet (visited links)
#f2ebff#734bff#37005a

Semantic tokens (light / dark)

TokenLightDarkUse
surface-primarywhitemidnightPage background
surface-secondaryneutral-50neutral-900Section bands
surface-tertiaryneutral-100neutral-800Cards, hover fills
surface-invertedmidnightwhitePrimary buttons, decks
content-primarymidnightwhiteHeadlines, body
content-secondaryneutral-600neutral-400Meta, captions
content-link-defaultblue-600blue-400Inline links
content-link-visitedviolet-600violet-300Visited links
stroke-focus-outlineblue-500blue-400Keyboard focus
surface-state-hovermidnight @ 8%white @ 16%Hover overlay
:root{
  color-scheme: light dark;
  --ds-p-midnight:#000523; --ds-p-white:#fff;
  --ds-p-red-500:#eb050f;  --ds-p-yellow-500:#ffd200;
  --ds-p-blue-500:#3264ff; --ds-p-neutral-600:#4a5870;

  --ds-s-surface-primary:  light-dark(var(--ds-p-white), var(--ds-p-midnight));
  --ds-s-surface-inverted: light-dark(var(--ds-p-midnight), var(--ds-p-white));
  --ds-s-content-primary:  light-dark(var(--ds-p-midnight), var(--ds-p-white));
  --ds-s-content-secondary:light-dark(var(--ds-p-neutral-600), var(--ds-p-neutral-400));
  --color-live:     var(--ds-p-red-500);
  --color-breaking: var(--ds-p-yellow-500);
}

Rules

Do

Use midnight, not pure black, for text and dark surfaces. Its blue cast is the brand.

Do

Put midnight text on yellow. White on #ffd200 fails contrast badly.

Don't

Use yellow for anything except breaking news. Its meaning depends on scarcity.

Don't

Use red for body text on white below 18px bold; prefer red-600 (#c11a1d) for small red text.

02Typography

One custom variable font, "TV2" (weights 100–900, slant axis for italics), loaded as a single WOFF2 with font-display: swap. Fallback: Helvetica Neue → Segoe UI → sans-serif. Headlines are tight and heavy; body text is 1.4 line-height.

@font-face{
  font-family: TV2;
  font-weight: 100 900;           /* one variable file */
  font-display: swap;
  src: url(/fonts/TV2.woff2) format("woff2") tech(variations);
}
:root{ --ds-font-tv2: "TV2", "Helvetica Neue", "Segoe UI", sans-serif; }
/* italics use the slant axis, not a separate face */
em{ font-style: italic; font-variation-settings: "slnt" 10; }

Scale

Display 32/48/60
Breaking: Big story
Headline 24–36
Teaser headline, lead slot
Headline 20–24
Standard teaser headline
Body L 18 / 1.4
Article body text. Comfortable reading at 1.4 line height.
Body M 16 / 1.4
Default body, lists and descriptions.
Utility M 16/20 · 500
Buttons, navigation, tabs
Utility S 14/18 · 500
Meta, timestamps, bylines
Utility XS 12/14 · 700
Labels · LIVE · BREAKING
Token familySizesLine heightWeights
--ds-t-body-{l,m,s}18 / 16 / 141.4400, 700, italic (slnt 10)
--ds-t-utility-{l,m,s,xs}18 / 16 / 14 / 1222 / 20 / 18 / 14 px400, 500
--font-a-b(-c)Responsive pairs, e.g. --font-24-36tight (≈1.05–1.2)300, 400, 500, 700

Responsive pair tokens such as --font-32-48-60 name the mobile → tablet → desktop sizes; the largest step uses max(3.2vw, 60px) so lead headlines scale on wide screens.

03Layout and Grid System

Everything is a multiple of one unit. --static-unit is 1rem / 16 (1px that respects user font size), and --unit can switch to a fluid unit on large screens. Spacing comes in 4px steps.

:root{
  --static-unit: calc(1rem / 16);
  --unit: var(--static-unit);            /* or var(--fluid-unit) */
  --ds-unit: var(--unit);
  --ds-p-size-4:  calc(var(--ds-unit) * 4);
  --ds-p-size-8:  calc(var(--ds-unit) * 8);
  --ds-p-size-16: calc(var(--ds-unit) * 16);
  --ds-p-size-24: calc(var(--ds-unit) * 24);
  --ds-p-size-48: calc(var(--ds-unit) * 48);
  /* content widths */
  --bp-small:  calc(var(--static-unit) * 480);
  --bp-medium: calc(var(--static-unit) * 680);
  --bp-large:  calc(var(--static-unit) * 1000);
  --gutter: calc(var(--ds-p-size-48) / 2);   /* 24px; 28px on wide */
}

Spacing scale

1 · 2 · 4 · 8 · 12 · 16 · 20 · 24 · 28 · 32 · 36 · 40 · 44 · 48 · 56 · 64 · 80 · 96 · 112 · 128 · 144

Semantic spacing tokens change with the breakpoint: -step tokens grow by one step (e.g. size-24-step = 24 → 32), -jump tokens double (e.g. size-8-jump = 8 → 16). Use them for section gaps so density follows screen size without extra media queries.

Grid

The front page is a stack of decks (tc_deck): full-width bands, each holding a grid (tc_grid) of teasers. Content sits in a centred column capped at --bp (680px on tablet, 1000px on desktop); ads and themed backgrounds bleed to the edges using negative margins.

12 columns × 16px gap on desktop, 4 columns × 12px on mobile. Typical teaser spans: 12 (lead), 8 + 4 (side-by-side priority), 4 + 4 + 4 (row).

Radius

s 12px
m 16px
l 24px
full

04Component Library

Two class namespaces: ds_* for the shared design system (button, label, accordion, radio, form, modal, search) and tc_* for news composition (teaser, deck, grid, header, video, footer).

Buttons

.ds_button{
  --ds-button-height: var(--ds-p-size-44);     /* 32 for small */
  --ds-button-padding: var(--ds-p-size-24);    /* 16 for small */
  display:inline-flex; align-items:center; gap:var(--ds-p-size-8);
  height:var(--ds-button-height); padding:0 var(--ds-button-padding);
  border-radius:var(--ds-p-radius-full);
  font: 500 var(--ds-t-utility-m-medium-font-size)/1 var(--ds-font-tv2);
  background:var(--ds-button-primary);         /* = surface-inverted */
  color:var(--ds-s-content-inverted);
  transition:background-color var(--ds-transition-normal) var(--ds-easing-hover);
}
.ds_button--secondary  { background:var(--ds-s-surface-transparency-weak); color:var(--ds-s-content-primary); }
.ds_button--brand      { background:var(--ds-p-red-525); color:#fff; }
.ds_button--breaking   { background:var(--ds-p-yellow-500); color:var(--ds-p-midnight); }
.ds_button--commercial { background:var(--ds-p-green-600); color:#fff; }

Labels

Live Breaking Video Opdateret

Labels are small, uppercase, 12px bold. LIVE carries a pulsing dot; BREAKING has a light sweep (TV 2 uses paired label-breaking-front/back keyframes).

<span class="ds_label ds_label--color-live">Live</span>
<span class="ds_label ds_label--color-breaking">Breaking</span>

Teasers

<a class="tc_teaser" href="/article">
  <figure class="tc_image"><img src="…" alt="…" loading="lazy"></figure>
  <h3 class="tc_heading"><span class="kicker">Lige nu:</span> Headline</h3>
</a>

The whole teaser is one link. Kickers ("Lige nu:", "Breaking:") are inline in the headline in red, or midnight on yellow. Hover lightens the background only; headlines never underline.

Deck (most read / live list)

Mest læste

  1. First most-read headline
  2. Second most-read headline
  3. Third most-read headline

Accordion

What is a deck?

A full-width band on the front page that groups teasers by theme or priority.

When is a deck dark?

For video, live TV and editorial highlights, using the midnight background.

05Responsive Design

Mobile-first, em-based media queries, so breakpoints respect user font size.

Query≈ pxWhat changes
min-width: 30em480Small tablet; two-up teaser rows
min-width: 42.5em680Tablet; --bp-medium column, step/jump spacing grows, type pairs move up
min-width: 64em1024Desktop; 1000px column, side-by-side priority layouts
min-width: 84em / 101em1344 / 1616Wide; fluid unit and larger lead headlines
(hover: hover)—Hover styles only for real pointers
/* one token, three values */
.tc_heading--lead{ font-size: var(--font-32-48-60); }
:root{ --font-32-48-60: calc(var(--unit)*32); }
@media screen and (min-width:42.5em){ :root{ --font-32-48-60: calc(var(--unit)*48); } }
@media screen and (min-width:64em){ :root{ --font-32-48-60: max(3.2vw, calc(var(--unit)*60)); } }

/* hover only where it exists */
@media (hover:hover){ .tc_teaser:hover{ background:var(--ds-s-surface-state-hover); } }

06Animations and Transitions

Motion is short and functional. The only looping animations are on LIVE and BREAKING labels, where movement means urgency.

TokenValueUse
--ds-transition-fastest50msPress feedback
--ds-transition-faster100msIcon swaps
--ds-transition-fast150msHover color
--ds-transition-normal200msButtons, backgrounds
--ds-transition-slow250msMenus
--ds-transition-slower300msAccordions, drawers
--ds-transition-slowest500msModals, page-level

Easing: --ds-easing-hover: ease-out; --ds-easing-collapsible and --ds-easing-sliding: ease-in-out. Image placeholders use a subtle loading shimmer (--loading).

@media (prefers-reduced-motion: reduce){
  .ds_label--color-live::before,
  .ds_label--color-breaking::after{ animation: none; }
  *{ transition-duration: 0s !important; }
}

07Accessibility Considerations

Focus

Dedicated stroke-focus-outline token (blue-500 / blue-400 in dark) applied with :focus-visible. A separate white-alpha ring exists for the TV app.

Dark mode

All semantic tokens use light-dark() and follow prefers-color-scheme.

Reduced motion

Label animations stop under prefers-reduced-motion.

Scalable units

Units are rem-based and breakpoints are in em, so browser zoom and font settings work.

Visited links

Distinct violet for visited links, which helps on a news site with many links.

No-JS

A @media (scripting:none) fallback keeps content visible without JavaScript.

Contrast checks

PairRatioVerdict
Midnight on white≈ 20:1AAA
Neutral-600 on white≈ 7.3:1AAA
Midnight on yellow-500≈ 14:1AAA
White on red-500≈ 4.6:1AA (OK for labels and buttons)
White on yellow-500≈ 1.4:1Fails. Never do this.

Add: a skip link to main content, alt text on every teaser image, aria-live="polite" on live tickers, and labels that aren't color-only (always write "LIVE", not only a red dot).

08Print Design Guidelines

tv2.dk ships a separate print.css (media="print"). Follow the same idea: strip navigation and ads, keep the headline, byline, body and images.

Color

Midnight → CMYK ≈ 100/95/30/70 (or rich black). Red #eb050f → ≈ 0/100/100/0, matched to a Pantone warm red. Use yellow only as a flag, never as a text background in small sizes.

Type

Headlines in TV2 800–900, tight leading (1.05). Body 9.5–10.5pt at 1.35. Fallback: Helvetica Neue.

Layout

Keep the 4px rhythm as 2mm baseline steps. 12-column grid on A4 with 5mm gutters, 15mm margins and 3mm bleed.

Brand bar

A red top or bottom bar is the simplest brand cue on print matter. Keep the logo on white or midnight only.

@media print{
  nav, .tc_ad, .tc_video, .ds_button, footer { display:none !important; }
  body{ font: 10.5pt/1.35 "TV2","Helvetica Neue",Arial,sans-serif; color:#000; background:#fff; }
  h1{ font-size:28pt; line-height:1.05; font-weight:800; }
  a[href^="http"]::after{ content:" (" attr(href) ")"; font-size:8pt; color:#4a5870; }
  img{ max-width:100% !important; break-inside:avoid; }
  @page{ size:A4; margin:15mm; }
}

09Social Media and LinkedIn Guidelines

Social posts should look like a TV 2 teaser: heavy headline, midnight or photo background, red brand bar, yellow only for breaking.

LinkedIn

Midnight background, white headline and red bar for a sober, corporate tone. Use for job posts, B2B and press releases. Keep text inside the middle 80% (safe area).

Text on image

Add a midnight gradient scrim (0 → 70% opacity) under text; it mirrors --layout-on-image on the site.

Tone

Short, direct Danish headlines with a kicker ("Lige nu:", "Se:"). No emoji in news posts.

10Tailwind CSS Configuration

Drop-in config mapping the tokens above. Tailwind v3 syntax; for v4 copy the values into an @theme block.

// tailwind.config.js
module.exports = {
  darkMode: 'media',
  theme: {
    extend: {
      colors: {
        midnight: '#000523',
        brand:    { DEFAULT: '#eb050f', 50:'#fff5f0',100:'#ffe6d7',200:'#fac9bb',300:'#eb8c82',400:'#ef5244',500:'#eb050f',600:'#c11a1d',700:'#9e0f1b',800:'#640014',900:'#3e000b' },
        breaking: { DEFAULT: '#ffd200', 50:'#fffae7',100:'#fff5be',200:'#ffee9b',300:'#f5dd89',400:'#ffd864',500:'#ffd200',600:'#ebbb0e',700:'#b68f00',800:'#755c00',900:'#3f3200' },
        neutral:  { 50:'#f6f7f8',100:'#eff0f2',200:'#e5e7eb',300:'#b5bac5',400:'#8d95a5',500:'#626e84',600:'#4a5870',700:'#24324d',800:'#172541',900:'#071533' },
        info:     { 50:'#ebfaff',100:'#cdf0ff',200:'#aeddfa',300:'#8cc8f5',400:'#64a3fb',500:'#3264ff',600:'#244dea',700:'#1339c8',800:'#1e1991',900:'#0f0d52' },
        success:  { 50:'#e6f6eb',100:'#c7edcc',200:'#9bd7a0',300:'#78cd82',400:'#50bb64',500:'#19aa46',600:'#128938',700:'#11712c',800:'#0b491d',900:'#143200' },
        visited:  { 300:'#a596fa', 600:'#6140dc' },
      },
      fontFamily: { tv2: ['TV2','"Helvetica Neue"','"Segoe UI"','sans-serif'] },
      fontSize: {
        'utility-xs': ['12px', { lineHeight: '14px', fontWeight: '500' }],
        'utility-s':  ['14px', { lineHeight: '18px', fontWeight: '500' }],
        'utility-m':  ['16px', { lineHeight: '20px', fontWeight: '500' }],
        'utility-l':  ['18px', { lineHeight: '22px', fontWeight: '500' }],
        'body-s': ['14px', { lineHeight: '1.4' }],
        'body-m': ['16px', { lineHeight: '1.4' }],
        'body-l': ['18px', { lineHeight: '1.4' }],
      },
      borderRadius: { s: '12px', m: '16px', l: '24px' },
      maxWidth: { 'bp-s': '480px', 'bp-m': '680px', 'bp-l': '1000px' },
      screens: { sm: '30em', md: '42.5em', lg: '64em', xl: '84em', '2xl': '101em' },
      transitionDuration: { fastest:'50ms', faster:'100ms', fast:'150ms', normal:'200ms', slow:'250ms', slower:'300ms', slowest:'500ms' },
      boxShadow: { float: '0 0 4px 0 #071533a3' },
    },
  },
};

Usage

<a class="block rounded-m bg-white dark:bg-midnight hover:bg-neutral-100 transition-colors duration-normal">
  <span class="inline-flex h-[22px] items-center rounded px-2 bg-brand text-white text-utility-xs font-bold uppercase">Live</span>
  <h3 class="font-tv2 text-2xl md:text-4xl font-extrabold leading-tight text-midnight dark:text-white">
    <span class="text-brand">Lige nu:</span> Headline
  </h3>
</a>
<button class="h-11 px-6 rounded-full bg-midnight text-white text-utility-m font-tv2">Primary</button>
<button class="h-11 px-6 rounded-full bg-breaking text-midnight text-utility-m">Breaking</button>