From 8c96383cc4e77005f6256d6ce43df5e39431234f Mon Sep 17 00:00:00 2001 From: luk3yx Date: Mon, 3 Mar 2025 13:35:06 +1300 Subject: [PATCH] Update styling.md --- doc/styling.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/styling.md b/doc/styling.md index d21745d..608cd10 100644 --- a/doc/styling.md +++ b/doc/styling.md @@ -41,6 +41,13 @@ end) Note that this may inadvertently reset styles on subsequent elements if used on elements without a name due to formspec limitations. +See [the Luanti documentation](https://api.luanti.org/formspec/#styling-formspecs) +for a list of valid property names and values. Flow accepts numbers and +booleans as property values where applicable. + +**Warning:** Flow does not currently support styles that change the element +size, like `font_size` for labels and `size` for lists. + ## Separate style elements Alternatively, you can use the `gui.Style` and `gui.StyleType` elements if you