Design page

The 2010s

Flat design: pure white, midnight blue text, a thin geometric display face, flat teal and orange, nothing glossy, nothing shadowed.

Colour

Every colour is a token on [data-decade="2010s"] in decades.css; nothing in the markup names a hex. The last column is the measured WCAG contrast against the page background (or, for the accent ink, against the accent fill).

TokenValueUseContrast
--bg#FFFFFFPage. Pure white, on purposePage background
--bg-2#EEF1F4Panels and quote backgroundsBackground; text on it is checked below
--tx#2C3E50All running text, midnight blue10.98:1 on bg
--tx-2#5A6B7CSecondary text5.48:1 on bg
--primary#1A6E86Links and outline buttons: flat teal5.80:1 on bg
--accent#F39C12Filled button and quote bar: flat orangeFill only; see accent-ink
--accent-ink#2C3E50Text on the orange5.01:1 on accent
--decor#27AE60Flat green, decoration onlyNever behind or as text
--ui#D5DBE1Rules and bordersBorder, 1px rules
--ui-strong#2C3E50Form field borders10.98:1 on bg
--focus#1A6E86Focus ring5.80:1 on bg
--danger#C0392BErrors5.44:1 on bg
Contrast checks run at build time
PairMeasuredNeededResult
tx on bg10.98:14.5:1Pass
tx-2 on bg5.48:14.5:1Pass
tx on bg-29.69:14.5:1Pass
tx-2 on bg-24.84:14.5:1Pass
primary on bg5.8:14.5:1Pass
primary on bg-25.12:14.5:1Pass
accent-ink on accent5.01:14.5:1Pass
danger on bg5.44:14.5:1Pass
focus on bg5.8:13:1Pass
ui-strong on bg10.98:13:1Pass

Text pairs need 4.5:1 (WCAG 1.4.3). The focus ring and field borders need 3:1 (1.4.11). A failing pair stops the build.

Why these choices

  • Display: Raleway, the thin geometric of every 2010s start-up landing page and festival poster.
  • Body: Open Sans (2011), the body face of the same pages; the decade read almost everything in it.
  • Colour: the flat UI palette that followed iOS 7 and Material: teal, orange and green with no gradients. Teal carries links; orange is a fill with dark text; green is decoration.
  • Shape: flat. Four-pixel corners, no borders on the primary button, no shadows anywhere; hover darkens, nothing moves.
  • Television: a thin black bezel on a slim central stand, and a flat-colour screen with nothing reflected in it.

Type

Display

2010s number ones

--font-display: Raleway, 'Helvetica Neue', Arial, sans-serif

Body

"Pass Out" is a single by British rapper Tinie Tempah.

--font-body: 'Open Sans', 'Segoe UI', Arial, sans-serif

Utility

Captions, labels, code and table headings. Never below 16px.

--font-utility: 'Open Sans', 'Segoe UI', Arial, sans-serif

Scale

  • h1Heading one
  • h2Heading two
  • h3Heading three
  • ledeLede paragraph at 1.25rem
  • bodyBody text at 1.0625rem, line height 1.6, 68 characters wide
  • floorThe smallest text on the page, 1rem (16px)

Decoration

A three-colour line and three shapes. The markup is the same on every page: three spans for the line, three for the shapes. The decade's CSS decides what a line and a shape are here, in its own three tokens (primary, accent, decor).

The line

The shapes

Behind a page's opening, kept to the right and the corners so they never sit under the text.

Television

A song page plays its video on the decade's own set. With a video id the embed sits in the screen; without one the screen carries an ident and a play link.

Play 2010s hits on YouTube
The same markup on every decade page and every song page; only the decade's CSS changes the set.

Components

Buttons

One primary button per group. The outline button is the comparable second action. Each decade shapes them its own way; see "Why these choices".

Links in text

Every link is coloured and underlined, so it reads as a link without colour alone. Only buttons and cards drop the underline. For example, the full listing.

Cards

A grid of equal-weight linked items. Each title is a real heading and the whole card is one link.

Pass Out

"Pass Out" is a single by British rapper Tinie Tempah.

Someone like You

"Someone like You" is a song recorded by English singer-songwriter Adele.

Somebody That I Used to Know

"Somebody That I Used to Know" is a song written, produced, and performed by the Australian singer-songwriter Gotye, featuring vocals from the New Zealand singer Kimbra.

Panel

A panel groups content with nothing clickable inside, so it is flat and does not look pressable. "Pass Out" is a single by British rapper Tinie Tempah.

Quote

"Someone like You" is a song recorded by English singer-songwriter Adele. She and Dan Wilson wrote and produced the track for her second studio album, 21 (2011).

Wikipedia, Someone like You

Tags

2010 2011 2012 2010s

Disclosure

How the decade is chosen

A song's decade follows from its year and is never stored. 1983 is the 80s; 2007 is the 2000s.

Table

YearSingleArtistWeeks
2010Pass OutTinie Tempah2
2011Someone like YouAdele4
2012Somebody That I Used to KnowGotye featuring Kimbra4
2013MirrorsJustin Timberlake3
2014HappyPharrell Williams1
2015Love Me like You DoEllie Goulding4
20167 YearsLukas Graham5
2017Shape of YouEd Sheeran13
2018God's PlanDrake9
2019Someone You LovedLewis Capaldi7

Forms

Labels above fields, hints below labels, what is optional said so, errors in a summary at the top and again by the field. Nothing here submits anywhere.

Never shown on the site.
Only used to send you a private link. Error: enter an email address

2010s number ones on 13 March

  1. 2010Pass Out Tinie Tempah
  2. 2011Someone like You Adele
  3. 2012Somebody That I Used to Know Gotye featuring Kimbra
  4. 2013Mirrors Justin Timberlake
  5. 2014Happy Pharrell Williams
  6. 2015Love Me like You Do Ellie Goulding
  7. 20167 Years Lukas Graham
  8. 2017Shape of You Ed Sheeran
  9. 2018God's Plan Drake
  10. 2019Someone You Loved Lewis Capaldi