mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Events
This commit is contained in:
@@ -2,6 +2,12 @@
|
||||
|
||||
The `color` rule sets the text color of a Widget.
|
||||
|
||||
## Syntax
|
||||
|
||||
```
|
||||
color: <COLOR> [<PERCENTAGE>];
|
||||
```
|
||||
|
||||
## Example
|
||||
|
||||
This example sets a different text color to three different widgets.
|
||||
|
||||
Reference in New Issue
Block a user