diff --git a/lib/index.scss b/lib/index.scss index 0a9a9e9..15d8c99 100644 --- a/lib/index.scss +++ b/lib/index.scss @@ -357,7 +357,7 @@ table { } } -.tna-colour-swatch { +.tna-ds-colour-swatch { width: 2rem; height: 2rem; margin-right: 0.75rem; diff --git a/src/styles/colours/index.md b/src/styles/colours/index.md index be65664..a899c60 100644 --- a/src/styles/colours/index.md +++ b/src/styles/colours/index.md @@ -10,106 +10,106 @@ Always use the provided TNA colour palette. ### The greys -| Colour | Hex | -| ------------- | ---------------------------------------------------------------------------- | -| Black | `#000000` | -| Grey | `#8c9694` | -| Light grey | `#d9d9d6` | -| White | `#ffffff` | +| Colour | Hex | +| ------------- | ------------------------------------------------------------------------------- | +| Black | `#000000` | +| Grey | `#8c9694` | +| Light grey | `#d9d9d6` | +| White | `#ffffff` | ### Primary -| Colour | Hex | -| ------------- | ---------------------------------------------------------------------------- | -| Yellow | `#ffcc00` | -| Pink | `#fe1d57` | -| Orange | `#fd3f03` | -| Green | `#86bc25` | -| Blue | `#00b0ff` | +| Colour | Hex | +| ------------- | ------------------------------------------------------------------------------- | +| Yellow | `#ffcc00` | +| Pink | `#fe1d57` | +| Orange | `#fd3f03` | +| Green | `#86bc25` | +| Blue | `#00b0ff` | ### Darks -| Colour | Hex | -| ------------- | ---------------------------------------------------------------------------- | -| Brown | `#654e37` | -| Maroon | `#9c193a` | -| Chestnut | `#8f3415` | -| Forest | `#00623b` | -| Navy | `#004c7e` | +| Colour | Hex | +| ------------- | ------------------------------------------------------------------------------- | +| Brown | `#654e37` | +| Maroon | `#9c193a` | +| Chestnut | `#8f3415` | +| Forest | `#00623b` | +| Navy | `#004c7e` | ### Lights -| Colour | Hex | -| ------------- | ---------------------------------------------------------------------------- | -| Cream | `#f9f7e2` | -| Pastel pink | `#fad3d4` | -| Pastel orange | `#f9e1bc` | -| Pastel green | `#dde5d5` | -| Pastel blue | `#d4e5ef` | +| Colour | Hex | +| ------------- | ------------------------------------------------------------------------------- | +| Cream | `#f9f7e2` | +| Pastel pink | `#fad3d4` | +| Pastel orange | `#f9e1bc` | +| Pastel green | `#dde5d5` | +| Pastel blue | `#d4e5ef` | ## Theme colours -| Colour/Theme | Light | Dark | -| ---------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `page-background` | `#f4f4f4;` | `#111111` | -| `background-tint` | `#d8d8d8` | `#333333` | -| `font-base` | `#343338` | `rgb(255 255 255/0.95)` | -| `font-dark` | `#000000` | `#ffffff` | -| `font-light` | `rgb(52 51 56/0.7)` | `rgb(255 255 255/0.5)` | -| `icon-light` | `rgb(52 51 56/0.45)` | `rgb(255 255 255/0.35)` | -| `link` | `#1d70ab` | `rgb(0, 176, 255)` | -| `link-visited` | `#4c2c92` | `#aa88ff` | -| `focus-outline` | `rgb(0, 176, 255)` | `rgb(0, 176, 255)` | -| `keyline` | `rgb(38 38 42/0.25)` | `rgb(255 255 255/0.25)` | -| `keyline-dark` | `#26262a` | `#ffffff` | +| Colour/Theme | Light | Dark | +| ----------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `page-background` | `#f4f4f4` | `#111111` | +| `background-tint` | `#d8d8d8` | `#333333` | +| `font-base` | `#343338` | `rgb(255 255 255/0.95)` | +| `font-dark` | `#000000` | `#ffffff` | +| `font-light` | `rgb(52 51 56/0.7)` | `rgb(255 255 255/0.5)` | +| `icon-light` | `rgb(52 51 56/0.45)` | `rgb(255 255 255/0.35)` | +| `link` | `#1d70ab` | `rgb(0, 176, 255)` | +| `link-visited` | `#4c2c92` | `#aa88ff` | +| `focus-outline` | `rgb(0, 176, 255)` | `rgb(0, 176, 255)` | +| `keyline` | `rgb(38 38 42/0.25)` | `rgb(255 255 255/0.25)` | +| `keyline-dark` | `#26262a` | `#ffffff` | ## Colour contrast