feat: switch to kanagawa

Light themes got annoying, since most applications are not written for
them.
This commit is contained in:
buffet 2022-10-29 12:36:45 +00:00
parent 7a06da1389
commit d8fe0b8681
2 changed files with 79 additions and 32 deletions

View file

@ -39,6 +39,7 @@
{plugin = friendly-snippets;} {plugin = friendly-snippets;}
{plugin = fugitive;} {plugin = fugitive;}
{plugin = lsp-trouble;} {plugin = lsp-trouble;}
{plugin = lualine-lsp-progress;}
{plugin = playground;} {plugin = playground;}
{plugin = rust-vim;} {plugin = rust-vim;}
{plugin = tabular;} {plugin = tabular;}
@ -84,12 +85,59 @@
''; '';
} }
# TODO: replace with own bar
{ {
plugin = lightline-vim; plugin = lualine-nvim;
config = '' config = ''
let g:lightline = { 'colorscheme': 'solarized' } lua <<EOF
set noshowmode require 'lualine'.setup {
options = {
icons_enabled = true,
theme = 'auto',
component_separators = {left = ''', right = '''},
section_separators = {left = ''', right = '''},
disabled_filetypes = {
statusline = {},
winbar = {},
},
ignore_focus = {},
always_divide_middle = true,
globalstatus = false,
refresh = {
statusline = 1000,
tabline = 1000,
winbar = 1000,
}
},
sections = {
lualine_a = {'mode'},
lualine_b = {'diff', 'diagnostics'},
lualine_c = {
'filename',
{
'lsp_progress',
display_components = {'lsp_client_name', 'spinner'},
spinner_symbols = {'', '', '', '', '', ''},
timer = {spinner = '75'}
}
},
lualine_x = {'encoding', 'fileformat', 'filetype'},
lualine_y = {'progress'},
lualine_z = {'location'}
},
inactive_sections = {
lualine_a = {},
lualine_b = {},
lualine_c = {'filename'},
lualine_x = {'location'},
lualine_y = {},
lualine_z = {}
},
tabline = {},
winbar = {},
inactive_winbar = {},
extensions = {}
}
EOF
''; '';
} }
@ -106,10 +154,9 @@
} }
{ {
plugin = NeoSolarized; plugin = kanagawa-nvim;
config = '' config = ''
set background=light colorscheme kanagawa
colorscheme NeoSolarized
''; '';
} }

View file

@ -1,5 +1,5 @@
{ {
light = true; light = false;
font = { font = {
family = "GoMono Nerd Font"; family = "GoMono Nerd Font";
@ -7,46 +7,46 @@
}; };
primary = { primary = {
background = "#fdf6e3"; background = "#1f1f28";
foreground = "#586e75"; foreground = "#dcd7ba";
}; };
cursor = { cursor = {
background = "#586e75"; background = "#2d4f67";
foreground = "#fdf6e3"; foreground = "#c8c093";
}; };
normal = { normal = {
black = "#073642"; black = "#090618";
red = "#dc322f"; red = "#c34043";
green = "#859900"; green = "#76946a";
yellow = "#b58900"; yellow = "#c0a36e";
blue = "#268bd2"; blue = "#7e9cd8";
magenta = "#d33682"; magenta = "#957fb8";
cyan = "#2aa198"; cyan = "#6a9589";
white = "#eee8d5"; white = "#c8c093";
}; };
bright = { bright = {
black = "#002b36"; black = "#727169";
red = "#cb4b16"; red = "#e82424";
green = "#586e75"; green = "#98bb6c";
yellow = "#657b83"; yellow = "#e6c384";
blue = "#839496"; blue = "#7fb4ca";
magenta = "#6c71c4"; magenta = "#938aa9";
cyan = "#93a1a1"; cyan = "#7aa89f";
white = "#fdf6e3"; white = "#dcd7ba";
}; };
wm = { wm = {
focused = { focused = {
text = "#586e75"; text = "#dcd7ba";
border = "#b8ced5"; border = "#54546d";
}; };
unfocused = { unfocused = {
text = "#788e95"; text = "#c8c093";
border = "#fdf6e3"; border = "#363646";
}; };
}; };
} }