diff --git a/gitui.tera b/templates/gitui.tera similarity index 93% rename from gitui.tera rename to templates/gitui.tera index c38e613..51669c1 100644 --- a/gitui.tera +++ b/templates/gitui.tera @@ -1,11 +1,12 @@ --- whiskers: - version: "2.2.0" + version: "^2.2.0" matrix: - flavor filename: "themes/catppuccin-{{ flavor.identifier }}.ron" --- ( + syntax: Some("catppuccin-{{ flavor.identifier }}"), selected_tab: Some("Reset"), command_fg: Some("#{{ text.hex }}"), selection_bg: Some("#{{ surface2.hex }}"), diff --git a/templates/tmTheme.tera b/templates/tmTheme.tera new file mode 100644 index 0000000..ab44c78 --- /dev/null +++ b/templates/tmTheme.tera @@ -0,0 +1,352 @@ +--- +whiskers: + version: "^2.2.0" + matrix: + - flavor + filename: "themes/catppuccin-{{ flavor.identifier }}.tmTheme" +--- + + + + + + name + $name + settings + + + settings + + background + #{{ base.hex }} + caret + #{{ sapphire.hex }} + foreground + #{{ text.hex }} + + + + name + Comment + scope + comment + settings + + fontStyle + italic + foreground + #{{ overlay1.hex }} + + + + name + String + scope + string, punctuation.definition.string + settings + + foreground + #{{ green.hex }} + + + + name + Number + scope + constant.numeric + settings + + foreground + #{{ peach.hex }} + + + + name + Built-in constant + scope + constant.language + settings + + fontStyle + bold + foreground + #{{ mauve.hex }} + + + + name + User-defined constant + scope + constant.character constant.character.other + settings + + foreground + #{{ peach.hex }} + + + + name + Variable + scope + variable + settings + + foreground + #{{ text.hex }} + + + + name + Variable + scope + variable.parameter + settings + + fontStyle + italic + foreground + #{{ red.hex }} + + + + + name + Keyword + scope + keyword + settings + + foreground + #{{ mauve.hex }} + + + + name + Storage + scope + storage + settings + + fontStyle + + foreground + #{{ blue.hex }} + + + + name + Storage type + scope + storage.type + settings + + fontStyle + + foreground + #{{ mauve.hex }} + + + + name + Class name + scope + entity.name.class, entity.name + settings + + fontStyle + bold + foreground + #{{ yellow.hex }} + + + + name + Headings + scope + markup.heading + settings + + fontStyle + bold + foreground + #{{ peach.hex }} + + + + name + Inherited class + scope + entity.other.inherited-class + settings + + fontStyle + italic + foreground + #{{ yellow.hex }} + + + + name + Function name + scope + entity.name.function + settings + + fontStyle + italic + foreground + #{{ blue.hex }} + + + + name + Function argument + scope + variable.parameter + settings + + fontStyle + + foreground + #{{ maroon.hex }} + + + + name + Tag name + scope + entity.name.tag + settings + + fontStyle + + foreground + #{{ blue.hex }} + + + + name + Tag attribute + scope + entity.other.attribute-name + settings + + fontStyle + + foreground + #{{ yellow.hex }} + + + + name + Library function + scope + support.function + settings + + fontStyle + bold + foreground + #{{ blue.hex }} + + + + name + Library constant + scope + support.constant + settings + + fontStyle + bold + foreground + #{{ peach.hex }} + + + + name + Library class + scope + support.class + settings + + foreground + #{{ blue.hex }} + + + + name + Library type + scope + support.type + settings + + foreground + #{{ mauve.hex }} + + + + name + Library variable + scope + support.other.variable + settings + + fontStyle + bold + foreground + #{{ teal.hex }} + + + + name + Invalid + scope + invalid + settings + + fontStyle + + foreground + #{{ red.hex }} + + + + name + Invalid deprecated + scope + invalid.deprecated + settings + + foreground + #{{ yellow.hex }} + + + + name + Operators + scope + keyword.operator + settings + + foreground + #{{ sky.hex }} + + + + name + Punctuation + scope + punctuation + settings + + foreground + #{{ overlay2.hex }} + + + + colorSpaceName + sRGB + + + diff --git a/themes/catppuccin-frappe.ron b/themes/frappe/catppuccin-frappe.ron similarity index 95% rename from themes/catppuccin-frappe.ron rename to themes/frappe/catppuccin-frappe.ron index 23a3dc8..756d2e8 100644 --- a/themes/catppuccin-frappe.ron +++ b/themes/frappe/catppuccin-frappe.ron @@ -1,4 +1,5 @@ ( + syntax: Some("catppuccin-frappe"), selected_tab: Some("Reset"), command_fg: Some("#c6d0f5"), selection_bg: Some("#626880"), diff --git a/themes/frappe/catppuccin-frappe.tmTheme b/themes/frappe/catppuccin-frappe.tmTheme new file mode 100644 index 0000000..bf4dc6d --- /dev/null +++ b/themes/frappe/catppuccin-frappe.tmTheme @@ -0,0 +1,345 @@ + + + + + + name + $name + settings + + + settings + + background + #303446 + caret + #85c1dc + foreground + #c6d0f5 + + + + name + Comment + scope + comment + settings + + fontStyle + italic + foreground + #838ba7 + + + + name + String + scope + string, punctuation.definition.string + settings + + foreground + #a6d189 + + + + name + Number + scope + constant.numeric + settings + + foreground + #ef9f76 + + + + name + Built-in constant + scope + constant.language + settings + + fontStyle + bold + foreground + #ca9ee6 + + + + name + User-defined constant + scope + constant.character constant.character.other + settings + + foreground + #ef9f76 + + + + name + Variable + scope + variable + settings + + foreground + #c6d0f5 + + + + name + Variable + scope + variable.parameter + settings + + fontStyle + italic + foreground + #e78284 + + + + + name + Keyword + scope + keyword + settings + + foreground + #ca9ee6 + + + + name + Storage + scope + storage + settings + + fontStyle + + foreground + #8caaee + + + + name + Storage type + scope + storage.type + settings + + fontStyle + + foreground + #ca9ee6 + + + + name + Class name + scope + entity.name.class, entity.name + settings + + fontStyle + bold + foreground + #e5c890 + + + + name + Headings + scope + markup.heading + settings + + fontStyle + bold + foreground + #ef9f76 + + + + name + Inherited class + scope + entity.other.inherited-class + settings + + fontStyle + italic + foreground + #e5c890 + + + + name + Function name + scope + entity.name.function + settings + + fontStyle + italic + foreground + #8caaee + + + + name + Function argument + scope + variable.parameter + settings + + fontStyle + + foreground + #ea999c + + + + name + Tag name + scope + entity.name.tag + settings + + fontStyle + + foreground + #8caaee + + + + name + Tag attribute + scope + entity.other.attribute-name + settings + + fontStyle + + foreground + #e5c890 + + + + name + Library function + scope + support.function + settings + + fontStyle + bold + foreground + #8caaee + + + + name + Library constant + scope + support.constant + settings + + fontStyle + bold + foreground + #ef9f76 + + + + name + Library class + scope + support.class + settings + + foreground + #8caaee + + + + name + Library type + scope + support.type + settings + + foreground + #ca9ee6 + + + + name + Library variable + scope + support.other.variable + settings + + fontStyle + bold + foreground + #81c8be + + + + name + Invalid + scope + invalid + settings + + fontStyle + + foreground + #e78284 + + + + name + Invalid deprecated + scope + invalid.deprecated + settings + + foreground + #e5c890 + + + + name + Operators + scope + keyword.operator + settings + + foreground + #99d1db + + + + name + Punctuation + scope + punctuation + settings + + foreground + #949cbb + + + + colorSpaceName + sRGB + + + diff --git a/themes/catppuccin-latte.ron b/themes/latte/catppuccin-latte.ron similarity index 95% rename from themes/catppuccin-latte.ron rename to themes/latte/catppuccin-latte.ron index 7072366..11cef71 100644 --- a/themes/catppuccin-latte.ron +++ b/themes/latte/catppuccin-latte.ron @@ -1,4 +1,5 @@ ( + syntax: Some("catppuccin-latte"), selected_tab: Some("Reset"), command_fg: Some("#4c4f69"), selection_bg: Some("#acb0be"), diff --git a/themes/latte/catppuccin-latte.tmTheme b/themes/latte/catppuccin-latte.tmTheme new file mode 100644 index 0000000..dca39ae --- /dev/null +++ b/themes/latte/catppuccin-latte.tmTheme @@ -0,0 +1,345 @@ + + + + + + name + $name + settings + + + settings + + background + #eff1f5 + caret + #209fb5 + foreground + #4c4f69 + + + + name + Comment + scope + comment + settings + + fontStyle + italic + foreground + #8c8fa1 + + + + name + String + scope + string, punctuation.definition.string + settings + + foreground + #40a02b + + + + name + Number + scope + constant.numeric + settings + + foreground + #fe640b + + + + name + Built-in constant + scope + constant.language + settings + + fontStyle + bold + foreground + #8839ef + + + + name + User-defined constant + scope + constant.character constant.character.other + settings + + foreground + #fe640b + + + + name + Variable + scope + variable + settings + + foreground + #4c4f69 + + + + name + Variable + scope + variable.parameter + settings + + fontStyle + italic + foreground + #d20f39 + + + + + name + Keyword + scope + keyword + settings + + foreground + #8839ef + + + + name + Storage + scope + storage + settings + + fontStyle + + foreground + #1e66f5 + + + + name + Storage type + scope + storage.type + settings + + fontStyle + + foreground + #8839ef + + + + name + Class name + scope + entity.name.class, entity.name + settings + + fontStyle + bold + foreground + #df8e1d + + + + name + Headings + scope + markup.heading + settings + + fontStyle + bold + foreground + #fe640b + + + + name + Inherited class + scope + entity.other.inherited-class + settings + + fontStyle + italic + foreground + #df8e1d + + + + name + Function name + scope + entity.name.function + settings + + fontStyle + italic + foreground + #1e66f5 + + + + name + Function argument + scope + variable.parameter + settings + + fontStyle + + foreground + #e64553 + + + + name + Tag name + scope + entity.name.tag + settings + + fontStyle + + foreground + #1e66f5 + + + + name + Tag attribute + scope + entity.other.attribute-name + settings + + fontStyle + + foreground + #df8e1d + + + + name + Library function + scope + support.function + settings + + fontStyle + bold + foreground + #1e66f5 + + + + name + Library constant + scope + support.constant + settings + + fontStyle + bold + foreground + #fe640b + + + + name + Library class + scope + support.class + settings + + foreground + #1e66f5 + + + + name + Library type + scope + support.type + settings + + foreground + #8839ef + + + + name + Library variable + scope + support.other.variable + settings + + fontStyle + bold + foreground + #179299 + + + + name + Invalid + scope + invalid + settings + + fontStyle + + foreground + #d20f39 + + + + name + Invalid deprecated + scope + invalid.deprecated + settings + + foreground + #df8e1d + + + + name + Operators + scope + keyword.operator + settings + + foreground + #04a5e5 + + + + name + Punctuation + scope + punctuation + settings + + foreground + #7c7f93 + + + + colorSpaceName + sRGB + + + diff --git a/themes/catppuccin-macchiato.ron b/themes/macciato/catppuccin-macchiato.ron similarity index 94% rename from themes/catppuccin-macchiato.ron rename to themes/macciato/catppuccin-macchiato.ron index fd39e3b..6450cd6 100644 --- a/themes/catppuccin-macchiato.ron +++ b/themes/macciato/catppuccin-macchiato.ron @@ -1,4 +1,5 @@ ( + syntax: Some("catppuccin-macchiato"), selected_tab: Some("Reset"), command_fg: Some("#cad3f5"), selection_bg: Some("#5b6078"), diff --git a/themes/macciato/catppuccin-macchiato.tmTheme b/themes/macciato/catppuccin-macchiato.tmTheme new file mode 100644 index 0000000..0bea330 --- /dev/null +++ b/themes/macciato/catppuccin-macchiato.tmTheme @@ -0,0 +1,345 @@ + + + + + + name + $name + settings + + + settings + + background + #24273a + caret + #7dc4e4 + foreground + #cad3f5 + + + + name + Comment + scope + comment + settings + + fontStyle + italic + foreground + #8087a2 + + + + name + String + scope + string, punctuation.definition.string + settings + + foreground + #a6da95 + + + + name + Number + scope + constant.numeric + settings + + foreground + #f5a97f + + + + name + Built-in constant + scope + constant.language + settings + + fontStyle + bold + foreground + #c6a0f6 + + + + name + User-defined constant + scope + constant.character constant.character.other + settings + + foreground + #f5a97f + + + + name + Variable + scope + variable + settings + + foreground + #cad3f5 + + + + name + Variable + scope + variable.parameter + settings + + fontStyle + italic + foreground + #ed8796 + + + + + name + Keyword + scope + keyword + settings + + foreground + #c6a0f6 + + + + name + Storage + scope + storage + settings + + fontStyle + + foreground + #8aadf4 + + + + name + Storage type + scope + storage.type + settings + + fontStyle + + foreground + #c6a0f6 + + + + name + Class name + scope + entity.name.class, entity.name + settings + + fontStyle + bold + foreground + #eed49f + + + + name + Headings + scope + markup.heading + settings + + fontStyle + bold + foreground + #f5a97f + + + + name + Inherited class + scope + entity.other.inherited-class + settings + + fontStyle + italic + foreground + #eed49f + + + + name + Function name + scope + entity.name.function + settings + + fontStyle + italic + foreground + #8aadf4 + + + + name + Function argument + scope + variable.parameter + settings + + fontStyle + + foreground + #ee99a0 + + + + name + Tag name + scope + entity.name.tag + settings + + fontStyle + + foreground + #8aadf4 + + + + name + Tag attribute + scope + entity.other.attribute-name + settings + + fontStyle + + foreground + #eed49f + + + + name + Library function + scope + support.function + settings + + fontStyle + bold + foreground + #8aadf4 + + + + name + Library constant + scope + support.constant + settings + + fontStyle + bold + foreground + #f5a97f + + + + name + Library class + scope + support.class + settings + + foreground + #8aadf4 + + + + name + Library type + scope + support.type + settings + + foreground + #c6a0f6 + + + + name + Library variable + scope + support.other.variable + settings + + fontStyle + bold + foreground + #8bd5ca + + + + name + Invalid + scope + invalid + settings + + fontStyle + + foreground + #ed8796 + + + + name + Invalid deprecated + scope + invalid.deprecated + settings + + foreground + #eed49f + + + + name + Operators + scope + keyword.operator + settings + + foreground + #91d7e3 + + + + name + Punctuation + scope + punctuation + settings + + foreground + #939ab7 + + + + colorSpaceName + sRGB + + + diff --git a/themes/catppuccin-mocha.ron b/themes/mocha/catppuccin-mocha.ron similarity index 95% rename from themes/catppuccin-mocha.ron rename to themes/mocha/catppuccin-mocha.ron index dd31525..c3888f7 100644 --- a/themes/catppuccin-mocha.ron +++ b/themes/mocha/catppuccin-mocha.ron @@ -1,4 +1,5 @@ ( + syntax: Some("catppuccin-mocha"), selected_tab: Some("Reset"), command_fg: Some("#cdd6f4"), selection_bg: Some("#585b70"), diff --git a/themes/mocha/catppuccin-mocha.tmTheme b/themes/mocha/catppuccin-mocha.tmTheme new file mode 100644 index 0000000..26dbf6b --- /dev/null +++ b/themes/mocha/catppuccin-mocha.tmTheme @@ -0,0 +1,345 @@ + + + + + + name + $name + settings + + + settings + + background + #1e1e2e + caret + #74c7ec + foreground + #cdd6f4 + + + + name + Comment + scope + comment + settings + + fontStyle + italic + foreground + #7f849c + + + + name + String + scope + string, punctuation.definition.string + settings + + foreground + #a6e3a1 + + + + name + Number + scope + constant.numeric + settings + + foreground + #fab387 + + + + name + Built-in constant + scope + constant.language + settings + + fontStyle + bold + foreground + #cba6f7 + + + + name + User-defined constant + scope + constant.character constant.character.other + settings + + foreground + #fab387 + + + + name + Variable + scope + variable + settings + + foreground + #cdd6f4 + + + + name + Variable + scope + variable.parameter + settings + + fontStyle + italic + foreground + #f38ba8 + + + + + name + Keyword + scope + keyword + settings + + foreground + #cba6f7 + + + + name + Storage + scope + storage + settings + + fontStyle + + foreground + #89b4fa + + + + name + Storage type + scope + storage.type + settings + + fontStyle + + foreground + #cba6f7 + + + + name + Class name + scope + entity.name.class, entity.name + settings + + fontStyle + bold + foreground + #f9e2af + + + + name + Headings + scope + markup.heading + settings + + fontStyle + bold + foreground + #fab387 + + + + name + Inherited class + scope + entity.other.inherited-class + settings + + fontStyle + italic + foreground + #f9e2af + + + + name + Function name + scope + entity.name.function + settings + + fontStyle + italic + foreground + #89b4fa + + + + name + Function argument + scope + variable.parameter + settings + + fontStyle + + foreground + #eba0ac + + + + name + Tag name + scope + entity.name.tag + settings + + fontStyle + + foreground + #89b4fa + + + + name + Tag attribute + scope + entity.other.attribute-name + settings + + fontStyle + + foreground + #f9e2af + + + + name + Library function + scope + support.function + settings + + fontStyle + bold + foreground + #89b4fa + + + + name + Library constant + scope + support.constant + settings + + fontStyle + bold + foreground + #fab387 + + + + name + Library class + scope + support.class + settings + + foreground + #89b4fa + + + + name + Library type + scope + support.type + settings + + foreground + #cba6f7 + + + + name + Library variable + scope + support.other.variable + settings + + fontStyle + bold + foreground + #94e2d5 + + + + name + Invalid + scope + invalid + settings + + fontStyle + + foreground + #f38ba8 + + + + name + Invalid deprecated + scope + invalid.deprecated + settings + + foreground + #f9e2af + + + + name + Operators + scope + keyword.operator + settings + + foreground + #89dceb + + + + name + Punctuation + scope + punctuation + settings + + foreground + #9399b2 + + + + colorSpaceName + sRGB + + +