From b7541f0acc178ea4534e5791bb000a979e9a664a Mon Sep 17 00:00:00 2001 From: Tobias Eigen Date: Thu, 11 Apr 2024 10:49:49 -0700 Subject: [PATCH] Update map_event_tag_colors_json_schema.rb Clarified that only hex codes are supported as color --- .../site_settings/map_event_tag_colors_json_schema.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/discourse_calendar/site_settings/map_event_tag_colors_json_schema.rb b/lib/discourse_calendar/site_settings/map_event_tag_colors_json_schema.rb index 2aa75a93..231c7734 100644 --- a/lib/discourse_calendar/site_settings/map_event_tag_colors_json_schema.rb +++ b/lib/discourse_calendar/site_settings/map_event_tag_colors_json_schema.rb @@ -22,7 +22,7 @@ module DiscourseCalendar }, color: { 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}$", }, },