From c1bea905248e7304129b2191eb4756c7877c9d3a Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Mon, 26 Sep 2022 19:19:12 +0200 Subject: [PATCH] vim: add base04 color --- config/nvim/lua/fs/lualine.lua | 4 ++-- config/nvim/lua/fs/util.lua | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/config/nvim/lua/fs/lualine.lua b/config/nvim/lua/fs/lualine.lua index 54fbe22..ab4aec8 100644 --- a/config/nvim/lua/fs/lualine.lua +++ b/config/nvim/lua/fs/lualine.lua @@ -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 { diff --git a/config/nvim/lua/fs/util.lua b/config/nvim/lua/fs/util.lua index e7ae962..d89fb80 100644 --- a/config/nvim/lua/fs/util.lua +++ b/config/nvim/lua/fs/util.lua @@ -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,