Style guide

Fonts

Headings .text-xxl .text-xl .h0 h1/.h1 h2/.h2 h3/.h3 h4/.h4 h5/.h5 h6/.h6

Font family: 'DM Sans', sans-serif / Font style: normal / Font weight: 500

Largest - The quick brown fox jumps over the lazy dog

Larger - The quick brown fox jumps over the lazy dog

Large - The quick brown fox jumps over the lazy dog

H1 - The quick brown fox jumps over the lazy dog

H2 - The quick brown fox jumps over the lazy dog

H3 - The quick brown fox jumps over the lazy dog

H4 - The quick brown fox jumps over the lazy dog

H5 - The quick brown fox jumps over the lazy dog
H6 - The quick brown fox jumps over the lazy dog

Body .text-sm .text-xs

Font family: 'DM Sans', sans-serif / Font style: normal / Font weight: 400

Base - A paragraph (from the Greek paragraphos, “to write beside” or “written beside”) is a self-contained unit of a discourse in writing dealing with a particular point or idea. A paragraph consists of one or more sentences. Though not required by the syntax of any language, paragraphs are usually an expected part of formal writing, used to organize longer prose.

Small - A paragraph (from the Greek paragraphos, “to write beside” or “written beside”) is a self-contained unit of a discourse in writing dealing with a particular point or idea. A paragraph consists of one or more sentences. Though not required by the syntax of any language, paragraphs are usually an expected part of formal writing, used to organize longer prose.

Smallest - A paragraph (from the Greek paragraphos, “to write beside” or “written beside”) is a self-contained unit of a discourse in writing dealing with a particular point or idea. A paragraph consists of one or more sentences. Though not required by the syntax of any language, paragraphs are usually an expected part of formal writing, used to organize longer prose.

Colour system

General

 
Background
#FFFFFF
rgb(255, 255, 255)
hsl(0, 0%, 100%)
 
Text
#2c2c2c
rgb(44, 44, 44)
hsl(0, 0%, 17%)
 
Links
#2c2c2c
rgb(44, 44, 44)
hsl(0, 0%, 17%)
 
Sale prices and labels
#ffe66b
rgb(255, 230, 107)
hsl(50, 100%, 71%)

Header

 
Background
#FFFFFF
rgb(255, 255, 255)
hsl(0, 0%, 100%)
 
Store name
#2c2c2c
rgb(44, 44, 44)
hsl(0, 0%, 17%)
 
Text and icons
#2c2c2c
rgb(44, 44, 44)
hsl(0, 0%, 17%)

Footer

 
Background
#FFFFFF
rgb(255, 255, 255)
hsl(0, 0%, 100%)
 
Text
#2c2c2c
rgb(44, 44, 44)
hsl(0, 0%, 17%)

Buttons

 
Primary button border
#7af5b6
rgb(122, 245, 182)
hsl(149, 86%, 72%)
 
Primary button background
#7af5b6
rgb(122, 245, 182)
hsl(149, 86%, 72%)
 
Primary button text
#2c2c2c
rgb(44, 44, 44)
hsl(0, 0%, 17%)
 
Primary button border hover
#7af5b6
rgb(122, 245, 182)
hsl(149, 86%, 72%)
 
Primary button background hover
#7af5b6
rgb(122, 245, 182)
hsl(149, 86%, 72%)
 
Primary button text hover
#2c2c2c
rgb(44, 44, 44)
hsl(0, 0%, 17%)
 
Secondary button border
#2c2c2c
rgb(44, 44, 44)
hsl(0, 0%, 17%)
 
Secondary button background
rgba(0,0,0,0)
rgba(0, 0, 0, 0.0)
hsla(0, 0%, 0%, 0.0)
 
Secondary button text
#2c2c2c
rgb(44, 44, 44)
hsl(0, 0%, 17%)
 
Secondary button border hover
#d1d1d1
rgb(209, 209, 209)
hsl(0, 0%, 82%)
 
Secondary button background hover
rgba(0,0,0,0)
rgba(0, 0, 0, 0.0)
hsla(0, 0%, 0%, 0.0)
 
Secondary button text hover
#2c2c2c
rgb(44, 44, 44)
hsl(0, 0%, 17%)

Feedback colours

 
Error message
#b5330e
rgb(181, 51, 14)
hsl(13, 86%, 38%)
 
Success message
#009157
rgb(0, 145, 87)
hsl(156, 100%, 28%)

Announcement bar

 
Background
#ffac82
rgb(255, 172, 130)
hsl(20, 100%, 75%)
 
Text
#2c2c2c
rgb(44, 44, 44)
hsl(0, 0%, 17%)

Colour variations

 
Lighter
#ffffff
rgb(255, 255, 255)
hsl(0, 0%, 100%)
 
Light
#ffffff
rgb(255, 255, 255)
hsl(0, 0%, 100%)
 
Background
#FFFFFF
rgb(255, 255, 255)
hsl(0, 0%, 100%)
 
Dark
#cccccc
rgb(204, 204, 204)
hsl(0, 0%, 80%)
 
Darker
#999999
rgb(153, 153, 153)
hsl(0, 0%, 60%)
 
Lighter
#464646
rgb(70, 70, 70)
hsl(0, 0%, 27%)
 
Light
#393939
rgb(57, 57, 57)
hsl(0, 0%, 22%)
 
Text
#2c2c2c
rgb(44, 44, 44)
hsl(0, 0%, 17%)
 
Dark
#1f1f1f
rgb(31, 31, 31)
hsl(0, 0%, 12%)
 
Darker
#121212
rgb(18, 18, 18)
hsl(0, 0%, 7%)
 
Lighter
#464646
rgb(70, 70, 70)
hsl(0, 0%, 27%)
 
Light
#393939
rgb(57, 57, 57)
hsl(0, 0%, 22%)
 
Links
#2c2c2c
rgb(44, 44, 44)
hsl(0, 0%, 17%)
 
Dark
#1f1f1f
rgb(31, 31, 31)
hsl(0, 0%, 12%)
 
Darker
#121212
rgb(18, 18, 18)
hsl(0, 0%, 7%)
 
Lighter
#fff6c7
rgb(255, 246, 199)
hsl(50, 100%, 89%)
 
Light
#ffee99
rgb(255, 238, 153)
hsl(50, 100%, 80%)
 
Sale prices and labels
#ffe66b
rgb(255, 230, 107)
hsl(50, 100%, 71%)
 
Dark
#ffde3d
rgb(255, 222, 61)
hsl(50, 100%, 62%)
 
Darker
#ffd60f
rgb(255, 214, 15)
hsl(50, 100%, 53%)

Background to foreground contrast scale

 
Ligher
#FFFFFF
rgb(255, 255, 255)
hsl(0, 0%, 100%)
 
Light
#cbcbcb
rgb(203, 203, 203)
hsl(0, 0%, 80%)
 
Netural
#969696
rgb(150, 150, 150)
hsl(0, 0%, 59%)
 
Dark
#616161
rgb(97, 97, 97)
hsl(0, 0%, 38%)
 
Darker
#2c2c2c
rgb(44, 44, 44)
hsl(0, 0%, 17%)

Buttons

Primary button .button .button--primary

Contract checker: AAA ✓ AA ✓

Secondary button .button .button--secondary

Contract checker: AAA ✓ AA ✓

Tertiary button .button .button--tertiary

Contract checker: AAA ✓ AA ✓

Full width .button--full-width

Typography

Paragraph

A paragraph (from the Greek paragraphos, “to write beside” or “written beside”) is a self-contained unit of a discourse in writing dealing with a particular point or idea. A paragraph consists of one or more sentences. Though not required by the syntax of any language, paragraphs are usually an expected part of formal writing, used to organize longer prose.

Blockquote

A block quotation (also known as a long quotation or extract) is a quotation in a written document, that is set off from the main text as a paragraph, or block of text.

It is typically distinguished visually using indentation and a different typeface or smaller size quotation. It may or may not include a citation, usually placed at the bottom.

Said no one, ever.

Ordered List

  1. List Item 1
  2. List Item 2
  3. List Item 3

Unordered List

  • List Item 1
  • List Item 2
  • List Item 3

Inline elements

This is a text link.

Strong is used to indicate strong importance.

This text has added emphasis.

The b element is stylistically different text from normal text, without any special importance.

The i element is text that is offset from the normal text.

The u element is text with an unarticulated, though explicitly rendered, non-textual annotation.

This text is deleted and This text is inserted.

This text has a strikethrough.

Superscript®.

Subscript for things like H2O.

This small text is small for for fine print, etc.

Abbreviation: HTML

This text is a short inline quotation.

This is a citation.

The dfn element indicates a definition.

The mark element indicates a highlight.

The variable element, such as x = y.

The time element:

Horizontal rules


Tabular data

Table Caption
Table Heading 1 Table Heading 2 Table Heading 3 Table Heading 4 Table Heading 5
Table Footer 1 Table Footer 2 Table Footer 3 Table Footer 4 Table Footer 5
Table Cell 1 Table Cell 2 Table Cell 3 Table Cell 4 Table Cell 5
Table Cell 1 Table Cell 2 Table Cell 3 Table Cell 4 Table Cell 5
Table Cell 1 Table Cell 2 Table Cell 3 Table Cell 4 Table Cell 5
Table Cell 1 Table Cell 2 Table Cell 3 Table Cell 4 Table Cell 5

Form elements

Input fields

Input fields

Select menus

Select menus

Checkboxes

Checkboxes

Radio buttons

Radio buttons

Textareas

Textareas

HTML5 inputs

HTML5 inputs

Action buttons

Action buttons