Update docs/guide/design.md

Co-authored-by: Dave Pearson <davep@davep.org>
This commit is contained in:
Will McGugan
2022-11-07 11:36:14 +00:00
committed by GitHub
parent 493d67cb69
commit b29e2fc136

View File

@@ -12,7 +12,7 @@ You don't have to follow these guidelines, but if you do, you will be able to mi
## Designing with Colors ## Designing with Colors
Textual pre-defines a number of colors in [CSS variables](../guide/CSS.md#css-variables). For instance, the CSS variable `$primary` is set to `#004578` (the blue used in headers). You can use `$primary` in place of the color in the [background](../styles/background.md) and [color](../styles/color.md) rules, or other any other rule that accepts a color. Textual pre-defines a number of colors as [CSS variables](../guide/CSS.md#css-variables). For instance, the CSS variable `$primary` is set to `#004578` (the blue used in headers). You can use `$primary` in place of the color in the [background](../styles/background.md) and [color](../styles/color.md) rules, or other any other rule that accepts a color.
Here's an example of CSS that uses color variables: Here's an example of CSS that uses color variables: