schema: Fix color type definition and uses
This commit is contained in:
parent
8c8bff7ffb
commit
c2361e3a82
3 changed files with 6 additions and 6 deletions
|
@ -55,7 +55,7 @@
|
|||
min="0"
|
||||
max="infinite"
|
||||
super="$generic/shape"
|
||||
{DEFAULT_KEY "border_color" color ""}
|
||||
{DEFAULT_KEY "border_color" f_color ""}
|
||||
{DEFAULT_KEY "border_thickness" unsigned "1"}
|
||||
{DEFAULT_KEY "fill_color" f_color ""}
|
||||
{DEFAULT_KEY "debug" string ""}
|
||||
|
@ -136,7 +136,7 @@
|
|||
{DEFAULT_KEY "font_family" font_family "sans"}
|
||||
{REQUIRED_KEY "font_size" f_unsigned}
|
||||
{DEFAULT_KEY "font_style" font_style ""}
|
||||
{DEFAULT_KEY "highlight_color" string "#215380"}
|
||||
{DEFAULT_KEY "highlight_color" f_color "33, 83, 128"}
|
||||
{DEFAULT_KEY "highlight_start" string ""}
|
||||
{DEFAULT_KEY "highlight_end" string ""}
|
||||
{DEFAULT_KEY "actions" string ""}
|
||||
|
@ -146,7 +146,7 @@
|
|||
{DEFAULT_KEY "text_alignment" f_h_align "left"}
|
||||
{DEFAULT_KEY "text_markup" f_bool false}
|
||||
{DEFAULT_KEY "text_link_aware" f_bool false}
|
||||
{DEFAULT_KEY "text_link_color" string "#ffff00"}
|
||||
{DEFAULT_KEY "text_link_color" f_color "255, 255, 0"}
|
||||
{DEFAULT_KEY "text_wrap_mode" f_unsigned 0}
|
||||
{DEFAULT_KEY "outline" f_bool false}
|
||||
{DEFAULT_KEY "h" f_unsigned 0}
|
||||
|
|
|
@ -214,7 +214,7 @@
|
|||
max="1"
|
||||
super="$generic/state"
|
||||
[/tag]
|
||||
{DEFAULT_KEY "link_color" string "#ffff00"}
|
||||
{DEFAULT_KEY "link_color" color "255, 255, 0"}
|
||||
[/tag]
|
||||
[/tag]
|
||||
[tag]
|
||||
|
@ -239,7 +239,7 @@
|
|||
max="1"
|
||||
super="$generic/state"
|
||||
[/tag]
|
||||
{DEFAULT_KEY "link_color" string "#ffff00"}
|
||||
{DEFAULT_KEY "link_color" color "255, 255, 0"}
|
||||
[/tag]
|
||||
[/tag]
|
||||
[tag]
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
min=3
|
||||
max=4
|
||||
[element]
|
||||
value="(?:2[0-5][0-5]|[01]?\d?\d)\s*"
|
||||
value="(?:25[0-5]|2[0-4][0-9]|[01]?\d?\d)\s*"
|
||||
[/element]
|
||||
[/list]
|
||||
[/type]
|
||||
|
|
Loading…
Add table
Reference in a new issue