Style Teardownteardown
← all teardowns

www.gov.uk

open ↗ 2026-06-11 12:06 UTC · 16 css files · 2489kb css
rendered capture (headless)
desktop
desktop capture
mobile · 390px
mobile capture

Live reference

Preview — our components × captured values

Quick look above; the showcases render the full Slipstream bank with sample data. Captured values only on A-side — anatomy stays ours until we craft a library.

Style Guide preset (skin)

primary
#1d70b8
pri-accent
#00703c
secondary
sec-accent
Surfaces — page · alt · emphasis · inverse
page
#ffffff
alt
#f4f8fb
emphasis
inverse
#1d70b8
btn hover
#005a30
Heading font
GDS Transport → Google: Inter
Body font
GDS Transport → Google: Inter
Heading line-height
1.2
Mobile h1
55px → 40px ⚠ big
Mobile overflow
none
Base size
16px
Type scale
not detected
Rounding
Sharp (0px)
Line width
not detected
Button hover
swap background + shadow
Text-over-image halo
not detected
Heading tracking
not detected
Label tracking
not detected
Focus ring
not detected
Easing
not detected
Container max
960px
Section padding
60px
Accent gradient
not detected
Icon stroke
not detected
Spacing unit
not detected
Transition
not detected
Link underline
true
Button
not detected

rendered (getComputedStyle on laid-out page) — higher fidelity than the regex engine

Contact form — how the fields render

field border
#767676
field fill
#ffffff
field text
#000000
focus
#767676
submit
#00703c
Captured from
www.gov.uk/contact/govuk (inner page)
Fields
4 · multi-column
Field border
2px inset #767676
Field radius
0px
Field height
21px
Field padding
1px 2px 1px 2px
Field font
Arial 13.3333px
Field shadow
not detected
Focus state
none
Label
no visible labels
Submit
"Send message" · #00703c · radius 0px

Captured form-field facts. These feed the contact-form component — see the field-token proposal in docs/contact-form-component.md.

Capture audit — what's real vs default

12 of 27 values captured from this site. The rest fall back to library defaults — shown so nothing hardcoded can pass as captured.

  • Brand primarycaptured: #1d70b8
  • Secondary colourdefault
  • Page backgroundcaptured: #ffffff
  • Text colourdefault
  • Text colour (inverse)default
  • Heading colourdefault
  • Link colourdefault
  • Link colour (inverse)default
  • Heading fontcaptured: GDS Transport
  • Body fontcaptured: GDS Transport
  • Heading size (H1)captured: 19px
  • Heading weightcaptured: 700
  • Heading trackingdefault
  • Primary button bgcaptured: #00703c
  • Primary button radiuscaptured: 0
  • Roundingcaptured: 0px
  • Line / border widthdefault
  • Button hoverdefault
  • Focus ringdefault
  • Easingdefault
  • Transition speeddefault
  • Container max-widthcaptured: 960px
  • Section paddingcaptured: 60px
  • Accent gradientdefault
  • Image treatmentcaptured: captured
  • Text-over-image halodefault
  • Icon strokedefault
  • Alt background (derived from page)library default
  • Card paddinglibrary default
  • Small/large shadow scalelibrary default
  • Secondary-button outline stylelibrary default

Inventory (raw evidence)

Palette by frequency
#0b0c0c ·2378
#000000 ·1420
#ffffff ·884
#ffdd00 ·859
#1d70b8 ·573
#b1b4b6 ·465
#f3f2f1 ·285
#505a5f ·222
#f4f8fb ·141
#003078 ·135
#d4351c ·104
#00703c ·67
#4c2c92 ·61
#00205c ·28
#00823b ·28
#12436d ·28
#1bbbaf ·28
#801650 ·28
Radii
0px2px4px5px10px100pxpill
Shadow samples
0 -2px #fd0,0 4px #0b0c0c
0 0 0 4px #fd0,0 0 0 8px #0b0c0c
0 -2px #f3f2f1,0 4px #f3f2f1
0 -2px #fd0,0 4px #0b0c0c
0 -2px #fd0,0 4px #0b0c0c

Character & component map

Shadow usage
heavy
Border usage
heavy
Gradients
rare/none
Uppercase labels
occasional
Letter-spacing
yes
Components observed vs gaps (gaps left empty — never auto-filled)
  • navobserved
  • heroobserved
  • buttonsobserved
  • cardobserved
  • pricingGAP
  • testimonialGAP
  • feature-gridGAP
  • galleryGAP
  • accordion-faqGAP
  • tabsGAP
  • tableGAP
  • formobserved
  • footerobserved
  • dropdownobserved

Worth considering — seen here, not yet captured

Notable styling present in this site's CSS that the tool doesn't yet turn into a captured value — candidates for future capture. Full coverage & roadmap →

  • container queries30×
  • CSS mask28×
  • filter (blur etc.)12×
  • sticky positioning

Beyond the capture — Claude's read & generative proposals

The character CSS mining can't reach — bespoke anatomy, motifs, the "feel". These are my interpretations and generative suggestions. They are NOT applied to the reconstruction above — they're ideas to react to when this becomes a library's seed.

Not reviewed yet. Ask Claude in chat to “read this teardown” and I'll add observations + generative proposals here.