home: WIP fix terminal colors

This commit is contained in:
Felix Albrigtsen 2024-12-19 17:42:35 +01:00
parent 4346f269da
commit 1eb3cdcc13
2 changed files with 79 additions and 48 deletions

View File

@ -50,7 +50,34 @@
colors = { colors = {
draw_bold_text_with_bright_colors = true; draw_bold_text_with_bright_colors = true;
# # Tomorrow Night Bright
# gruvbox_material_medium_dark
primary = {
background = "0x282828";
foreground = "0xd4be98";
};
normal = {
black = "0x3c3836";
red = "0xea6962";
green = "0xa9b665";
yellow = "0xd8a657";
blue = "0x7daea3";
magenta = "0xd3869b";
cyan = "0x89b482";
white = "0xd4be98";
};
bright = {
black = "0x3c3836";
red = "0xea6962";
green = "0xa9b665";
yellow = "0xd8a657";
blue = "0x7daea3";
magenta = "0xd3869b";
cyan = "0x89b482";
white = "0xd4be98";
};
# # # Tomorrow Night Bright
# primary = { # primary = {
# background = "0x141414"; # background = "0x141414";
# foreground = "0xeaeaea"; # foreground = "0xeaeaea";
@ -83,60 +110,61 @@
# white = "0xffffff"; # white = "0xffffff";
# }; # };
# Nord: # Nord:
primary = { # primary = {
background = "0x2e3440"; # background = "0x2e3440";
foreground = "0xd8dee9"; # foreground = "0xd8dee9";
dim_foreground = "0xa5abb6"; # dim_foreground = "0xa5abb6";
}; # };
cursor = { # cursor = {
text = "0x2e3440"; # text = "0x2e3440";
cursor = "0xd8dee9"; # cursor = "0xd8dee9";
}; # };
vi_mode_cursor = { # vi_mode_cursor = {
text = "0x2e3440"; # text = "0x2e3440";
cursor = "0xd8dee9"; # cursor = "0xd8dee9";
}; # };
selection = { # selection = {
text = "CellForeground"; # text = "CellForeground";
background = "0x4c566a"; # background = "0x4c566a";
}; # };
normal = { # normal = {
black = "0x3b4252"; # black = "0x3b4252";
red = "0xbf616a"; # red = "0xbf616a";
green = "0xa3be8c"; # green = "0xa3be8c";
yellow = "0xebcb8b"; # yellow = "0xebcb8b";
blue = "0x81a1c1"; # blue = "0x81a1c1";
magenta = "0xb48ead"; # magenta = "0xb48ead";
cyan = "0x88c0d0"; # cyan = "0x88c0d0";
white = "0xe5e9f0"; # white = "0xe5e9f0";
}; # };
bright = { # bright = {
black = "0x4c566a"; # black = "0x4c566a";
red = "0xbf616a"; # red = "0xbf616a";
green = "0xa3be8c"; # green = "0xa3be8c";
yellow = "0xebcb8b"; # yellow = "0xebcb8b";
blue = "0x81a1c1"; # blue = "0x81a1c1";
magenta = "0xb48ead"; # magenta = "0xb48ead";
cyan = "0x8fbcbb"; # cyan = "0x8fbcbb";
white = "0xeceff4"; # white = "0xeceff4";
}; # };
dim = { # dim = {
black = "0x373e4d"; # black = "0x373e4d";
red = "0x94545d"; # red = "0x94545d";
green = "0x809575"; # green = "0x809575";
yellow = "0xb29e75"; # yellow = "0xb29e75";
blue = "0x68809a"; # blue = "0x68809a";
magenta = "0x8c738c"; # magenta = "0x8c738c";
cyan = "0x6d96a5"; # cyan = "0x6d96a5";
white = "0xaeb3bb"; # white = "0xaeb3bb";
}; # };

View File

@ -119,6 +119,9 @@ in {
nnoremap <C-s> <cmd>Telescope find_files<cr> nnoremap <C-s> <cmd>Telescope find_files<cr>
nnoremap <C-g> <cmd>Telescope live_grep<cr> nnoremap <C-g> <cmd>Telescope live_grep<cr>
" Don't darken the background
autocmd VimEnter * highlight normal ctermbg=NONE guibg=NONE
" Show trailing whitespace " Show trailing whitespace
highlight ExtraWhitespace ctermbg=red guibg=red highlight ExtraWhitespace ctermbg=red guibg=red
match ExtraWhitespace /\s\+$/ match ExtraWhitespace /\s\+$/