Skip to content
This repository was archived by the owner on Aug 20, 2025. It is now read-only.

Commit f4d93c1

Browse files
author
Chris Brett
committed
docs: update markdown tables
Some markdown tables on documentation site are showing incorrectly.
1 parent dd6c1ed commit f4d93c1

2 files changed

Lines changed: 11 additions & 7 deletions

File tree

website/src/docs/1.0/utilities/background-colors.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,19 +53,21 @@ Background colors are most commonly used for filling large blocks of content or
5353
| `.bg-blue-light` | `$blue-light (#f2f8ff)` |
5454
| `.bg-turquoise-dark` | `$turquoise-dark (#5cc0b5)` |
5555
| `.bg-turquoise-primary` | `$turquoise-primary (#81cec6)` |
56-
| `.bg-turquoise-mid ` | `$turquoise-mid (#b8e3df)` |
56+
| `.bg-turquoise-mid` | `$turquoise-mid (#b8e3df)` |
5757
| `.bg-turquoise-light` | `$turquoise-light (#eaf9f7)` |
5858
| `.bg-red-light` | `$red-light (#fae1e1)` |
5959
| `.bg-black` | `$black (#000000)` |
6060
| `.bg-dark-grey` | `$dark-grey (#333333)` |
6161
| `.bg-mid-grey` | `$mid-grey (#606060)` |
62-
| `.bg-grey` | ` $grey (#9f9f9f)` |
62+
| `.bg-grey` | `$grey (#9f9f9f)` |
6363
| `.bg-light-grey` | `$light-grey (#dfdfdf)` |
6464
| `.bg-pale-grey` | `$pale-grey (#f2f2f2)` |
6565
| `.bg-white` | `$white (#ffffff)` |
6666
| `.bg-heritage-yellow` | `$heritage-yellow (#fcbb69)` |
6767
| `.bg-red-primary` | `$red-primary (#df3034)` |
6868

69+
### Example markup
70+
6971
```html
7072
<div class="bg-heritage-blue">
7173
A block with background colour of #004B88

website/src/docs/1.0/utilities/text-colors.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ title: Colours
44
---
55
# Text-colors
66

7-
| Name | Type | Version |
8-
|-------------------------------|--------|-------------------------------------------------------------------------------|
7+
| Name | Type | Version |
8+
|-------------------------------|-------- -------------------------------------------------------------------------------|
99
| `@citizensadvice/text-colors` | Utilty | ![npm (scoped)](https://img.shields.io/npm/v/@citizensadvice/text-colors.svg) |
1010

1111

@@ -41,7 +41,7 @@ You can make use of the [unpkg](https://unpkg.com) service, try adding the link
4141

4242
Defines the colour of text.
4343

44-
### Background Colours
44+
### Text Colours
4545

4646
| Available classes | Value |
4747
|-----------------------|---------------------------------|
@@ -54,19 +54,21 @@ Defines the colour of text.
5454
| `.blue-light` | `$blue-light (#f2f8ff)` |
5555
| `.turquoise-dark` | `$turquoise-dark (#5cc0b5)` |
5656
| `.turquoise-primary` | `$turquoise-primary (#81cec6)` |
57-
| `.turquoise-mid ` | `$turquoise-mid (#b8e3df)` |
57+
| `.turquoise-mid` | `$turquoise-mid (#b8e3df)` |
5858
| `.turquoise-light` | `$turquoise-light (#eaf9f7)` |
5959
| `.red-light` | `$red-light (#fae1e1)` |
6060
| `.black` | `$black (#000000)` |
6161
| `.dark-grey` | `$dark-grey (#333333)` |
6262
| `.mid-grey` | `$mid-grey (#606060)` |
63-
| `.grey` | ` $grey (#9f9f9f)` |
63+
| `.grey` | `$grey (#9f9f9f)` |
6464
| `.light-grey` | `$light-grey (#dfdfdf)` |
6565
| `.pale-grey` | `$pale-grey (#f2f2f2)` |
6666
| `.white` | `$white (#ffffff)` |
6767
| `.heritage-yellow` | `$heritage-yellow (#fcbb69)` |
6868
| `.red-primary` | `$red-primary (#df3034)` |
6969

70+
### Example markup
71+
7072
```html
7173
<p class="heritage-blue">A block with a text colour of #004B88</p>
7274
<p class="grey">A block with a text colour of #9f9f9f</p>

0 commit comments

Comments
 (0)