diff --git a/addon/styles/global.css b/addon/styles/global.css index 69d7636d..e9082a17 100644 --- a/addon/styles/global.css +++ b/addon/styles/global.css @@ -10,11 +10,13 @@ --color-danger: #FFD8E1; --color-warning: #FCFFC9; --color-info: #E3EEFC; + --text-preset-1: 1.5rem; - --text-preset-2: 2.5rem; - --text-preset-3: 4rem; - --text-preset-4: 6rem; - --text-preset-5: 8rem; + --text-preset-2: 2.25rem; + --text-preset-3: 3.375rem; + --text-preset-4: 5.063rem; + --text-preset-5: 7.594rem; + --font-weight-1: 300; --font-weight-2: 400; --font-weight-3: 600; diff --git a/addon/styles/typography.css b/addon/styles/typography.css index ba92c21a..6dd90b24 100644 --- a/addon/styles/typography.css +++ b/addon/styles/typography.css @@ -71,6 +71,14 @@ font-size: var(--text-preset-5); } +h1, h2, h3 { + margin-bottom: var(--spacing-1); +} + +p { + margin-bottom: var(--spacing-2); +} + .light { font-weight: var(--font-weight-1); } diff --git a/docs/concepts/colours.md b/docs/concepts/colours.md index f756edbb..b4aed612 100644 --- a/docs/concepts/colours.md +++ b/docs/concepts/colours.md @@ -1,11 +1,11 @@ # Colours -### Here we talk about the color scheme +### Usage +#### Legibility +Website elements like text and icons should meet accesibility standards when used against colored backgrounds. The following swatches contain a sample of each of the primary palette colors, along with recommendations for its usage and the acceptable contrast guidelines when coupled with text. ## Primary Colours -The primary palette is applied across every page of the website and contains the brand, accent and neutral colours. The purpose of the primary palette is to keep uniformity across all pages while encouraging accessibility best practices. - -The following swatches contain a sample of each of the primary palette colours, along with recommendations for its usage and the acceptable contrast guidelines when coupled with text. +The primary palette is applied across every page of the website and contains the brand, accent and neutral colors. The purpose of the primary palette is to keep uniformity across all pages while encouraging accessibility best practices.