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 theme = (function()
|
||||||
local active = {
|
local active = {
|
||||||
a = Table:new { fg = colors.base03, bg = colors.base1 },
|
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 },
|
c = Table:new { fg = colors.base1, bg = colors.base02 },
|
||||||
}
|
}
|
||||||
|
|
||||||
local inactive = {
|
local inactive = {
|
||||||
a = { fg = colors.base02, bg = colors.base00 },
|
a = { fg = colors.base02, bg = colors.base00 },
|
||||||
b = { fg = colors.base02, bg = colors.base01 },
|
b = { fg = colors.base02, bg = colors.base01 },
|
||||||
c = { fg = colors.base01, bg = colors.base02 },
|
c = { fg = colors.base01, bg = colors.base03 },
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -7,6 +7,7 @@ M.vmap = function(tbl) vim.keymap.set('v', tbl[1], tbl[2], tbl[3]) end
|
||||||
M.colors = function(gui)
|
M.colors = function(gui)
|
||||||
if gui or vim.opt.termguicolors:get() then
|
if gui or vim.opt.termguicolors:get() then
|
||||||
return {
|
return {
|
||||||
|
base04 = "#002028",
|
||||||
base03 = "#002b36",
|
base03 = "#002b36",
|
||||||
base02 = "#073642",
|
base02 = "#073642",
|
||||||
base01 = "#586e75",
|
base01 = "#586e75",
|
||||||
|
@ -22,10 +23,11 @@ M.colors = function(gui)
|
||||||
violet = "#6c71c4",
|
violet = "#6c71c4",
|
||||||
blue = "#268bd2",
|
blue = "#268bd2",
|
||||||
cyan = "#2aa198",
|
cyan = "#2aa198",
|
||||||
green = "#859900",
|
green = "#719e07", -- original: #859900
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
return {
|
return {
|
||||||
|
base04 = 8,
|
||||||
base03 = 8,
|
base03 = 8,
|
||||||
base02 = 0,
|
base02 = 0,
|
||||||
base01 = 10,
|
base01 = 10,
|
||||||
|
|
Loading…
Add table
Reference in a new issue