Skip to content

Commit 3489225

Browse files
committed
[feline.nvim] refactor statusline color name
1 parent bb774b6 commit 3489225

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

lua/plugins/feline_nvim.lua

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ components.active[1] = {
4848
name = "file_info",
4949
opts = { type = "relative" }
5050
},
51-
hl = {fg = 'black', bg = 'white1', style = 'bold'},
51+
hl = {fg = 'black', bg = 'f_color', style = 'bold'},
5252
left_sep = {
5353
' ',
5454
'slant_left_2',
55-
{str = ' ', hl = {bg = 'white1', fg = 'NONE'}},
55+
{str = ' ', hl = {bg = 'f_color', fg = 'NONE'}},
5656
},
5757
},
5858
{
@@ -63,7 +63,7 @@ components.active[1] = {
6363
end
6464
return " "
6565
end,
66-
hl = {fg = 'black', bg = 'white1', style = 'NONE'},
66+
hl = {fg = 'black', bg = 'f_color', style = 'NONE'},
6767
right_sep = {'slant_right_2', ' '},
6868
},
6969
{
@@ -85,7 +85,7 @@ components.active[1] = {
8585
},
8686
{
8787
provider = 'git_branch',
88-
hl = {fg = 'white1', bg = 'bg', style = 'bold'},
88+
hl = {fg = 'f_color', bg = 'bg', style = 'bold'},
8989
right_sep = function()
9090
local val = {hl = {fg = 'NONE', bg = 'bg'}}
9191
if b.gitsigns_status_dict then
@@ -180,14 +180,14 @@ components.active[3] = {
180180
{
181181
provider = '  %l:%-2c- %L ',
182182
left_sep = ' ',
183-
hl = {fg = 'black', bg = 'white1', style = 'bold'},
183+
hl = {fg = 'black', bg = 'f_color', style = 'bold'},
184184
},
185185
{
186186
-- provider = 'scroll_bar',
187187
provider = ' ',
188188
hl = {
189189
fg = 'black',
190-
bg = 'white1',
190+
bg = 'f_color',
191191
-- style = 'bold',
192192
left_sep = ' ',
193193
-- right_sep = ' '
@@ -228,7 +228,7 @@ local colors = {
228228
red = '#D10000',
229229
violet = '#9E93E8',
230230
white = '#FFFFFF',
231-
white1 = '#0f5b5e',
231+
f_color = '#0f5b5e',
232232
yellow = '#E1E120',
233233
}
234234

0 commit comments

Comments
 (0)