mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Update docs/styles/background.md
Co-authored-by: darrenburns <darrenburns@users.noreply.github.com>
This commit is contained in:
@@ -37,5 +37,5 @@ widget.styles.background = "blue"
|
||||
from textual.color import Color
|
||||
# Set with a color object
|
||||
widget.styles.background = Color.parse("pink")
|
||||
|
||||
widget.styles.background = Color(120, 60, 100)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user