fix: gruvbox status line colors

This commit is contained in:
Matt Leong 2022-01-17 14:39:06 -08:00
parent 9680e81aa3
commit b505570da8

View file

@ -1,24 +1,23 @@
local theme = require('gruvbox.colors') local theme = require('gruvbox.colors')
local convert = require('lush.hsl.convert')
local colors = { local colors = {
white = convert.hsl_to_hex(theme.light0_hard), white = theme.light0_hard,
bg = convert.hsl_to_hex(theme.dark0), bg = theme.dark0,
bg_highlight = convert.hsl_to_hex(theme.dark1), bg_highlight = theme.dark1,
normal = convert.hsl_to_hex(theme.neutral_yellow), normal = theme.neutral_yellow,
insert = convert.hsl_to_hex(theme.neutral_green), insert = theme.neutral_green,
command = convert.hsl_to_hex(theme.neutral_orange), command = theme.neutral_orange,
visual = convert.hsl_to_hex(theme.neutral_purple), visual = theme.neutral_purple,
replace = convert.hsl_to_hex(theme.neutral_red), replace = theme.neutral_red,
diffAdd = convert.hsl_to_hex(theme.neutral_green), diffAdd = theme.neutral_green,
diffModified = convert.hsl_to_hex(theme.neutral_orange), diffModified = theme.neutral_orange,
diffDeleted = convert.hsl_to_hex(theme.neutral_red), diffDeleted = theme.neutral_red,
trace = convert.hsl_to_hex(theme.neutral_orange), trace = theme.neutral_orange,
hint = convert.hsl_to_hex(theme.neutral_blue), hint = theme.neutral_blue,
info = convert.hsl_to_hex(theme.neutral_green), info = theme.neutral_green,
error = convert.hsl_to_hex(theme.neutral_red), error = theme.neutral_red,
warn = convert.hsl_to_hex(theme.neutral_orange), warn = theme.neutral_orange,
floatBorder = convert.hsl_to_hex(theme.dark3), floatBorder = theme.dark3,
selection_caret = convert.hsl_to_hex(theme.neutral_blue), selection_caret = theme.neutral_blue,
} }
return colors return colors