mirror of
https://github.com/gabehf/base46.git
synced 2026-03-08 23:18:15 -07:00
add hl groups for nvcheatsheet grid theme
This commit is contained in:
parent
d48efd4a58
commit
c0b4e92f5d
1 changed files with 21 additions and 2 deletions
|
|
@ -1,7 +1,6 @@
|
|||
local colors = require("base46").get_theme_tb "base_30"
|
||||
|
||||
return {
|
||||
|
||||
local M = {
|
||||
NvChHeading = {
|
||||
fg = colors.black,
|
||||
bg = colors.blue,
|
||||
|
|
@ -17,3 +16,23 @@ return {
|
|||
bg = colors.black2,
|
||||
},
|
||||
}
|
||||
|
||||
local cheatsheet_theme = require("core.utils").load_config().ui.cheatsheet.theme
|
||||
|
||||
if cheatsheet_theme == "grid" then
|
||||
M.NvChAsciiHeader = {
|
||||
fg = colors.blue,
|
||||
}
|
||||
|
||||
local bgcols =
|
||||
{ "blue", "red", "green", "yellow", "orange", "baby_pink", "purple", "white", "cyan", "vibrant_green", "teal" }
|
||||
|
||||
for _, value in ipairs(bgcols) do
|
||||
M["NvChHead" .. value] = {
|
||||
fg = colors.black,
|
||||
bg = colors[value],
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue