diff options
Diffstat (limited to 'config/kak/colors')
| -rw-r--r-- | config/kak/colors/black_mocha.kak | 82 | ||||
| -rw-r--r-- | config/kak/colors/modus-vivendi.kak | 210 |
2 files changed, 292 insertions, 0 deletions
diff --git a/config/kak/colors/black_mocha.kak b/config/kak/colors/black_mocha.kak new file mode 100644 index 0000000..518400b --- /dev/null +++ b/config/kak/colors/black_mocha.kak @@ -0,0 +1,82 @@ +# Black Mocha + +evaluate-commands %sh{ + rosewater='rgb:f5e0dc' + flamingo='rgb:f2cdcd' + pink='rgb:f5c2e7' + mauve='rgb:cba6f7' + red='rgb:f38ba8' + maroon='rgb:eba0ac' + peach='rgb:fab387' + yellow='rgb:f9e2af' + green='rgb:a6e3a1' + teal='rgb:94e2d5' + sky='rgb:89dceb' + sapphire='rgb:74c7ec' + blue='rgb:89b4fa' + lavender='rgb:b4befe' + text='rgb:cdd6f4' + subtext1='rgb:bac2de' + subtext0='rgb:a6adc8' + overlay2='rgb:9399b2' + overlay1='rgb:7f849c' + overlay0='rgb:6c7086' + surface2='rgb:585b70' + surface1='rgb:45475a' + surface0='rgb:313244' + base='rgb:000000' + mantle='rgb:181825' + crust='rgb:11111b' + + echo " + set-face global title ${text}+b + set-face global header ${subtext0}+b + set-face global bold ${maroon}+b + set-face global italic ${maroon}+i + set-face global mono ${green} + set-face global block ${sapphire} + set-face global link ${blue} + set-face global bullet ${peach} + set-face global list ${peach} + + set-face global Default ${text},${base} + set-face global PrimarySelection ${text},${surface2} + set-face global SecondarySelection ${text},${surface2} + set-face global PrimaryCursor ${crust},${rosewater} + set-face global SecondaryCursor ${text},${overlay0} + set-face global PrimaryCursorEol ${surface2},${lavender} + set-face global SecondaryCursorEol ${surface2},${overlay1} + set-face global LineNumbers ${overlay1},${base} + set-face global LineNumbersWrapped ${base},${base} + set-face global LineNumberCursor ${lavender},${base}+b + set-face global MenuForeground ${text},${surface1}+b + set-face global MenuBackground ${text},${surface0} + set-face global MenuInfo ${crust},${teal} + set-face global Information ${crust},${teal} + set-face global Error ${crust},${red} + set-face global StatusLine ${text},${mantle} + set-face global StatusLineMode ${crust},${yellow} + set-face global StatusLineInfo ${crust},${teal} + set-face global StatusLineValue ${crust},${yellow} + set-face global StatusCursor ${crust},${rosewater} + set-face global Prompt ${teal},${base}+b + set-face global MatchingChar ${maroon},${base} + set-face global Whitespace ${overlay1},${base}+f + set-face global WrapMarker Whitespace + set-face global BufferPadding ${base},${base} + + set-face global value ${peach} + set-face global type ${blue} + set-face global variable ${text} + set-face global module ${maroon} + set-face global function ${blue} + set-face global string ${green} + set-face global keyword ${mauve} + set-face global operator ${sky} + set-face global attribute ${green} + set-face global comment ${overlay0} + set-face global documentation comment + set-face global meta ${yellow} + set-face global builtin ${red} + " +} diff --git a/config/kak/colors/modus-vivendi.kak b/config/kak/colors/modus-vivendi.kak new file mode 100644 index 0000000..32930b9 --- /dev/null +++ b/config/kak/colors/modus-vivendi.kak @@ -0,0 +1,210 @@ +# Modus-Vivendi theme for Kakoune + +# Color palette +# declare-option str black default +declare-option str bg_main 'default' +declare-option str bg_terminal_main 'rgb:000000' +declare-option str fg_main 'rgb:ffffff' +declare-option str bg_dim 'rgb:1e1e1e' +declare-option str fg_dim 'rgb:989898' +declare-option str bg_alt 'rgb:000000' +declare-option str fg_alt 'rgb:c6daff' +declare-option str bg_active 'rgb:535353' +declare-option str bg_inactive 'rgb:303030' +declare-option str red 'rgb:ff5f59' +declare-option str red_bright 'rgb:ff7f86' +declare-option str green 'rgb:44bc44' +declare-option str green_bright 'rgb:00c06f' +declare-option str yellow 'rgb:d0bc00' +declare-option str yellow_bright 'rgb:dfaf7a' +declare-option str blue 'rgb:2fafff' +declare-option str blue_bright 'rgb:00bcff' +declare-option str purple 'rgb:feacd0' +declare-option str purple_bright 'rgb:b6a0ff' +declare-option str bg_mode_line 'rgb:000000' +declare-option str fg_mode_line 'rgb:cdd6f4' +declare-option str cursor 'rgb:ffffff' +declare-option str bg_hl_line 'rgb:2f3849' +declare-option str fg_space 'rgb:646464' +declare-option str magenta_warmer 'rgb:f78fe7' +declare-option str blue_warmer 'rgb:79a8ff' +declare-option str cyan 'rgb:00d3d0' +declare-option str cyan_warmer 'rgb:4ae2f0' +declare-option str cyan_cooler 'rgb:6ae4b9' +declare-option str red_faint 'rgb:ff9580' +declare-option str green_faint 'rgb:88ca9f' +declare-option str yellow_faint 'rgb:d2b580' +declare-option str blue_faint 'rgb:82b0ec' +declare-option str magenta_faint 'rgb:caa6df' +declare-option str cyan_faint 'rgb:9ac8e0' +declare-option str fg_link 'rgb:79a8ff' +declare-option str fg_prose_code 'rgb:6ae4b9' + +declare-option str psel 'rgb:5a5a5a' +declare-option str ssel 'rgb:2f3849' + +# Reference +# https://github.com/mawww/kakoune/blob/master/colors/default.kak +# For code +set-face global value 'rgb:ffffff' +set-face global type 'rgb:6ae4b9' +set-face global variable 'rgb:00d3d0' +set-face global keyword 'rgb:b6a0ff' +set-face global module 'rgb:ffffff' +set-face global function 'rgb:feacd0' +set-face global string 'rgb:79a8ff' +set-face global builtin 'rgb:f78fe7' +set-face global constant 'rgb:00bcff' +set-face global comment 'rgb:989898' +set-face global meta 'rgb:ff7f86' + +set-face global operator 'rgb:ffffff' +set-face global comma 'rgb:ffffff' +set-face global bracket 'rgb:2f7f9f' + +# For markup +set-face global title "%opt{fg_main}+b" +set-face global header "%opt{fg_main}+b" +set-face global bold "%opt{fg_main}+b" +set-face global italic "%opt{fg_main}+i" +set-face global mono "%opt{fg_prose_code}" +set-face global block "%opt{fg_dim}" +set-face global link "%opt{fg_link}+u" +set-face global bullet "%opt{fg_dim}" +set-face global list "%opt{fg_main}" + +# Builtin faces +#set-face global Default "%opt{fg_main},%opt{bg_main}" +set-face global Default "%opt{fg_main},default" +set-face global PrimarySelection "default,%opt{psel}" +set-face global SecondarySelection "default,%opt{ssel}" +set-face global PrimaryCursor "%opt{bg_terminal_main},%opt{cursor}" +set-face global SecondaryCursor "%opt{bg_terminal_main},%opt{fg_alt}" +set-face global PrimaryCursorEol "%opt{bg_terminal_main},%opt{red_bright}" +set-face global SecondaryCursorEol "%opt{bg_terminal_main},%opt{blue}" +set-face global LineNumbers "%opt{fg_dim},%opt{bg_main}" +set-face global LineNumberCursor "%opt{fg_alt},%opt{bg_main}+b" +set-face global LineNumbersWrapped "%opt{bg_dim},%opt{bg_main}+i" +set-face global MenuForeground "%opt{bg_terminal_main},%opt{fg_main}+b" +set-face global MenuBackground "%opt{fg_main},%opt{bg_alt}" +set-face global MenuInfo "%opt{fg_alt},%opt{bg_alt}" +set-face global Information "%opt{fg_mode_line},%opt{bg_mode_line}" +set-face global Error "%opt{red},%opt{bg_mode_line}" +set-face global StatusLine "%opt{fg_mode_line},%opt{bg_mode_line}" +set-face global StatusLineMode "%opt{fg_mode_line},%opt{bg_mode_line}" +set-face global StatusLineInfo "%opt{fg_mode_line},%opt{bg_mode_line}" +set-face global StatusLineValue "%opt{fg_mode_line},%opt{bg_mode_line}" +set-face global StatusCursor "%opt{fg_main},%opt{blue}" +set-face global Prompt "%opt{fg_mode_line},%opt{bg_mode_line}" +set-face global MatchingChar "%opt{blue},%opt{bg_main}" +set-face global Whitespace "%opt{fg_space},%opt{bg_main}+f" +set-face global WrapMarker Whitespace +set-face global BufferPadding "%opt{bg_terminal_main},%opt{bg_main}" + +# For tree-sitter (kak-tree-sitter) +# -- Keywords -- +set-face global ts_keyword "%opt{purple_bright}" +set-face global ts_keyword_conditional "%opt{purple_bright}+i" +set-face global ts_keyword_control_conditional "%opt{purple_bright}+i" +set-face global ts_keyword_control_import "%opt{purple_bright}+i" +set-face global ts_keyword_directive "%opt{red_bright}+i" +set-face global ts_keyword_storage "%opt{purple_bright}" +set-face global ts_keyword_storage_modifier "%opt{purple_bright}" +set-face global ts_keyword_storage_modifier_mut "%opt{purple_bright}" +set-face global ts_keyword_storage_modifier_ref "%opt{cyan_cooler}" + +# -- Functions -- +set-face global ts_function "%opt{purple}" +set-face global ts_function_builtin "%opt{magenta_warmer}+i" +set-face global ts_function_macro "%opt{red_bright}" +set-face global ts_function_method "%opt{purple}" + +# -- Types -- +set-face global ts_type "%opt{cyan_cooler}" +set-face global ts_type_builtin "%opt{cyan_cooler}" +set-face global ts_type_enum_variant "%opt{cyan_warmer}" +set-face global ts_type_parameter "%opt{cyan}+i" +set-face global ts_constructor "%opt{cyan_cooler}" + +# -- Strings -- +set-face global ts_string "%opt{blue_warmer}" +set-face global ts_string_regexp "%opt{green_bright}" +set-face global ts_string_escape "%opt{purple}" +set-face global ts_string_special "%opt{blue}" +set-face global ts_string_special_path "%opt{green_bright}" +set-face global ts_string_special_symbol "%opt{purple_bright}" +set-face global ts_string_symbol "%opt{red_bright}" + +# -- Constants -- +set-face global ts_constant "%opt{blue_bright}" +set-face global ts_constant_builtin "%opt{blue_bright}" +set-face global ts_constant_builtin_boolean "%opt{blue_bright}" +set-face global ts_constant_character "%opt{blue_bright}" +set-face global ts_constant_macro "%opt{red_bright}" +set-face global ts_constant_numeric "%opt{fg_main}" + +# -- Variables -- +set-face global ts_variable "%opt{cyan}" +set-face global ts_variable_builtin "%opt{purple_bright}" +set-face global ts_variable_other_member "%opt{cyan_warmer}" +set-face global ts_variable_parameter "%opt{cyan}+i" + +# -- Comments & operators -- +set-face global ts_comment "%opt{fg_dim}" +set-face global ts_comment_unused "%opt{fg_dim}+s" +set-face global ts_operator "%opt{fg_main}" +set-face global ts_punctuation "%opt{fg_main}" +set-face global ts_punctuation_special "%opt{purple_bright}" + +# -- Properties, namespaces, labels -- +set-face global ts_property "%opt{cyan}" +set-face global ts_namespace "%opt{cyan}+i" +set-face global ts_label "%opt{cyan}+i" +set-face global ts_attribute "%opt{red_bright}" + +# -- Markup -- +set-face global ts_markup_bold "%opt{fg_main}+b" +set-face global ts_markup_italic "%opt{fg_main}+i" +set-face global ts_markup_strikethrough "%opt{fg_dim}+s" +set-face global ts_markup_heading "%opt{fg_main}+b" +set-face global ts_markup_heading_1 "%opt{fg_main}+b" +set-face global ts_markup_heading_2 "%opt{yellow_faint}+b" +set-face global ts_markup_heading_3 "%opt{blue_faint}+b" +set-face global ts_markup_heading_4 "%opt{purple}+b" +set-face global ts_markup_heading_5 "%opt{green_faint}+b" +set-face global ts_markup_heading_6 "%opt{red_faint}+b" +set-face global ts_markup_heading_marker "%opt{fg_dim}" +set-face global ts_markup_list_checked "%opt{fg_dim}" +set-face global ts_markup_list_numbered "%opt{fg_dim}" +set-face global ts_markup_list_unchecked "%opt{fg_dim}" +set-face global ts_markup_list_unnumbered "%opt{fg_dim}" +set-face global ts_markup_link_label "%opt{fg_link}" +set-face global ts_markup_link_url "%opt{fg_alt}" +set-face global ts_markup_link_uri "%opt{fg_alt}" +set-face global ts_markup_link_text "%opt{fg_link}+u" +set-face global ts_markup_quote "%opt{fg_main}+i" +set-face global ts_markup_raw "%opt{fg_prose_code}" + +# -- Diff -- +set-face global ts_diff_plus "%opt{green}" +set-face global ts_diff_minus "%opt{red}" +set-face global ts_diff_delta "%opt{blue}" +set-face global ts_diff_delta_moved "%opt{purple_bright}" + +# -- Diagnostics -- +set-face global ts_error "%opt{red}+b" +set-face global ts_warning "%opt{yellow}+b" +set-face global ts_hint "%opt{blue}+b" +set-face global ts_info "%opt{green}+b" + +# -- Others -- +set-face global ts_embedded "%opt{purple_bright}" +set-face global ts_include "%opt{purple_bright}" +set-face global ts_load "%opt{purple_bright}" +set-face global ts_tag "%opt{purple_bright}" +set-face global ts_tag_error "%opt{red}" +set-face global ts_text "%opt{fg_main}" +set-face global ts_text_title "%opt{fg_main}+b" +set-face global ts_conceal "%opt{fg_dim}+i" +set-face global ts_special "%opt{blue}" +set-face global ts_spell "%opt{fg_main}" |
