fix examples

This commit is contained in:
Will McGugan
2022-09-15 11:06:56 +01:00
parent 0624fb8507
commit 41b3ff6855

View File

@@ -54,7 +54,7 @@ You can set a color value to one of a number of pre-defined color constants, suc
Here's how you would set the screen background to lime:
```python
widget.styles.background = "lime"
self.screen.styles.background = "lime"
```
In addition to color names, you can also use any of the following ways of expressing a color: