From 0e6768aa1fcc9f0831755724f7055eae889c64cf Mon Sep 17 00:00:00 2001 From: Stepanov Aleksey Date: Sat, 12 Jul 2025 16:36:26 +0500 Subject: initial commit --- templates/config.yaml | 3 + templates/default.mustache | 168 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 171 insertions(+) create mode 100644 templates/config.yaml create mode 100644 templates/default.mustache (limited to 'templates') diff --git a/templates/config.yaml b/templates/config.yaml new file mode 100644 index 0000000..6fbd3e7 --- /dev/null +++ b/templates/config.yaml @@ -0,0 +1,3 @@ +default: + supported-systems: [base16] + filename: "colors/{{scheme-system}}-{{scheme-slug}}.json" diff --git a/templates/default.mustache b/templates/default.mustache new file mode 100644 index 0000000..d270931 --- /dev/null +++ b/templates/default.mustache @@ -0,0 +1,168 @@ +{ + "name": "{{scheme-name}}", + "author": "{{scheme-author}}", + "slug": "{{scheme-slug}}", + "slug-underscored": "{{scheme-slug-underscored}}", + "system": "{{scheme-system}}", + "variant": "{{scheme-variant}}", + "is-light-variant": "{{scheme-is-light-variant}}", + "schemaVersion": 1, + "colors": { + "background": { + "hex": "#{{base07-hex}}", + "palette": 234 + }, + "foreground": { + "hex": "#{{base05-hex}}", + "palette": 237 + }, + "frame_focused": { + "hex": "#{{base0D-hex}}", + "palette": 63 + }, + "frame_important": { + "hex": "#{{base0B-hex}}", + "palette": 29 + }, + "text_focused": { + "hex": "#{{base0D-hex}}", + "palette": 63 + }, + "text_active": { + "hex": "#{{base0D-hex}}", + "palette": 63 + }, + "text_disabled": { + "hex": "#{{base04-hex}}", + "palette": 246 + }, + "text_hidden": { + "hex": "#{{base03-hex}}", + "palette": 249 + }, + "text_warning": { + "hex": "#{{base0A-hex}}", + "palette": 214 + }, + "text_error": { + "hex": "#{{base08-hex}}", + "palette": 166 + }, + "overlay_background": { + "hex": "#{{base06-hex}}", + "palette": 235 + }, + "overlay_foreground": { + "hex": "#{{base00-hex}}", + "palette": 15 + }, + "overlay_border": { + "hex": "#{{base0D-hex}}", + "palette": 63 + }, + "overlay_focused_border": { + "hex": "#{{base0D-hex}}", + "palette": 63 + }, + "overlay_focused_text": { + "hex": "#{{base00-hex}}", + "palette": 15 + }, + "shortcuts_background": { + "hex": "#{{base00-hex}}", + "palette": 15 + }, + "shortcuts_foreground": { + "hex": "#{{base07-hex}}", + "palette": 234 + }, + "shortcuts_background_focused": { + "hex": "#{{base0B-hex}}", + "palette": 29 + }, + "shortcuts_foreground_focused": { + "hex": "#{{base00-hex}}", + "palette": 15 + }, + "button_background_normal": { + "hex": "#{{base00-hex}}", + "palette": 15 + }, + "button_foreground_normal": { + "hex": "#{{base07-hex}}", + "palette": 234 + }, + "button_background_active": { + "hex": "#{{base0E-hex}}", + "palette": 134 + }, + "button_foreground_active": { + "hex": "#{{base00-hex}}", + "palette": 15 + }, + "header_background": { + "hex": "#{{base00-hex}}", + "palette": 15 + }, + "header_foreground": { + "hex": "#{{base0D-hex}}", + "palette": 63 + }, + "footer_background": { + "hex": "#{{base0D-hex}}", + "palette": 63 + }, + "footer_foreground": { + "hex": "#{{base00-hex}}", + "palette": 15 + }, + "banner_background": { + "hex": "#{{base0D-hex}}", + "palette": 63 + }, + "banner_foreground": { + "hex": "#{{base07-hex}}", + "palette": 234 + }, + "list_header_background": { + "hex": "#{{base0E-hex}}", + "palette": 134 + }, + "list_header_foreground": { + "hex": "#{{base00-hex}}", + "palette": 15 + }, + "list_header_highlighted_background": { + "hex": "#{{base0E-hex}}", + "palette": 134 + }, + "list_header_highlighted_foreground": { + "hex": "#{{base00-hex}}", + "palette": 15 + }, + "list_item_highlighted_background": { + "hex": "#{{base00-hex}}", + "palette": 15 + }, + "list_item_highlighted_foreground": { + "hex": "#{{base0D-hex}}", + "palette": 63 + }, + "list_item_active_background": { + "hex": "#{{base0A-hex}}", + "palette": 214 + }, + "list_item_active_foreground": { + "hex": "#{{base00-hex}}", + "palette": 15 + }, + "list_item_active_highlighted_background": { + "hex": "#{{base0E-hex}}", + "palette": 134 + }, + "list_item_active_highlighted_foreground": { + "hex": "#{{base05-hex}}", + "palette": 237 + } + } +} -- cgit