[tutorial v1.1_181] Calculate a random color

This commit is contained in:
egarette@silique.fr 2026-03-12 08:11:13 +01:00
parent 254e35af99
commit d8f42275c8

View file

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