[tutorial v1.1_181] Calculate a random color

This commit is contained in:
egarette@silique.fr 2026-04-17 20:10:57 +02:00
parent c7ef3d8808
commit d7d8463d70

View file

@ -13,4 +13,8 @@ proxies:
color:
description: Color
regexp: ^#(?:[0-9a-f]{3}){1,2}$
default:
jinja: >-
#{%- for i in range(6) -%}{{- '0123456789abcdef' | random -}}{%- endfor -%}
description: random color value
...