fixed typos

This commit is contained in:
Sundeep Agarwal
2022-11-28 10:17:26 +05:30
parent 23c378dcac
commit dffdb63e9d
2 changed files with 3 additions and 3 deletions

View File

@@ -48,9 +48,9 @@ Note how the combined height of the widget is three rows in the terminal. This i
## Colors
There are a number of style attributes which accept colors. The most commonly used are [color](../styles/color.md) which sets the default color of text on a widget, and [background](..styles/background/md) which sets the background color (beneath the text).
There are a number of style attributes which accept colors. The most commonly used are [color](../styles/color.md) which sets the default color of text on a widget, and [background](../styles/background.md) which sets the background color (beneath the text).
You can set a color value to one of a number of pre-defined color constants, such as `"crimson"`, `"lime"`, and `"palegreen"`. You can find a full list in the [Color reference](../reference/color.md#textual.color--named-colors).
You can set a color value to one of a number of pre-defined color constants, such as `"crimson"`, `"lime"`, and `"palegreen"`. You can find a full list in the [Color API](../api/color.md#textual.color--named-colors).
Here's how you would set the screen background to lime: