mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Update docs/guide/design.md
Co-authored-by: Dave Pearson <davep@davep.org>
This commit is contained in:
@@ -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:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user