[tutorial v1.1_181] Calculate a random color

This commit is contained in:
egarette@silique.fr 2026-04-18 10:35:22 +02:00
parent f83ac87412
commit 2fa3a6490d

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
... ...