vim: add base04 color
This commit is contained in:
parent
67569421da
commit
c1bea90524
2 changed files with 5 additions and 3 deletions
|
@ -15,14 +15,14 @@ local colors = require'fs.util'.colors()
|
|||
local theme = (function()
|
||||
local active = {
|
||||
a = Table:new { fg = colors.base03, bg = colors.base1 },
|
||||
b = Table:new { fg = colors.base03, bg = colors.base0 },
|
||||
b = Table:new { fg = colors.base03, bg = colors.base0 },
|
||||
c = Table:new { fg = colors.base1, bg = colors.base02 },
|
||||
}
|
||||
|
||||
local inactive = {
|
||||
a = { fg = colors.base02, bg = colors.base00 },
|
||||
b = { fg = colors.base02, bg = colors.base01 },
|
||||
c = { fg = colors.base01, bg = colors.base02 },
|
||||
c = { fg = colors.base01, bg = colors.base03 },
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
|
@ -7,6 +7,7 @@ M.vmap = function(tbl) vim.keymap.set('v', tbl[1], tbl[2], tbl[3]) end
|
|||
M.colors = function(gui)
|
||||
if gui or vim.opt.termguicolors:get() then
|
||||
return {
|
||||
base04 = "#002028",
|
||||
base03 = "#002b36",
|
||||
base02 = "#073642",
|
||||
base01 = "#586e75",
|
||||
|
@ -22,10 +23,11 @@ M.colors = function(gui)
|
|||
violet = "#6c71c4",
|
||||
blue = "#268bd2",
|
||||
cyan = "#2aa198",
|
||||
green = "#859900",
|
||||
green = "#719e07", -- original: #859900
|
||||
}
|
||||
end
|
||||
return {
|
||||
base04 = 8,
|
||||
base03 = 8,
|
||||
base02 = 0,
|
||||
base01 = 10,
|
||||
|
|
Loading…
Add table
Reference in a new issue