Created
          October 14, 2025 11:17 
        
      - 
      
- 
        Save lewalkingdad/e8fe58560483f48c2ba846559abfd49e to your computer and use it in GitHub Desktop. 
    Kakoune Modus Vivendi Tinted - Tree Sitter - LSP
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # Modus-Vivendi-Tinted theme for Kakoune | |
| # Extended with Tree-sitter and LSP support | |
| # Colors from official GNU Emacs Modus Themes palette | |
| # Color palette - Official Modus Vivendi Tinted colors | |
| declare-option str bg_main 'rgb:0d0e1c' | |
| declare-option str bg_dim 'rgb:1d2235' | |
| declare-option str fg_main 'rgb:ffffff' | |
| declare-option str fg_dim 'rgb:989898' | |
| declare-option str bg_alt 'rgb:4a4f69' | |
| declare-option str fg_alt 'rgb:c6daff' | |
| declare-option str bg_active 'rgb:4a4f69' | |
| declare-option str bg_inactive 'rgb:2b3045' | |
| declare-option str border 'rgb:646464' | |
| # Base colors | |
| declare-option str red 'rgb:ff5f59' | |
| declare-option str red_warmer 'rgb:ff6b55' | |
| declare-option str red_cooler 'rgb:ff7f9f' | |
| declare-option str red_faint 'rgb:ff9580' | |
| declare-option str red_intense 'rgb:ff5f5f' | |
| declare-option str green 'rgb:44bc44' | |
| declare-option str green_warmer 'rgb:70b900' | |
| declare-option str green_cooler 'rgb:00c06f' | |
| declare-option str green_faint 'rgb:88ca9f' | |
| declare-option str green_intense 'rgb:44df44' | |
| declare-option str yellow 'rgb:d0bc00' | |
| declare-option str yellow_warmer 'rgb:fec43f' | |
| declare-option str yellow_cooler 'rgb:dfaf7a' | |
| declare-option str yellow_faint 'rgb:d2b580' | |
| declare-option str yellow_intense 'rgb:efef00' | |
| declare-option str blue 'rgb:2fafff' | |
| declare-option str blue_warmer 'rgb:79a8ff' | |
| declare-option str blue_cooler 'rgb:00bcff' | |
| declare-option str blue_faint 'rgb:82b0ec' | |
| declare-option str blue_intense 'rgb:338fff' | |
| declare-option str magenta 'rgb:feacd0' | |
| declare-option str magenta_warmer 'rgb:f78fe7' | |
| declare-option str magenta_cooler 'rgb:b6a0ff' | |
| declare-option str magenta_faint 'rgb:caa6df' | |
| declare-option str magenta_intense 'rgb:ff66ff' | |
| declare-option str cyan 'rgb:00d3d0' | |
| declare-option str cyan_warmer 'rgb:4ae2f0' | |
| declare-option str cyan_cooler 'rgb:6ae4b9' | |
| declare-option str cyan_faint 'rgb:9ac8e0' | |
| declare-option str cyan_intense 'rgb:00eff0' | |
| # Special colors | |
| declare-option str rust 'rgb:db7b5f' | |
| declare-option str gold 'rgb:c0965b' | |
| declare-option str olive 'rgb:9cbd6f' | |
| declare-option str slate 'rgb:76afbf' | |
| declare-option str indigo 'rgb:9099d9' | |
| declare-option str maroon 'rgb:cf7fa7' | |
| declare-option str pink 'rgb:d09dc0' | |
| # UI colors | |
| declare-option str bg_red_subtle 'rgb:620f2a' | |
| declare-option str bg_green_subtle 'rgb:00422a' | |
| declare-option str bg_yellow_subtle 'rgb:4a4000' | |
| declare-option str bg_blue_subtle 'rgb:242679' | |
| declare-option str bg_magenta_subtle 'rgb:552f5f' | |
| declare-option str bg_cyan_subtle 'rgb:004065' | |
| declare-option str bg_completion 'rgb:2f447f' | |
| declare-option str bg_hover 'rgb:004f70' | |
| declare-option str bg_hl_line 'rgb:2f3849' | |
| declare-option str bg_paren_match 'rgb:2f7f9f' | |
| declare-option str bg_region 'rgb:5c5c5c' | |
| declare-option str bg_mode_line_active 'rgb:505050' | |
| declare-option str fg_mode_line_active 'rgb:ffffff' | |
| declare-option str border_mode_line_active 'rgb:959595' | |
| declare-option str bg_mode_line_inactive 'rgb:2d2d2d' | |
| declare-option str fg_mode_line_inactive 'rgb:969696' | |
| declare-option str border_mode_line_inactive 'rgb:606060' | |
| # Modeline indicators | |
| declare-option str modeline_err 'rgb:ffa9bf' | |
| declare-option str modeline_warning 'rgb:dfcf43' | |
| declare-option str modeline_info 'rgb:9fefff' | |
| # Diff colors | |
| declare-option str bg_added 'rgb:00381f' | |
| declare-option str fg_added 'rgb:a0e0a0' | |
| declare-option str fg_added_intense 'rgb:80e080' | |
| declare-option str bg_changed 'rgb:363300' | |
| declare-option str fg_changed 'rgb:efef80' | |
| declare-option str bg_removed 'rgb:4f1119' | |
| declare-option str fg_removed 'rgb:ffbfbf' | |
| declare-option str fg_removed_intense 'rgb:ff9095' | |
| # Cursor and selection | |
| declare-option str cursor 'rgb:ffffff' | |
| declare-option str fg_space 'rgb:61647a' | |
| declare-option str psel 'rgb:555a66' | |
| declare-option str ssel 'rgb:303a6f' | |
| # Reference | |
| # https://github.com/mawww/kakoune/blob/master/colors/default.kak | |
| # For code | |
| set-face global value "%opt{cyan}" | |
| set-face global type "%opt{cyan_cooler}" | |
| set-face global variable "%opt{cyan}" | |
| set-face global keyword "%opt{magenta_cooler}" | |
| set-face global module "%opt{fg_main}" | |
| set-face global function "%opt{magenta}" | |
| set-face global string "%opt{blue_warmer}" | |
| set-face global builtin "%opt{magenta_warmer}" | |
| set-face global constant "%opt{blue_cooler}" | |
| set-face global comment "%opt{red_faint}" | |
| set-face global meta "%opt{red_cooler}" | |
| set-face global operator "%opt{fg_main}" | |
| set-face global attribute "%opt{cyan_warmer}" | |
| # For markup | |
| set-face global title "%opt{magenta}" | |
| set-face global header "%opt{yellow_cooler}" | |
| set-face global bold "%opt{magenta}+b" | |
| set-face global italic "%opt{magenta_cooler}+i" | |
| set-face global mono "%opt{green}" | |
| set-face global block "%opt{blue_cooler}" | |
| set-face global link "%opt{green}" | |
| set-face global bullet "%opt{green}" | |
| set-face global list "%opt{fg_main}" | |
| # Builtin faces | |
| set-face global Default "%opt{fg_main},%opt{bg_main}" | |
| set-face global PrimarySelection "default,%opt{psel}" | |
| set-face global SecondarySelection "default,%opt{ssel}" | |
| set-face global PrimaryCursor "%opt{bg_main},%opt{cursor}" | |
| set-face global SecondaryCursor "%opt{bg_main},%opt{fg_alt}" | |
| set-face global PrimaryCursorEol "%opt{bg_main},%opt{red_cooler}" | |
| set-face global SecondaryCursorEol "%opt{bg_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_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_active},%opt{bg_mode_line_active}" | |
| set-face global Error "%opt{modeline_err},%opt{bg_mode_line_active}" | |
| set-face global StatusLine "%opt{fg_mode_line_active},%opt{bg_mode_line_active}" | |
| set-face global StatusLineMode "%opt{fg_mode_line_active},%opt{bg_mode_line_active}" | |
| set-face global StatusLineInfo "%opt{fg_mode_line_active},%opt{bg_mode_line_active}" | |
| set-face global StatusLineValue "%opt{fg_mode_line_active},%opt{bg_mode_line_active}" | |
| set-face global StatusCursor "%opt{fg_main},%opt{blue}" | |
| set-face global Prompt "%opt{fg_mode_line_active},%opt{bg_mode_line_active}" | |
| set-face global MatchingChar "%opt{bg_paren_match},%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_main},%opt{bg_main}" | |
| # ============================================================================== | |
| # Tree-sitter support | |
| # ============================================================================== | |
| set-face global ts_attribute "%opt{cyan_warmer}" | |
| set-face global ts_comment "%opt{red_faint}" | |
| set-face global ts_conceal "%opt{fg_dim}" | |
| set-face global ts_constant "%opt{cyan}" | |
| set-face global ts_constant_builtin_boolean "%opt{cyan}" | |
| set-face global ts_constant_character "%opt{blue_warmer}" | |
| set-face global ts_constant_character_escape "%opt{yellow_warmer}" | |
| set-face global ts_constant_macro "%opt{cyan_cooler}" | |
| set-face global ts_constant_numeric "%opt{cyan}" | |
| set-face global ts_constructor "%opt{magenta}" | |
| set-face global ts_diff_plus "%opt{fg_added}" | |
| set-face global ts_diff_minus "%opt{fg_removed}" | |
| set-face global ts_diff_delta "%opt{fg_changed}" | |
| set-face global ts_error "%opt{red}" | |
| set-face global ts_function "%opt{magenta}" | |
| set-face global ts_function_builtin "%opt{magenta_warmer}" | |
| set-face global ts_function_macro "%opt{magenta_cooler}" | |
| set-face global ts_function_method "%opt{magenta}" | |
| set-face global ts_function_special "%opt{magenta_intense}" | |
| set-face global ts_hint "%opt{modeline_info}" | |
| set-face global ts_info "%opt{modeline_info}" | |
| set-face global ts_keyword "%opt{magenta_cooler}" | |
| set-face global ts_keyword_control "%opt{magenta_cooler}+b" | |
| set-face global ts_keyword_conditional "%opt{magenta_cooler}" | |
| set-face global ts_keyword_control_conditional "%opt{magenta_cooler}" | |
| set-face global ts_keyword_control_directive "%opt{magenta_cooler}" | |
| set-face global ts_keyword_control_import "%opt{magenta_cooler}" | |
| set-face global ts_keyword_control_repeat "%opt{magenta_cooler}" | |
| set-face global ts_keyword_control_return "%opt{magenta_cooler}" | |
| set-face global ts_keyword_control_except "%opt{magenta_cooler}" | |
| set-face global ts_keyword_directive "%opt{magenta_cooler}" | |
| set-face global ts_keyword_function "%opt{magenta_cooler}" | |
| set-face global ts_keyword_operator "%opt{fg_main}" | |
| set-face global ts_keyword_special "%opt{magenta_warmer}" | |
| set-face global ts_keyword_storage "%opt{magenta_cooler}" | |
| set-face global ts_keyword_storage_modifier "%opt{magenta_cooler}" | |
| set-face global ts_keyword_storage_modifier_mut "%opt{magenta_cooler}" | |
| set-face global ts_keyword_storage_modifier_ref "%opt{magenta_cooler}" | |
| set-face global ts_keyword_storage_type "%opt{magenta_cooler}" | |
| set-face global ts_label "%opt{yellow}" | |
| set-face global ts_markup_bold "+b" | |
| set-face global ts_markup_heading "%opt{magenta}+b" | |
| set-face global ts_markup_heading_1 "%opt{blue}+b" | |
| set-face global ts_markup_heading_2 "%opt{magenta}+b" | |
| set-face global ts_markup_heading_3 "%opt{cyan}+b" | |
| set-face global ts_markup_heading_4 "%opt{yellow}+b" | |
| set-face global ts_markup_heading_5 "%opt{green}+b" | |
| set-face global ts_markup_heading_6 "%opt{red}+b" | |
| set-face global ts_markup_heading_marker "%opt{fg_dim}" | |
| set-face global ts_markup_italic "+i" | |
| set-face global ts_markup_strikethrough "+s" | |
| set-face global ts_markup_link_label "%opt{green}" | |
| set-face global ts_markup_link_url "%opt{blue}+u" | |
| set-face global ts_markup_link_uri "%opt{blue}+u" | |
| set-face global ts_markup_link_text "%opt{green}" | |
| set-face global ts_markup_list "%opt{green}" | |
| set-face global ts_markup_list_checked "%opt{green_intense}" | |
| set-face global ts_markup_list_numbered "%opt{green}" | |
| set-face global ts_markup_list_unchecked "%opt{fg_dim}" | |
| set-face global ts_markup_list_unnumbered "%opt{green}" | |
| set-face global ts_markup_quote "%opt{red_faint}" | |
| set-face global ts_markup_raw "%opt{green}" | |
| set-face global ts_markup_raw_block "%opt{blue_cooler}" | |
| set-face global ts_namespace "%opt{fg_main}" | |
| set-face global ts_operator "%opt{fg_main}" | |
| set-face global ts_property "%opt{cyan}" | |
| set-face global ts_punctuation "%opt{fg_main}" | |
| set-face global ts_punctuation_bracket "%opt{fg_main}" | |
| set-face global ts_punctuation_delimiter "%opt{fg_main}" | |
| set-face global ts_punctuation_special "%opt{yellow_warmer}" | |
| set-face global ts_special "%opt{yellow_warmer}" | |
| set-face global ts_spell "%opt{red}+u" | |
| set-face global ts_string "%opt{blue_warmer}" | |
| set-face global ts_string_escape "%opt{yellow_warmer}" | |
| set-face global ts_string_regex "%opt{yellow}" | |
| set-face global ts_string_regexp "%opt{yellow}" | |
| set-face global ts_string_special "%opt{blue_faint}" | |
| set-face global ts_string_special_path "%opt{green}" | |
| set-face global ts_string_special_symbol "%opt{green_cooler}" | |
| set-face global ts_string_symbol "%opt{green_cooler}" | |
| set-face global ts_tag "%opt{magenta}" | |
| set-face global ts_tag_error "%opt{red}" | |
| set-face global ts_text "%opt{fg_main}" | |
| set-face global ts_text_title "%opt{magenta}+b" | |
| set-face global ts_type "%opt{cyan_cooler}" | |
| set-face global ts_type_builtin "%opt{cyan_cooler}+b" | |
| set-face global ts_type_enum_variant "%opt{cyan_warmer}" | |
| set-face global ts_variable "%opt{cyan}" | |
| set-face global ts_variable_builtin "%opt{cyan_intense}" | |
| set-face global ts_variable_other_member "%opt{cyan_faint}" | |
| set-face global ts_variable_parameter "%opt{cyan}" | |
| set-face global ts_warning "%opt{modeline_warning}" | |
| # ============================================================================== | |
| # LSP support | |
| # ============================================================================== | |
| set-face global DiagnosticError "%opt{red}" | |
| set-face global DiagnosticWarning "%opt{yellow}" | |
| set-face global DiagnosticInfo "%opt{blue}" | |
| set-face global DiagnosticHint "%opt{cyan_faint}" | |
| set-face global LineFlagError "%opt{red}" | |
| set-face global LineFlagWarning "%opt{yellow}" | |
| set-face global LineFlagInfo "%opt{blue}" | |
| set-face global LineFlagHint "%opt{cyan_faint}" | |
| set-face global InlayHint "%opt{fg_dim}+d" | |
| set-face global InlayDiagnosticError "%opt{red}+d" | |
| set-face global InlayDiagnosticWarning "%opt{yellow}+d" | |
| set-face global InlayDiagnosticInfo "%opt{blue}+d" | |
| set-face global InlayDiagnosticHint "%opt{cyan_faint}+d" | |
| set-face global Reference "%opt{fg_main},%opt{psel}+u" | |
| set-face global ReferenceBind "%opt{cyan_intense},%opt{psel}+u" | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Not really accurate, based theme taken from https://github.com/anhsirk0/kakoune-themes then asked Claude to add tree-sitter / LSP support while making sure the colors are following the original theme one (GNU Emacs Modus Theme Modus Vivendi Tinted)