Types
A floating point number. Non float numbers will be converted to float automatically. ex. 1 => 1.0
An integer number. Non integer numbers will be converted to int automatically. ex. 1.2 => 1
An unsigned number between 0 and 255. Non u8 numbers will be converted to u8 automatically. Integers will be clamped to the range 0-255. ex. 256 => 255. Floats will be treated as a percentage. ex. 0.5 => 128.
Any number. ex. 1, 1.0, 1.2
A boolean value. true or false.
A color value. ex. @rgba(255, 255, 255, 255) or #ffffff
A text value. ex. "Hello World"
A list of values. ex. [1, 2, 3, "hello", #ffffff]
A pair of values. ex. (1, 2)
Any base value. ex. 1, 1.0, 1.2, true, "hello", #ffffff, [1, 2, 3], (1, 2)
A list of strings. ex. ["hello", "world"]
A pair of floats. ex. (1.0, 2.0)
A pair of floats and a color. ex. (0.0, #ffffff)
A list of gradient stops. ex. [(0.0, #ffffff), (1.0, #000000)]
The name of a filter. ex. "fast", "good", "best".
The name of an alignment. ex. "left", "center", "right".
The name of a spread mode. ex. "pad", "repeat", "reflect".
anchor :
topleft / tltop / ttopright / trleft / lcenter / cright / rbottomleft / blbottom / bbottomright / br
The name of an anchor. ex. "top-left", "top-center"...
blend_mode :
defaultclearsourcedestinationsource_overdestination_oversource_indestination_insource_outdestination_outsource_atopdestination_atopxorplusmodulatescreenoverlaydarkenlightencolor_dodgecolor_burnhard_lightsoft_lightdifferenceexclusionhuesaturationcolorluminosity
The name of a blend mode. ex. "source-over", "source-in", ...
easing :
defaultlinearquadquad_inquad_outquad_in_outcubiccubic_incubic_outcubic_in_outquartquart_inquart_outquart_in_outquintquint_inquint_outquint_in_outsinesine_insine_outsine_in_outexpoexpo_inexpo_outexpo_in_outcirccirc_incirc_outcirc_in_outbackback_inback_outback_in_outelasticelastic_inelastic_outelastic_in_outbouncebounce_inbounce_outbounce_in_out
The name of an easing function. ex. "linear", "ease_in_out", ...