commit 7910708b314dd1f572eee563d3191e9767a84902 Author: James Brumond Date: Mon Oct 17 22:35:16 2022 -0700 add color theme schema diff --git a/schemas/color-theme.json b/schemas/color-theme.json new file mode 100644 index 0000000..39e4d3d --- /dev/null +++ b/schemas/color-theme.json @@ -0,0 +1,221 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "https://gitea.jbrumond.me/minimal/docs/raw/branch/master/schemas/color-theme.json", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the color theme as it is displayed in the control panel. Must be unique in any given instance" + }, + "colors": { + "type": "object", + "description": "Contains the values that will be used to populate the CSS variables controlling the UI theme", + "properties": { + "sun": { + "type": "string" + }, + "moon": { + "type": "string" + }, + "bg_main": { + "type": "string" + }, + "bg_light": { + "type": "string" + }, + "bg_heavy": { + "type": "string" + }, + "bg_popup_mask": { + "type": "string" + }, + "line": { + "type": "string" + }, + "text_heading": { + "type": "string" + }, + "text_body": { + "type": "string" + }, + "text_light": { + "type": "string" + }, + "text_link": { + "type": "string" + }, + "text_link_active": { + "type": "string" + }, + "text_link_visited": { + "type": "string" + }, + "text_highlight": { + "type": "string" + }, + "bg_text_highlight": { + "type": "string" + }, + "text_selection": { + "type": "string" + }, + "bg_text_selection": { + "type": "string" + }, + "bg_button_primary": { + "type": "string" + }, + "bg_button_primary_hover": { + "type": "string" + }, + "text_button_primary": { + "type": "string" + }, + "bg_button_secondary": { + "type": "string" + }, + "bg_button_secondary_hover": { + "type": "string" + }, + "text_button_secondary": { + "type": "string" + }, + "bg_error_box": { + "type": "string" + }, + "border_error_box": { + "type": "string" + }, + "text_error_box": { + "type": "string" + }, + "bg_input": { + "type": "string" + }, + "border_input": { + "type": "string" + }, + "border_input_invalid": { + "type": "string" + }, + "icon_active_indicator": { + "type": "string" + }, + "icon_success_indicator": { + "type": "string" + }, + "icon_failure_indicator": { + "type": "string" + }, + "icon_warning_indicator": { + "type": "string" + }, + "chart_axis": { + "type": "string" + }, + "chart_text": { + "type": "string" + }, + "chart_guideline": { + "type": "string" + }, + "chart_data_0": { + "type": "string" + }, + "chart_data_1": { + "type": "string" + }, + "chart_data_2": { + "type": "string" + }, + "chart_data_3": { + "type": "string" + }, + "chart_data_4": { + "type": "string" + }, + "chart_data_5": { + "type": "string" + }, + "chart_data_6": { + "type": "string" + }, + "chart_data_7": { + "type": "string" + }, + "chart_data_8": { + "type": "string" + }, + "chart_data_9": { + "type": "string" + }, + "code_normal": { + "type": "string" + }, + "code_shadow": { + "type": "string" + }, + "code_background": { + "type": "string" + }, + "code_selection": { + "type": "string" + }, + "code_comment": { + "type": "string" + }, + "code_punc": { + "type": "string" + }, + "code_operator": { + "type": "string" + }, + "code_const_literal": { + "type": "string" + }, + "code_number_literal": { + "type": "string" + }, + "code_boolean_literal": { + "type": "string" + }, + "code_tag": { + "type": "string" + }, + "code_string": { + "type": "string" + }, + "code_keyword": { + "type": "string" + }, + "code_func_name": { + "type": "string" + }, + "code_class_name": { + "type": "string" + }, + "code_regex_important": { + "type": "string" + }, + "code_variable": { + "type": "string" + }, + "code_builtin": { + "type": "string" + }, + "code_attr_name": { + "type": "string" + }, + "code_gutter_divider": { + "type": "string" + }, + "code_line_number": { + "type": "string" + }, + "code_line_highlight": { + "type": "string" + } + } + } + } +} \ No newline at end of file