Style Guide

Fonts

Headings h1/.h1 h2/.h2 h3/.h3 h4/.h4 h5/.h5 h6/.h6

Font family: RocaTwo, sans-serif / Font style: normal / Font weight: 400

Display - The quick brown fox

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

Body .text-sm .text-lg

Font family: Filson Pro Book, 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.

Large - 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.

Display text .d1 .d2 .d3

the feel good place to buy books

the feel good place to buy books

the feel good place to buy books

Colour system

Core

 
Pink
#E5657C
Usage: --wob--pink
rgb(229, 101, 124)
hsl(349, 71%, 65%)
 
Yellow
#FFD731
Usage: --wob--yellow
rgb(255, 215, 49)
hsl(48, 100%, 60%)
 
Orange
#E9634E
Usage: --wob--orange
rgb(233, 99, 78)
hsl(8, 78%, 61%)
 
Blue
#6883FF
Usage: --wob--blue
rgb(104, 131, 255)
hsl(229, 100%, 70%)
 
Purple
#9581CB
Usage: --wob--purple
rgb(149, 129, 203)
hsl(256, 42%, 65%)
 
Green (Base)
Usage: --wob--green-base
#46A270
rgb(70, 162, 112)
hsl(147, 40%, 45%)

Tints

 
Green tint 1
#ECF9ED
Usage: --wob--green-tint-1
rgb(236, 249, 237)
hsl(125, 52%, 95%)
 
Green tint 2
#F8FFF8
Usage: --wob--green-tint-2
rgb(248, 255, 248)
hsl(120, 100%, 99%)
 
Green tint 3
#F8F6F4
Usage: --wob--green-tint-3
rgb(248, 246, 244)
hsl(30, 22%, 96%)

Greens

 
Green 1
#005748
Usage: --wob--green-1
rgb(0, 87, 72)
hsl(170, 100%, 17%)
 
Green 2
#30844A
Usage: --wob--green-2
rgb(48, 132, 74)
hsl(139, 47%, 35%)
 
Green 3
#2C6F41
Usage: --wob--green-3
rgb(44, 111, 65)
hsl(139, 43%, 30%)

Greys

 
Grey tint 1
#5E5E5E
Usage: --wob--grey-tint-1
rgb(94, 94, 94)
hsl(0, 0%, 37%)
 
Grey tint 2
#D9D9D9
Usage: --wob--grey-tint-2
rgb(217, 217, 217)
hsl(0, 0%, 85%)
 
Grey tint 3
#F0F0F0
Usage: --wob--grey-tint-3
rgb(240, 240, 240)
hsl(0, 0%, 94%)
 
Grey tint 4
#F8F8F8
Usage: --wob--grey-tint-4
rgb(248, 248, 248)
hsl(0, 0%, 97%)

General

 
Background
#FFFFFF
rgb(255, 255, 255)
hsl(0, 0%, 100%)
 
Text
#005748
rgb(0, 87, 72)
hsl(170, 100%, 17%)
 
Links
#1D1D1D
rgb(29, 29, 29)
hsl(0, 0%, 11%)

Feedback colours

 
Error message
#E22120
rgb(226, 33, 32)
hsl(0, 77%, 51%)
 
Success message
#26532B
rgb(38, 83, 43)
hsl(127, 37%, 24%)
 
Text

Buttons

Add to bag button   .button .product-form__submit

Primary button   .button .primary

Primary button outlined   .button .primary .outline

Primary button inverted   .button .primary .invert


Secondary button   .button .secondary

Secondary button outlined   .button .secondary .outline

Secondary button inverted   .button .secondary .invert


Tertiary button   .button .tertiary

Tertiary button outlined   .button .tertiary .outline

Tertiary button inverted   .button .tertiary .invert




Full width .button .button--full-width


Special Use buttons   

white outlined   .button .white .outline

Green button   .button .button-green
Green button dark   .button .button-green .button-dark
Pink button   .button .button-pink
Pink button dark   .button .button-pink .button-dark
Yellow button   .button .button-yellow
Yellow button dark   .button .button-yellow .button-dark
Orange button   .button .button-orange
Orange button dark   .button .button-orange .button-dark
Blue button   .button .button-blue
Blue button dark   .button .button-blue .button-dark
Purple button   .button .button-purple
Purple button dark   .button .button-purple .button-dark
Red button   .button .button-red

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
Optional
Text Field Helper Text
Text Field Helper Text
Optional
Optional
Text Field Helper Text
Text Field Helper Text
Optional
Error Helper Text
Error Helper Text
Optional
Text Field Helper Text
Error Helper Text
Text Field Helper Text
Error Helper Text
Optional

Checkboxes

Checkboxes

Radio buttons

Radio buttons

HTML5 inputs

HTML5 inputs

Action buttons

Action buttons