[tutorial v1.1_181] Calculate a random color
This commit is contained in:
parent
254e35af99
commit
d8f42275c8
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
...
|
||||
|
|
|
|||
Loading…
Reference in a new issue