Update map_event_tag_colors_json_schema.rb
Clarified that only hex codes are supported as color
This commit is contained in:
parent
19f1d8e9da
commit
b7541f0acc
|
|
@ -22,7 +22,7 @@ module DiscourseCalendar
|
||||||
},
|
},
|
||||||
color: {
|
color: {
|
||||||
type: "string",
|
type: "string",
|
||||||
description: "Color associated with the tag or category",
|
description: "Hex code of color associated with the tag or category",
|
||||||
pattern: "^#(?:[0-9a-fA-F]{3}){1,2}$",
|
pattern: "^#(?:[0-9a-fA-F]{3}){1,2}$",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue