The Guardian

#Foundations

The docs are written one section at a time, from what the capture read and a review of full-page shots. A draft has captured data to write from; a missing section needs another capture pass.

5 of 6 with captured data · 5 written

Color

Reviewed

White pages with #121212 ink, #707070 for secondary text and field edges, #dcdcdc rules. Navy #052962 is the brand: the masthead, the footer and the primary button. Source's blue #0077b6 is for focus, checks, radios and help links; #c1d8fc fills the secondary button; yellow #ffe500 is kept for reader revenue (Support us). Errors are #c70000 and success #22874d. Dark (an opt-in on theguardian.com) turns the article #1a1a1a with #dcdcdc ink and #333333 rules; the sign-in gateway goes black with #999999 field edges.

Usage

  • Articles and fronts take a pillar accent for kickers, bylines and body links: news #c70000, opinion #e05e00, sport #0077b6, culture #866d50, lifestyle #bb3b80.
  • In dark the masthead and its edition menu stay navy and white.

Type

Reviewed

Three proprietary faces. GH Guardian Headline for headlines (500 at 34px on an article, 24px at 700 for container titles), Guardian Text Egyptian for body copy (17px at 400) and Guardian Text Sans for the interface: 17px for buttons and fields, 14px for small controls and table text, 12px for metadata. Buttons are 700.

Usage

  • Times New Roman in the census is unstyled wrapper elements in the Storybooks, not text the reader sees.

Shape

Reviewed

Buttons are pills at every size. Fields, selects, checkboxes and summary boxes have 4px corners. Cards on fronts are square, set off by a top rule; the support site's tier cards round to 12px and popovers to 8px.

Spacing

Reviewed

A 4px base where 8px and 16px dominate. Buttons are 44px (default), 36px (small) and 24px (xsmall) with 20, 16 and 12px sides. Fields are 44px or 36px with 8px sides.

Elevation

Reviewed

Flat: rules and fills do the work and almost nothing casts a shadow. Focus is Source's blue: a 3px #0077b6 halo on links, fields and checks, and a 5px ring on buttons.

#Components

One section per component: its variants and sizes by name, its states, and how the product uses it.

16 of 30 with captured data · 15 written

button

Reviewed

Source buttons are 700-weight pills in four priorities: primary (navy), secondary (pale blue), tertiary (outlined) and subdued (an underlined text button). Each priority is restyled by theme: brand (on navy), brand alt (on yellow) and reader revenue (yellow). Sizes are default (44px), small (36px) and xsmall (24px, 14px text).

Variants26 found, 4 named by the product · 9 shown, named first

Loading…

primarystory args×26#052962 under white; #03183a on hover. In dark, #dcdcdc under navy.

Loading…

secondarystory args×11#c1d8fc under #052962; #9ec1fa on hover.

Loading…

subduedstory args×5No fill: navy text at 700, underlined.

Loading…

tertiarystory args×5White with a 1px #052962 edge and navy text; #e6e9ef on hover.

Loading…

editionnamed by AI×14US: the masthead's edition picker, white text on navy at 400.

Loading…

menunamed by AI×5The masthead's menu button: a 40px #ffe500 circle.

Loading…

brand, primarynamed by AI×4White under navy: the primary on the brand theme, for buttons on the masthead.

Loading…

sharenamed by AI×3Share on an article: a white pill with a 1px #dcdcdc edge and the pillar color, 36px.

Loading…

reader revenuetheir docs×3Subscribe now, Support us: #ffe500 under navy.

Sizes13 found, 3 named by the product · 6 shown, named first

SizeHeightPaddingTextIconSeen
xsmallstory args24px, 14px.24px0px14px20x20×12
xsmall, labellednamed by AI24px with 12px sides.24px12px14px20x20×4
smallstory args36px, 17px.36px0px17px—×5
small, labellednamed by AI36px with 16px sides.36px16px17px26x26×7
defaultstory args44px, 17px: icon-only and subdued buttons, which carry no side padding.44px0px17px24x24×7
default, labellednamed by AI44px with 20px sides.44px20px17px30x30×29

StatesOf its first variant, primary · default, labelled.

Loading…

rest

Loading…

hover

Loading…

pressed

Loading…

focus

Loading…

disabled

Left outLooks the capture put here that are not this component.

  • v-mblainan Accordion row's header
  • v-l1m7zgan Accordion row's header in the custom theme
  • v-6v376wa browser-default button inside the ExpandingWrapper story's demo content
  • v-pfd1wmthe article's dateline, a disclosure with no button look

badge

Reviewed

Variants4 found, 0 named by the product

Loading…

medianamed by AI×7Podcast 47:28: a #565656 pill under white at 700, 24px.

Loading…

recommendednamed by AI×1Recommended on the support site: #0077b6 under white, 4px corners.

Loading…

newnamed by AI×1New: #c70000 under white at 700, 4px corners.

Loading…

unnamedv-i7pk97×7The Podcast half of the same pill, set off by a 1px #ababab rule.

Sizes4 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-lji9sa18.2px4px14px—×1
unnameds-10gmq524px8px12px18x18×7
unnameds-19621l24px0px12px—×7
unnameds-4w8aqj29.5px16px15px—×1

StatesOf its first variant, media.

Loading…

rest

Left outLooks the capture put here that are not this component.

  • v-dw06rza football table's form guide: 4px bars, not badges
  • v-pyt209the Back to top button's arrow circle
  • v-3z4v6tan icon chip with no label
  • v-dblbc7highlighted demo text in the ExpandingWrapper story

Still missing

  • Keyword tags at an article's foot are links, so they landed under link.

tabs

Reviewed

tab

Variants4 found, 0 named by the product

Loading…

defaulttheir docs×1Source's Tabs: #dcdcdc with 1px #999999 edges on three sides and 8px corners; the current tab turns #f6f6f6.

Loading…

darktheir docs×1#121212 under #f6f6f6; the current tab turns #333333.

Loading…

most viewednamed by AI×1Most viewed: GH Guardian Headline at 600 with no fill; a 4px bar marks the current tab.

Loading…

unnamedv-8unmq0×1The custom theme: #506991, the current tab #041f4a.

Sizes2 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-o78u3t28px, 10px sides.28px10px17px—×1
unnameds-l2jqf548px, 12px sides, 17px at 700.48px12px17px—×3

StatesOf its first variant, default.

Loading…

rest

Loading…

focus

Loading…

selected

Left outLooks the capture put here that are not this component.

  • v-doaxoothe support site's Monthly / Annual picker, a segmented control

tablist

Variants1 found, 0 named by the product

Loading…

most viewednamed by AI×1The Most viewed box, ruled in #dcdcdc on both sides.

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-15zhf5————×1

StatesOf its first variant, most viewed.

Loading…

rest

text-field

Reviewed

TextInput is white with a 1px #707070 edge and 4px corners, 17px text and 8px sides. Focus adds a 3px #0077b6 halo; success turns the edge 2px #22874d and errors 2px #c70000. On the dark gateway the field is black on a #999999 edge.

Variants8 found, 0 named by the product

Loading…

defaulttheir docs×45TextInput and TextArea.

Loading…

successtheir docs×9A 2px #22874d edge with green text.

Loading…

gatewaynamed by AI×1The sign-in email field: navy text; black with a #999999 edge in dark.

Loading…

unnamedv-5orrgd×2NumericInput with a suffix, success.

Loading…

unnamedv-7d0xnr×2NumericInput with a prefix and a suffix.

Loading…

unnamedv-if2fxg×2Source's custom theme story: a dark palette with #1a1a1a and #333333 fills, #999999 edges and #dcdcdc text.

Loading…

unnamedv-pjymzb×2NumericInput with a suffix: the edge opens on the suffix side.

Loading…

unnamedv-zg0128×2NumericInput with a prefix.

Sizes4 found, 2 named by the product

SizeHeightPaddingTextIconSeen
smallstory args36px, 14px.36px8px14px—×28
mediumstory args44px, 17px.44px8px17px—×35
unnameds-t1rg5vTextArea with rows, small.191.9px8px14px—×1
unnameds-cu47jgTextArea with rows.230.9px8px17px—×1

StatesOf its first variant, default · medium.

Loading…

rest

Loading…

focus

Loading…

disabled · set by the capture

Left outLooks the capture put here that are not this component.

  • v-77k1aca browser-default input in the Label story
  • v-4k702ta color picker in the Hover colours foundation story

select

Reviewed

Variants3 found, 0 named by the product

Loading…

defaulttheir docs×544px, 1px #707070 edge, 4px corners; a 2px #c70000 edge when invalid, 70% opacity when disabled.

Loading…

successtheir docs×3A 2px #22874d edge with green text.

Loading…

unnamedv-if2fxg×1Source's custom theme story: a dark palette with #1a1a1a and #333333 fills, #999999 edges and #dcdcdc text.

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-bambn644px8px17px—×9

StatesOf its first variant, default.

Loading…

rest

Loading…

focus

Loading…

disabled · set by the capture

Loading…

invalid

checkbox

Reviewed

Variants2 found, 0 named by the product

Loading…

defaulttheir docs×324px, 1px #707070 edge, 4px corners; 2px #0077b6 on hover.

Loading…

brandtheir docs×1On navy: a 1px #c1d8fc edge, white on hover.

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-v26iv024px0px13.3333px—×4

StatesOf its first variant, default.

Loading…

rest

Loading…

hover

Loading…

focus

radio-group

Reviewed

22px circles with a 1px #707070 edge; checked, they turn #0077b6 with a 2px edge. The fill sits on a pseudo-element, so the resting fill reads as the edge color.

Variants5 found, 0 named by the product

Loading…

defaulttheir docs×6

Loading…

brandtheir docs×2On navy: #c1d8fc edges, white when checked.

Loading…

errortheir docs×2A 2px #c70000 edge.

Loading…

unnamedv-9uw1k1×1Error on the brand theme: a 2px #ff9081 edge.

Loading…

unnamedv-i5tbqx×1Source's custom theme story: a dark palette with #1a1a1a and #333333 fills, #999999 edges and #dcdcdc text.

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-gilw3i22px0px13.3333px—×12

StatesOf its first variant, default.

Loading…

rest

Loading…

hover

Loading…

focus

Loading…

selected

switch

Reviewed

Variants3 found, 0 named by the product

Loading…

defaulttheir docs×10ToggleSwitch: a 24px #707070 track, #22874d when on.

Loading…

iostheir docs×4The apps' iOS switch: 31px, #cccccc, #58d08b when on.

Loading…

androidtheir docs×3The apps' Android switch: a 12px #b7b7b7 track, #92e0b3 when on.

Sizes3 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-5gnyh512px0px13.3333px—×3
unnameds-v26iv024px0px13.3333px—×10
unnameds-qz6rke31px0px13.3333px—×4

StatesOf its first variant, default.

Loading…

rest

Loading…

focus

Loading…

selected

Loading…

disabled · set by the capture

dialog

Reviewed

No modal is in this census; Source's Popover reads here.

Variants3 found, 0 named by the product

Loading…

popovertheir docs×3#ededed, 8px corners, 16px padding, a title over 15px text and a pointer.

Loading…

lighttheir docs×2The light popover: white.

Loading…

darktheir docs×1The dark popover: #1a1a1a under #f6f6f6.

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-15zhf5————×6

StatesOf its first variant, popover.

Loading…

rest

table

Reviewed

Variants1 found, 0 named by the product

Loading…

footballnamed by AI×20A league table: #f6f6f6 under a 1px #00b2ff top rule, teams in striped rows.

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-15zhf5————×20

StatesOf its first variant, football.

Loading…

rest

card

Reviewed

Cards on fronts have no fill, edge or corners: a 1px #bababa top rule over the headline. Source's summaries are white boxes with a 2px colored edge and 4px corners; the support site's tier cards are 12px-round.

Variants11 found, 0 named by the product · 9 shown, named first

Loading…

error summarytheir docs×5ErrorSummary: a 2px #c70000 edge, 4px corners.

Loading…

containertheir docs×5Container with a top border: a 1px #dcdcdc rule, 20px sides.

Loading…

success summarytheir docs×4SuccessSummary: a 2px #22874d edge.

Loading…

info summarytheir docs×4InfoSummary: a 2px #0077b6 edge.

Loading…

frontnamed by AI×3A card on a front: a 1px #bababa top rule, no fill or corners.

Loading…

tiernamed by AI×2A support tier: white, 12px corners, 12px padding.

Loading…

recommended tiernamed by AI×1The Recommended tier: #f1fbff.

No copy

expanding wrappertheir docs×1ExpandingWrapper: #f6f6f6 under a 13px #121212 top bar.

No copy

unnamedv-i83bcp×1ExpandingWrapper on the custom theme: navy.

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-15zhf5————×86

StatesOf its first variant, error summary.

Loading…

rest

Left outLooks the capture put here that are not this component.

  • v-j6wi1fa swatch in the Hover colours foundation story
  • v-mzss3zthe football section's sub-navigation
  • v-xh8w5wa browser-default fieldset in the Legend story
  • v-yj7ukta browser-default fieldset in the Legend story, brand theme
  • v-bfwakga browser-default fieldset in the Legend story, custom theme
  • v-5o1pb5the footer
  • v-krq3r1the Ticker's progress track
  • v-d4vfh8the support page's navy header band

separator

Reviewed

Variants6 found, 0 named by the product

Loading…

dividertheir docs×3Divider: a 1px #dcdcdc rule.

Loading…

sectionnamed by AI×2A 2px #333333 rule over a section.

Loading…

articlenamed by AI×1A 1px #bababa rule in an article.

Loading…

unnamedv-4z8x05×7The footer's rule: 1px #506991 on navy.

Loading…

unnamedv-gfk6tz×1The same 1px #bababa rule on a #f3f7ff band.

Loading…

unnamedv-yfa9xq×1A vertical 1px #dcdcdc rule on the support site.

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-15zhf5————×15

StatesOf its first variant, divider.

Loading…

rest

alert

Reviewed

Source's user feedback is inline text with an icon, no box: InlineError in #c70000 and InlineSuccess in #22874d, at 17px or 14px. On navy they lighten to #ff9081 and #58d08b. The boxed summaries landed under card.

Variants6 found, 0 named by the product

Loading…

inline errortheir docs×25#c70000 text with an icon.

Loading…

inline successtheir docs×17#22874d text with an icon.

Loading…

unnamedv-1vx78n×5InlineError in the custom theme: #ff9081 on #1a1a1a.

Loading…

unnamedv-xsy15q×4InlineError on the brand theme: #ff9081 on navy.

Loading…

unnamedv-g8dpn0×2InlineSuccess on the brand theme: #58d08b on navy.

Loading…

unnamedv-1mjmwj×1InlineSuccess in the custom theme: #58d08b on #1a1a1a.

Sizes2 found, 2 named by the product

SizeHeightPaddingTextIconSeen
smallstory args26px0px14px26x26×14
mediumstory args30px0px17px—×40

StatesOf its first variant, inline error · medium.

Loading…

rest

field

Reviewed

Variants2 found, 0 named by the product

Loading…

defaultnamed by AI×11A ToggleSwitch's label: #121212 at 400, 15px or 17px.

Loading…

boldnamed by AI×5The same label at 700.

Sizes2 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-rlevcx——15px24x24×13
unnameds-30fhsd——17px—×5

StatesOf its first variant, default.

Loading…

rest

Left outLooks the capture put here that are not this component.

  • v-qb5mgla ChoiceCard, whose label element is the whole card
  • v-6t1ospa ChoiceCard in the custom theme
  • v-rv36iothe ExpandingWrapper's Show more pill, a button
  • v-xilsaothe ExpandingWrapper's Show more pill on the custom theme
  • v-k8guj1a label in the Hover colours foundation story