Values
Colours
Section titled “Colours”A colour is #rgb, #rrggbb, or #aarrggbb with its opacity first: #ffcc00, #80000000 (half-transparent black). Where a field allows it, none means no colour at all, also where a default would give one.
Gradients
Section titled “Gradients”A gradient is a list of two or more colours, ["#2563eb", "#facc15", "#dc2626"], or one of these names: red-green, green-red, blue-red, red-blue, green-blue, blue-green, red-yellow-green, green-yellow-red, blue-yellow-red, red-yellow-blue, green-yellow-blue, blue-yellow-green, red-yellow-green-blue, green-yellow-red-blue, blue-yellow-red-green, red-green-yellow-blue, green-red-yellow-blue, blue-red-yellow-green.
Number formats
Section titled “Number formats”0 (no decimals), 0.0 (one), 0.## (up to two), #,##0 (thousands grouped). The app formats numbers in the language of the device.
Transforms
Section titled “Transforms”A transform is arithmetic on the value before it is shown, with the name value: value/1000, round(value*10)/10, ftoc(value). It has numbers, + - * / %, parentheses, and the functions min, max, sin, cos, abs, sqrt, round, floor, ceiling, ceil, ftoc, ctof. ftoc and ctof convert between Fahrenheit and Celsius. A unit is only text: converting is done here.
Conditions
Section titled “Conditions”A condition, for a value tile’s style rules, is a transform with comparisons (<, <=, >, >=, ==, !=) and and, or, not: value > 10, value >= 5 and value < 10. It holds when it does not give 0.
An icon by its name in the icon set: a Font Awesome name such as lightbulb or temperature-half, or a name from the icon set of the app before Tilez. The editor’s icon picker shows them.
Connections and data sources are named with letters, digits, _ and -, at most 64. A tile’s options name its data sources: a tile with one data source gives it as dataSource, which is short for the data source primary, the name an option takes when it is left out.