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 tint rule blends a color with the widget. The color should likely have an _alpha_ component, or the end result would obscure the widget content.
|
||||
|
||||
## Syntax
|
||||
|
||||
```
|
||||
tint: <COLOR> [<PERCENTAGE>];
|
||||
```
|
||||
|
||||
## Example
|
||||
|
||||
This examples shows a green tint with gradually increasing alpha.
|
||||
|
||||
Reference in New Issue
Block a user