Fix themes incorrectly setting the bold attribute (#194)

This commit is contained in:
agarof 2021-04-26 00:24:29 +02:00 committed by GitHub
parent e3a558bc1d
commit 6ba2b80b59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 63 additions and 63 deletions

View File

@ -17,25 +17,25 @@ local colors = {
local ayu_dark = { local ayu_dark = {
visual = { visual = {
a = {fg = colors.color2, bg = colors.color3, 'bold'}, a = {fg = colors.color2, bg = colors.color3, gui = 'bold'},
b = {fg = colors.color4, bg = colors.color5} b = {fg = colors.color4, bg = colors.color5}
}, },
replace = { replace = {
a = {fg = colors.color2, bg = colors.color8, 'bold'}, a = {fg = colors.color2, bg = colors.color8, gui = 'bold'},
b = {fg = colors.color4, bg = colors.color5} b = {fg = colors.color4, bg = colors.color5}
}, },
inactive = { inactive = {
c = {fg = colors.color4, bg = colors.color2}, c = {fg = colors.color4, bg = colors.color2},
a = {fg = colors.color4, bg = colors.color5, 'bold'}, a = {fg = colors.color4, bg = colors.color5, gui = 'bold'},
b = {fg = colors.color4, bg = colors.color5} b = {fg = colors.color4, bg = colors.color5}
}, },
normal = { normal = {
c = {fg = colors.color9, bg = colors.color2}, c = {fg = colors.color9, bg = colors.color2},
a = {fg = colors.color2, bg = colors.color10, 'bold'}, a = {fg = colors.color2, bg = colors.color10, gui = 'bold'},
b = {fg = colors.color4, bg = colors.color5} b = {fg = colors.color4, bg = colors.color5}
}, },
insert = { insert = {
a = {fg = colors.color2, bg = colors.color13, 'bold'}, a = {fg = colors.color2, bg = colors.color13, gui = 'bold'},
b = {fg = colors.color4, bg = colors.color5} b = {fg = colors.color4, bg = colors.color5}
} }
} }

View File

@ -17,25 +17,25 @@ local colors = {
local ayu_light = { local ayu_light = {
visual = { visual = {
a = {fg = colors.color2, bg = colors.color3, 'bold'}, a = {fg = colors.color2, bg = colors.color3, gui = 'bold'},
b = {fg = colors.color4, bg = colors.color5} b = {fg = colors.color4, bg = colors.color5}
}, },
replace = { replace = {
a = {fg = colors.color2, bg = colors.color8, 'bold'}, a = {fg = colors.color2, bg = colors.color8, gui = 'bold'},
b = {fg = colors.color4, bg = colors.color5} b = {fg = colors.color4, bg = colors.color5}
}, },
inactive = { inactive = {
c = {fg = colors.color4, bg = colors.color2}, c = {fg = colors.color4, bg = colors.color2},
a = {fg = colors.color4, bg = colors.color5, 'bold'}, a = {fg = colors.color4, bg = colors.color5, gui = 'bold'},
b = {fg = colors.color4, bg = colors.color5} b = {fg = colors.color4, bg = colors.color5}
}, },
normal = { normal = {
c = {fg = colors.color9, bg = colors.color2}, c = {fg = colors.color9, bg = colors.color2},
a = {fg = colors.color2, bg = colors.color10, 'bold'}, a = {fg = colors.color2, bg = colors.color10, gui = 'bold'},
b = {fg = colors.color4, bg = colors.color5} b = {fg = colors.color4, bg = colors.color5}
}, },
insert = { insert = {
a = {fg = colors.color2, bg = colors.color13, 'bold'}, a = {fg = colors.color2, bg = colors.color13, gui = 'bold'},
b = {fg = colors.color4, bg = colors.color5} b = {fg = colors.color4, bg = colors.color5}
} }
} }

View File

@ -17,25 +17,25 @@ local colors = {
local ayu_mirage = { local ayu_mirage = {
visual = { visual = {
a = {fg = colors.color2, bg = colors.color3, 'bold'}, a = {fg = colors.color2, bg = colors.color3, gui = 'bold'},
b = {fg = colors.color4, bg = colors.color5} b = {fg = colors.color4, bg = colors.color5}
}, },
replace = { replace = {
a = {fg = colors.color2, bg = colors.color8, 'bold'}, a = {fg = colors.color2, bg = colors.color8, gui = 'bold'},
b = {fg = colors.color4, bg = colors.color5} b = {fg = colors.color4, bg = colors.color5}
}, },
inactive = { inactive = {
c = {fg = colors.color4, bg = colors.color2}, c = {fg = colors.color4, bg = colors.color2},
a = {fg = colors.color4, bg = colors.color5, 'bold'}, a = {fg = colors.color4, bg = colors.color5, gui = 'bold'},
b = {fg = colors.color4, bg = colors.color5} b = {fg = colors.color4, bg = colors.color5}
}, },
normal = { normal = {
c = {fg = colors.color9, bg = colors.color2}, c = {fg = colors.color9, bg = colors.color2},
a = {fg = colors.color2, bg = colors.color10, 'bold'}, a = {fg = colors.color2, bg = colors.color10, gui = 'bold'},
b = {fg = colors.color4, bg = colors.color5} b = {fg = colors.color4, bg = colors.color5}
}, },
insert = { insert = {
a = {fg = colors.color2, bg = colors.color13, 'bold'}, a = {fg = colors.color2, bg = colors.color13, gui = 'bold'},
b = {fg = colors.color4, bg = colors.color5} b = {fg = colors.color4, bg = colors.color5}
} }
} }

View File

@ -15,29 +15,29 @@ local colors = {
codedark.normal = { codedark.normal = {
b = {fg = colors.green, bg = colors.black}, b = {fg = colors.green, bg = colors.black},
a = {fg = colors.black, bg = colors.green, 'bold'}, a = {fg = colors.black, bg = colors.green, gui = 'bold'},
c = {fg = colors.white, bg = colors.black} c = {fg = colors.white, bg = colors.black}
} }
codedark.visual = { codedark.visual = {
b = {fg = colors.pink, bg = colors.black}, b = {fg = colors.pink, bg = colors.black},
a = {fg = colors.black, bg = colors.pink, 'bold'} a = {fg = colors.black, bg = colors.pink, gui = 'bold'}
} }
codedark.inactive = { codedark.inactive = {
b = {fg = colors.black, bg = colors.blue}, b = {fg = colors.black, bg = colors.blue},
a = {fg = colors.white, bg = colors.gray, 'bold'} a = {fg = colors.white, bg = colors.gray, gui = 'bold'}
} }
codedark.replace = { codedark.replace = {
b = {fg = colors.lightred, bg = colors.black}, b = {fg = colors.lightred, bg = colors.black},
a = {fg = colors.black, bg = colors.lightred, 'bold'}, a = {fg = colors.black, bg = colors.lightred, gui = 'bold'},
c = {fg = colors.white, bg = colors.black} c = {fg = colors.white, bg = colors.black}
} }
codedark.insert = { codedark.insert = {
b = {fg = colors.blue, bg = colors.black}, b = {fg = colors.blue, bg = colors.black},
a = {fg = colors.black, bg = colors.blue, 'bold'}, a = {fg = colors.black, bg = colors.blue, gui = 'bold'},
c = {fg = colors.white, bg = colors.black} c = {fg = colors.white, bg = colors.black}
} }

View File

@ -17,15 +17,15 @@ local colors = {
local M = { local M = {
normal = { normal = {
a = {fg = colors.fg1, bg = colors.color4, 'bold'}, a = {fg = colors.fg1, bg = colors.color4, gui = 'bold'},
b = {fg = colors.fg2, bg = colors.color2}, b = {fg = colors.fg2, bg = colors.color2},
c = {fg = colors.fg2, bg = colors.color3} c = {fg = colors.fg2, bg = colors.color3}
}, },
command = {a = {fg = colors.fg1, bg = colors.color5, 'bold'}}, command = {a = {fg = colors.fg1, bg = colors.color5, gui = 'bold'}},
inactive = {a = {fg = colors.fg2, bg = colors.color2}}, inactive = {a = {fg = colors.fg2, bg = colors.color2}},
insert = {a = {fg = colors.fg1, bg = colors.color6, 'bold'}}, insert = {a = {fg = colors.fg1, bg = colors.color6, gui = 'bold'}},
replace = {a = {fg = colors.fg1, bg = colors.color7, 'bold'}}, replace = {a = {fg = colors.fg1, bg = colors.color7, gui = 'bold'}},
terminal = {a = {fg = colors.fg1, bg = colors.color8, 'bold'}}, terminal = {a = {fg = colors.fg1, bg = colors.color8, gui = 'bold'}},
visual = {a = {fg = colors.fg1, bg = colors.color9, 'bold'}} visual = {a = {fg = colors.fg1, bg = colors.color9, gui = 'bold'}}
} }
return M return M

View File

@ -19,25 +19,25 @@ local colors = {
local iceberg = { local iceberg = {
visual = { visual = {
a = {fg = colors.color2, bg = colors.color3, 'bold'}, a = {fg = colors.color2, bg = colors.color3, gui = 'bold'},
b = {fg = colors.color4, bg = colors.color5} b = {fg = colors.color4, bg = colors.color5}
}, },
replace = { replace = {
a = {fg = colors.color2, bg = colors.color8, 'bold'}, a = {fg = colors.color2, bg = colors.color8, gui = 'bold'},
b = {fg = colors.color4, bg = colors.color5} b = {fg = colors.color4, bg = colors.color5}
}, },
inactive = { inactive = {
c = {fg = colors.color9, bg = colors.color10}, c = {fg = colors.color9, bg = colors.color10},
a = {fg = colors.color9, bg = colors.color10, 'bold'}, a = {fg = colors.color9, bg = colors.color10, gui = 'bold'},
b = {fg = colors.color9, bg = colors.color10} b = {fg = colors.color9, bg = colors.color10}
}, },
normal = { normal = {
c = {fg = colors.color9, bg = colors.color10}, c = {fg = colors.color9, bg = colors.color10},
a = {fg = colors.color11, bg = colors.color12, 'bold'}, a = {fg = colors.color11, bg = colors.color12, gui = 'bold'},
b = {fg = colors.color4, bg = colors.color5} b = {fg = colors.color4, bg = colors.color5}
}, },
insert = { insert = {
a = {fg = colors.color2, bg = colors.color15, 'bold'}, a = {fg = colors.color2, bg = colors.color15, gui = 'bold'},
b = {fg = colors.color4, bg = colors.color5} b = {fg = colors.color4, bg = colors.color5}
} }
} }

View File

@ -18,25 +18,25 @@ local colors = {
local iceberg = { local iceberg = {
replace = { replace = {
b = {fg = colors.color0, bg = colors.color1}, b = {fg = colors.color0, bg = colors.color1},
a = {fg = colors.color0, bg = colors.color2, 'bold'} a = {fg = colors.color0, bg = colors.color2, gui = 'bold'}
}, },
visual = { visual = {
b = {fg = colors.color0, bg = colors.color1}, b = {fg = colors.color0, bg = colors.color1},
a = {fg = colors.color0, bg = colors.color5, 'bold'} a = {fg = colors.color0, bg = colors.color5, gui = 'bold'}
}, },
normal = { normal = {
b = {fg = colors.color0, bg = colors.color1}, b = {fg = colors.color0, bg = colors.color1},
a = {fg = colors.color0, bg = colors.color8, 'bold'}, a = {fg = colors.color0, bg = colors.color8, gui = 'bold'},
c = {fg = colors.color9, bg = colors.color10} c = {fg = colors.color9, bg = colors.color10}
}, },
inactive = { inactive = {
b = {fg = colors.color9, bg = colors.color10}, b = {fg = colors.color9, bg = colors.color10},
a = {fg = colors.color9, bg = colors.color10, 'bold'}, a = {fg = colors.color9, bg = colors.color10, gui = 'bold'},
c = {fg = colors.color9, bg = colors.color10} c = {fg = colors.color9, bg = colors.color10}
}, },
insert = { insert = {
b = {fg = colors.color0, bg = colors.color1}, b = {fg = colors.color0, bg = colors.color1},
a = {fg = colors.color0, bg = colors.color11, 'bold'} a = {fg = colors.color0, bg = colors.color11, gui = 'bold'}
} }
} }

View File

@ -18,25 +18,25 @@ local colors = {
local jellybeans = { local jellybeans = {
visual = { visual = {
a = {fg = colors.color2, bg = colors.color3, 'bold'}, a = {fg = colors.color2, bg = colors.color3, gui = 'bold'},
b = {fg = colors.color4, bg = colors.color5} b = {fg = colors.color4, bg = colors.color5}
}, },
replace = { replace = {
a = {fg = colors.color2, bg = colors.color8, 'bold'}, a = {fg = colors.color2, bg = colors.color8, gui = 'bold'},
b = {fg = colors.color4, bg = colors.color5} b = {fg = colors.color4, bg = colors.color5}
}, },
inactive = { inactive = {
c = {fg = colors.color9, bg = colors.color2}, c = {fg = colors.color9, bg = colors.color2},
a = {fg = colors.color10, bg = colors.color2, 'bold'}, a = {fg = colors.color10, bg = colors.color2, gui = 'bold'},
b = {fg = colors.color9, bg = colors.color2} b = {fg = colors.color9, bg = colors.color2}
}, },
normal = { normal = {
c = {fg = colors.color10, bg = colors.color2}, c = {fg = colors.color10, bg = colors.color2},
a = {fg = colors.color2, bg = colors.color11, 'bold'}, a = {fg = colors.color2, bg = colors.color11, gui = 'bold'},
b = {fg = colors.color4, bg = colors.color5} b = {fg = colors.color4, bg = colors.color5}
}, },
insert = { insert = {
a = {fg = colors.color2, bg = colors.color14, 'bold'}, a = {fg = colors.color2, bg = colors.color14, gui = 'bold'},
b = {fg = colors.color4, bg = colors.color5} b = {fg = colors.color4, bg = colors.color5}
} }
} }

View File

@ -25,12 +25,12 @@ M.normal = {
} }
M.insert = { M.insert = {
a = {fg = colors.bg, bg = colors.green, 'bold', gui = 'bold'}, a = {fg = colors.bg, bg = colors.green, gui = 'bold'},
b = {fg = colors.fg, bg = colors.gray3} b = {fg = colors.fg, bg = colors.gray3}
} }
M.visual = { M.visual = {
a = {fg = colors.bg, bg = colors.purple, 'bold', gui = 'bold'}, a = {fg = colors.bg, bg = colors.purple, gui = 'bold'},
b = {fg = colors.fg, bg = colors.gray3} b = {fg = colors.fg, bg = colors.gray3}
} }

View File

@ -14,25 +14,25 @@ local colors = {
local nightfly = { local nightfly = {
replace = { replace = {
a = {fg = colors.color0, bg = colors.color1, 'bold'}, a = {fg = colors.color0, bg = colors.color1, gui = 'bold'},
b = {fg = colors.color2, bg = colors.color3} b = {fg = colors.color2, bg = colors.color3}
}, },
inactive = { inactive = {
a = {fg = colors.color6, bg = colors.color3, 'bold'}, a = {fg = colors.color6, bg = colors.color3, gui = 'bold'},
b = {fg = colors.color6, bg = colors.color3}, b = {fg = colors.color6, bg = colors.color3},
c = {fg = colors.color6, bg = colors.color3} c = {fg = colors.color6, bg = colors.color3}
}, },
normal = { normal = {
a = {fg = colors.color0, bg = colors.color7, 'bold'}, a = {fg = colors.color0, bg = colors.color7, gui = 'bold'},
b = {fg = colors.color2, bg = colors.color3}, b = {fg = colors.color2, bg = colors.color3},
c = {fg = colors.color2, bg = colors.color3} c = {fg = colors.color2, bg = colors.color3}
}, },
visual = { visual = {
a = {fg = colors.color0, bg = colors.color8, 'bold'}, a = {fg = colors.color0, bg = colors.color8, gui = 'bold'},
b = {fg = colors.color2, bg = colors.color3} b = {fg = colors.color2, bg = colors.color3}
}, },
insert = { insert = {
a = {fg = colors.color0, bg = colors.color2, 'bold'}, a = {fg = colors.color0, bg = colors.color2, gui = 'bold'},
b = {fg = colors.color2, bg = colors.color3} b = {fg = colors.color2, bg = colors.color3}
} }
} }

View File

@ -17,27 +17,27 @@ local colors = {
local oceanicnext = { local oceanicnext = {
insert = { insert = {
a = {fg = colors.color0, bg = colors.color1, 'bold'}, a = {fg = colors.color0, bg = colors.color1, gui = 'bold'},
b = {fg = colors.color0, bg = colors.color2}, b = {fg = colors.color0, bg = colors.color2},
c = {fg = colors.color0, bg = colors.color3} c = {fg = colors.color0, bg = colors.color3}
}, },
normal = { normal = {
a = {fg = colors.color0, bg = colors.color4, 'bold'}, a = {fg = colors.color0, bg = colors.color4, gui = 'bold'},
b = {fg = colors.color0, bg = colors.color2}, b = {fg = colors.color0, bg = colors.color2},
c = {fg = colors.color0, bg = colors.color3} c = {fg = colors.color0, bg = colors.color3}
}, },
inactive = { inactive = {
a = {fg = colors.color5, bg = colors.color2, 'bold'}, a = {fg = colors.color5, bg = colors.color2, gui = 'bold'},
b = {fg = colors.color5, bg = colors.color3}, b = {fg = colors.color5, bg = colors.color3},
c = {fg = colors.color2, bg = colors.color3} c = {fg = colors.color2, bg = colors.color3}
}, },
visual = { visual = {
a = {fg = colors.color0, bg = colors.color6, 'bold'}, a = {fg = colors.color0, bg = colors.color6, gui = 'bold'},
b = {fg = colors.color0, bg = colors.color2}, b = {fg = colors.color0, bg = colors.color2},
c = {fg = colors.color0, bg = colors.color3} c = {fg = colors.color0, bg = colors.color3}
}, },
replace = { replace = {
a = {fg = colors.color0, bg = colors.color7, 'bold'}, a = {fg = colors.color0, bg = colors.color7, gui = 'bold'},
b = {fg = colors.color0, bg = colors.color2}, b = {fg = colors.color0, bg = colors.color2},
c = {fg = colors.color0, bg = colors.color3} c = {fg = colors.color0, bg = colors.color3}
} }

View File

@ -24,24 +24,24 @@ local colors = {
return { return {
normal = { normal = {
a = {fg = colors.black, bg = colors.purple, 'bold'}, a = {fg = colors.black, bg = colors.purple, gui = 'bold'},
b = {fg = colors.purple, bg = colors.menu_grey}, b = {fg = colors.purple, bg = colors.menu_grey},
c = {fg = colors.comment_grey, bg = colors.black} c = {fg = colors.comment_grey, bg = colors.black}
}, },
insert = { insert = {
a = {fg = colors.black, bg = colors.blue, 'bold'}, a = {fg = colors.black, bg = colors.blue, gui = 'bold'},
b = {fg = colors.blue, bg = colors.menu_grey} b = {fg = colors.blue, bg = colors.menu_grey}
}, },
visual = { visual = {
a = {fg = colors.black, bg = colors.cyan, 'bold'}, a = {fg = colors.black, bg = colors.cyan, gui = 'bold'},
b = {fg = colors.cyan, bg = colors.menu_grey} b = {fg = colors.cyan, bg = colors.menu_grey}
}, },
replace = { replace = {
a = {fg = colors.black, bg = colors.green, 'bold'}, a = {fg = colors.black, bg = colors.green, gui = 'bold'},
b = {fg = colors.green, bg = colors.menu_grey} b = {fg = colors.green, bg = colors.menu_grey}
}, },
inactive = { inactive = {
a = {fg = colors.black, bg = colors.menu_grey, 'bold'}, a = {fg = colors.black, bg = colors.menu_grey, gui = 'bold'},
b = {fg = colors.black, bg = colors.menu_grey}, b = {fg = colors.black, bg = colors.menu_grey},
c = {fg = colors.black, bg = colors.menu_grey} c = {fg = colors.black, bg = colors.menu_grey}
} }

View File

@ -19,25 +19,25 @@ local colors = {
local seoul256 = { local seoul256 = {
visual = { visual = {
b = {fg = colors.color0, bg = colors.color1}, b = {fg = colors.color0, bg = colors.color1},
a = {fg = colors.color4, bg = colors.color5, 'bold'} a = {fg = colors.color4, bg = colors.color5, gui = 'bold'}
}, },
inactive = { inactive = {
b = {fg = colors.color6, bg = colors.color4}, b = {fg = colors.color6, bg = colors.color4},
c = {fg = colors.color6, bg = colors.color4}, c = {fg = colors.color6, bg = colors.color4},
a = {fg = colors.color7, bg = colors.color4, 'bold'} a = {fg = colors.color7, bg = colors.color4, gui = 'bold'}
}, },
insert = { insert = {
b = {fg = colors.color0, bg = colors.color1}, b = {fg = colors.color0, bg = colors.color1},
a = {fg = colors.color4, bg = colors.color10, 'bold'} a = {fg = colors.color4, bg = colors.color10, gui = 'bold'}
}, },
replace = { replace = {
b = {fg = colors.color0, bg = colors.color1}, b = {fg = colors.color0, bg = colors.color1},
a = {fg = colors.color4, bg = colors.color13, 'bold'} a = {fg = colors.color4, bg = colors.color13, gui = 'bold'}
}, },
normal = { normal = {
b = {fg = colors.color0, bg = colors.color1}, b = {fg = colors.color0, bg = colors.color1},
c = {fg = colors.color7, bg = colors.color4}, c = {fg = colors.color7, bg = colors.color4},
a = {fg = colors.color4, bg = colors.color14, 'bold'} a = {fg = colors.color4, bg = colors.color14, gui = 'bold'}
} }
} }