Add complex UI docs and samples #2: add color to the text

This commit is contained in:
Evgeny
2024-03-31 08:15:15 +04:00
parent db7149229a
commit 897fee33b7
2 changed files with 2 additions and 2 deletions

View File

@@ -72,7 +72,7 @@ Handling clicks on elements works the same as when using the `ui` module API. Ju
This is all you need to know about the new API. Below is an example demonstrating all supported elements and all their default parameters:
```
{"text", "", {size = 17, gravity = "left"}},
{"text", "", {size = 17, color = "", gravity = "left"}},
{"button", "", {color = "", gravity = "left"}},
{"icon", "", {size = 17, color = "", gravity = "left"}},
{"progress" "", {progress = 0, color = "", gravity = "left"}},