Update default and one themes

This commit is contained in:
Olivier Roques
2021-12-01 14:49:48 +01:00
parent 9a6998ff2a
commit cad2d76db7
2 changed files with 50 additions and 202 deletions

View File

@@ -1,128 +1,52 @@
local colors = { local colors = {
black = {gui = '#282C34', cterm = '235', cterm16 = '0'}, black = {gui = '#181A1F'},
blue = {gui = '#61AFEF', cterm = '39', cterm16 = '4'}, blue = {gui = '#61AFEF'},
cyan = { gui = '#56B6C2', cterm = '38', cterm16 = '6'}, cyan = { gui = '#56B6C2'},
green = {gui = '#98C379', cterm = '114', cterm16 = '2'}, green = {gui = '#98C379'},
grey_comment = {gui = "#5C6370", cterm = "59", cterm16 = "15"}, grey = {gui = "#5C6370"},
grey_cursor = {gui = "#2C323C", cterm = "236", cterm16 = "8"}, grey_light = {gui = "#31353F"},
grey_menu = {gui = "#3E4452", cterm = "237", cterm16 = "8"}, purple = {gui = '#C678DD'},
purple = {gui = '#C678DD', cterm = '170', cterm16 = '5'}, red = {gui = '#E86671'},
red = {gui = '#E06C75', cterm = '204', cterm16 = '1'}, white = {gui = '#ABB2BF'},
white = {gui = '#ABB2BF', cterm = '145', cterm16 = '7'}, yellow = {gui = '#E5C07B'},
yellow = {gui = '#E5C07B', cterm = '180', cterm16 = '3'},
} }
local inactive = { local inactive = {guifg = colors.grey.gui, guibg = colors.grey_light.gui}
guifg = colors.grey_comment.gui,
guibg = colors.grey_cursor.gui,
ctermfg = colors.grey_comment.cterm,
ctermbg = colors.grey_cursor.cterm,
}
return { return {
mode = { mode = {
normal = {guifg = colors.black.gui, guibg = colors.green.gui},
insert = {guifg = colors.black.gui, guibg = colors.blue.gui},
command = {guifg = colors.black.gui, guibg = colors.red.gui},
visual = {guifg = colors.black.gui, guibg = colors.purple.gui},
replace = {guifg = colors.black.gui, guibg = colors.cyan.gui},
inactive = inactive, inactive = inactive,
normal = {
guifg = colors.black.gui,
guibg = colors.green.gui,
ctermfg = colors.black.cterm,
ctermbg = colors.green.cterm,
},
insert = {
guifg = colors.black.gui,
guibg = colors.blue.gui,
ctermfg = colors.black.cterm,
ctermbg = colors.blue.cterm,
},
replace = {
guifg = colors.black.gui,
guibg = colors.cyan.gui,
ctermfg = colors.black.cterm,
ctermbg = colors.cyan.cterm,
},
visual = {
guifg = colors.black.gui,
guibg = colors.purple.gui,
ctermfg = colors.black.cterm,
ctermbg = colors.purple.cterm,
},
command = {
guifg = colors.black.gui,
guibg = colors.red.gui,
ctermfg = colors.black.cterm,
ctermbg = colors.red.cterm,
},
}, },
low = { low = {
active = { active = {guifg = colors.white.gui, guibg = colors.grey_light.gui},
guifg = colors.white.gui,
guibg = colors.grey_cursor.gui,
ctermfg = colors.white.cterm,
ctermbg = colors.grey_cursor.cterm,
},
inactive = inactive, inactive = inactive,
}, },
med = { med = {
active = { active = {guifg = colors.yellow.gui, guibg = colors.grey_light.gui},
guifg = colors.yellow.gui,
guibg = colors.grey_cursor.gui,
ctermfg = colors.yellow.cterm,
ctermbg = colors.grey_cursor.cterm,
},
inactive = inactive, inactive = inactive,
}, },
high = { high = {
active = { active = {guifg = colors.white.gui, guibg = colors.grey.gui},
guifg = colors.white.gui,
guibg = colors.grey_menu.gui,
ctermfg = colors.white.cterm,
ctermbg = colors.grey_menu.cterm,
},
inactive = inactive, inactive = inactive,
}, },
error = { error = {
active = { active = {guifg = colors.black.gui, guibg = colors.red.gui},
guifg = colors.black.gui,
guibg = colors.red.gui,
ctermfg = colors.black.cterm,
ctermbg = colors.red.cterm,
},
inactive = inactive, inactive = inactive,
}, },
warning = { warning = {
active = { active = {guifg = colors.black.gui, guibg = colors.yellow.gui},
guifg = colors.black.gui,
guibg = colors.yellow.gui,
ctermfg = colors.black.cterm,
ctermbg = colors.yellow.cterm,
},
inactive = inactive, inactive = inactive,
}, },
bufferline = { bufferline = {
current = {guifg = colors.black.gui, guibg = colors.green.gui},
current_modified = {guifg = colors.black.gui, guibg = colors.blue.gui},
background = {guifg = colors.green.gui, guibg = colors.black.gui},
background_modified = {guifg = colors.blue.gui, guibg = colors.black.gui},
separator = inactive, separator = inactive,
current = {
guifg = colors.black.gui,
guibg = colors.green.gui,
ctermfg = colors.black.cterm,
ctermbg = colors.green.cterm,
},
current_modified = {
guifg = colors.black.gui,
guibg = colors.blue.gui,
ctermfg = colors.black.cterm,
ctermbg = colors.blue.cterm,
},
background = {
guifg = colors.green.gui,
guibg = colors.black.gui,
ctermfg = colors.green.cterm,
ctermbg = colors.black.cterm,
},
background_modified = {
guifg = colors.blue.gui,
guibg = colors.black.gui,
ctermfg = colors.blue.cterm,
ctermbg = colors.black.cterm,
},
}, },
} }

View File

@@ -1,128 +1,52 @@
local colors = { local colors = {
black = {gui = '#282C34', cterm = '235', cterm16 = '0'}, black = {gui = '#181A1F'},
blue = {gui = '#61AFEF', cterm = '39', cterm16 = '4'}, blue = {gui = '#61AFEF'},
cyan = { gui = '#56B6C2', cterm = '38', cterm16 = '6'}, cyan = { gui = '#56B6C2'},
green = {gui = '#98C379', cterm = '114', cterm16 = '2'}, green = {gui = '#98C379'},
grey_comment = {gui = "#5C6370", cterm = "59", cterm16 = "15"}, grey = {gui = "#5C6370"},
grey_cursor = {gui = "#2C323C", cterm = "236", cterm16 = "8"}, grey_light = {gui = "#31353F"},
grey_menu = {gui = "#3E4452", cterm = "237", cterm16 = "8"}, purple = {gui = '#C678DD'},
purple = {gui = '#C678DD', cterm = '170', cterm16 = '5'}, red = {gui = '#E86671'},
red = {gui = '#E06C75', cterm = '204', cterm16 = '1'}, white = {gui = '#ABB2BF'},
white = {gui = '#ABB2BF', cterm = '145', cterm16 = '7'}, yellow = {gui = '#E5C07B'},
yellow = {gui = '#E5C07B', cterm = '180', cterm16 = '3'},
} }
local inactive = { local inactive = {guifg = colors.grey.gui, guibg = colors.grey_light.gui}
guifg = colors.grey_comment.gui,
guibg = colors.grey_cursor.gui,
ctermfg = colors.grey_comment.cterm,
ctermbg = colors.grey_cursor.cterm,
}
return { return {
mode = { mode = {
normal = {guifg = colors.black.gui, guibg = colors.green.gui},
insert = {guifg = colors.black.gui, guibg = colors.blue.gui},
command = {guifg = colors.black.gui, guibg = colors.red.gui},
visual = {guifg = colors.black.gui, guibg = colors.purple.gui},
replace = {guifg = colors.black.gui, guibg = colors.cyan.gui},
inactive = inactive, inactive = inactive,
normal = {
guifg = colors.black.gui,
guibg = colors.green.gui,
ctermfg = colors.black.cterm,
ctermbg = colors.green.cterm,
},
insert = {
guifg = colors.black.gui,
guibg = colors.blue.gui,
ctermfg = colors.black.cterm,
ctermbg = colors.blue.cterm,
},
replace = {
guifg = colors.black.gui,
guibg = colors.cyan.gui,
ctermfg = colors.black.cterm,
ctermbg = colors.cyan.cterm,
},
visual = {
guifg = colors.black.gui,
guibg = colors.purple.gui,
ctermfg = colors.black.cterm,
ctermbg = colors.purple.cterm,
},
command = {
guifg = colors.black.gui,
guibg = colors.red.gui,
ctermfg = colors.black.cterm,
ctermbg = colors.red.cterm,
},
}, },
low = { low = {
active = { active = {guifg = colors.white.gui, guibg = colors.grey_light.gui},
guifg = colors.white.gui,
guibg = colors.grey_cursor.gui,
ctermfg = colors.white.cterm,
ctermbg = colors.grey_cursor.cterm,
},
inactive = inactive, inactive = inactive,
}, },
med = { med = {
active = { active = {guifg = colors.yellow.gui, guibg = colors.grey_light.gui},
guifg = colors.yellow.gui,
guibg = colors.grey_cursor.gui,
ctermfg = colors.yellow.cterm,
ctermbg = colors.grey_cursor.cterm,
},
inactive = inactive, inactive = inactive,
}, },
high = { high = {
active = { active = {guifg = colors.white.gui, guibg = colors.grey.gui},
guifg = colors.white.gui,
guibg = colors.grey_menu.gui,
ctermfg = colors.white.cterm,
ctermbg = colors.grey_menu.cterm,
},
inactive = inactive, inactive = inactive,
}, },
error = { error = {
active = { active = {guifg = colors.black.gui, guibg = colors.red.gui},
guifg = colors.black.gui,
guibg = colors.red.gui,
ctermfg = colors.black.cterm,
ctermbg = colors.red.cterm,
},
inactive = inactive, inactive = inactive,
}, },
warning = { warning = {
active = { active = {guifg = colors.black.gui, guibg = colors.yellow.gui},
guifg = colors.black.gui,
guibg = colors.yellow.gui,
ctermfg = colors.black.cterm,
ctermbg = colors.yellow.cterm,
},
inactive = inactive, inactive = inactive,
}, },
bufferline = { bufferline = {
current = {guifg = colors.black.gui, guibg = colors.green.gui},
current_modified = {guifg = colors.black.gui, guibg = colors.blue.gui},
background = {guifg = colors.green.gui, guibg = colors.black.gui},
background_modified = {guifg = colors.blue.gui, guibg = colors.black.gui},
separator = inactive, separator = inactive,
current = {
guifg = colors.black.gui,
guibg = colors.green.gui,
ctermfg = colors.black.cterm,
ctermbg = colors.green.cterm,
},
current_modified = {
guifg = colors.black.gui,
guibg = colors.blue.gui,
ctermfg = colors.black.cterm,
ctermbg = colors.blue.cterm,
},
background = {
guifg = colors.green.gui,
guibg = colors.black.gui,
ctermfg = colors.green.cterm,
ctermbg = colors.black.cterm,
},
background_modified = {
guifg = colors.blue.gui,
guibg = colors.black.gui,
ctermfg = colors.blue.cterm,
ctermbg = colors.black.cterm,
},
}, },
} }