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
Header
Footer
Buttons
Feedback colours
Announcement bar
Colour variations
Background to foreground contrast scale
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
- List Item 1
- List Item 2
- List Item 3
Unordered List
- List Item 1
- List Item 2
- List Item 3
Inline elements
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 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 |