From: Nathanael Sandy Date: Fri, 24 Mar 2023 08:43:20 +0000 (+0100) Subject: fix: relax base, add (most) neogit notifications X-Git-Url: https://git.atheridis.org/?a=commitdiff_plain;h=96c3c2835341ab83307b3f451da3ad84d67ed003;p=nvim-plugins%2Fflatwhite.git fix: relax base, add (most) neogit notifications --- diff --git a/lua/flatwhite/groups.lua b/lua/flatwhite/groups.lua index 9e3fad9..9643758 100644 --- a/lua/flatwhite/groups.lua +++ b/lua/flatwhite/groups.lua @@ -34,7 +34,7 @@ local function setup(configs) } return { - Normal = colors.fw_base, + Normal = { fg = colors.fg, bg = colors.bg }, NormalFloat = { fg = colors.fg, bg = colors.base6 }, Comment = { fg = colors.comment, italic = configs.italic_comment }, Constant = colors.fw_teal, @@ -64,7 +64,7 @@ local function setup(configs) StorageClass = colors.fw_purple, Structure = colors.fw_orange, TypeDef = { fg = colors.yellow }, - Special = { fg = colors.green_text, bg = colors.green_bg}, --italic = true }, + Special = { fg = colors.green_text, bg = colors.green_bg }, --italic = true }, SpecialComment = { fg = colors.comment, italic = true }, Error = colors.fw_red, Todo = { fg = colors.blue_text, bg = colors.blue_bg, bold = true, italic = true }, @@ -82,7 +82,7 @@ local function setup(configs) StatusLineTermNC = { fg = colors.comment }, Directory = colors.fw_teal, MoreMsg = colors.fw_green, - ModeMsg = {bold = true}, + ModeMsg = { bold = true }, DiffAdd = colors.fw_green, DiffChange = colors.fw_orange, DiffDelete = colors.fw_red, @@ -127,7 +127,7 @@ local function setup(configs) ["@constant"] = colors.fw_teal, ["@constant.builtin"] = colors.fw_teal, ["@symbol"] = colors.fw_base, - ["@comment"] = {fg=colors.yellow_text, bg=colors.yellow_bg, italic=configs.italic_comment}, --colors.fw_yellow, --{ fg = colors.base2, italic = true }, + ["@comment"] = { fg = colors.yellow_text, bg = colors.yellow_bg, italic = configs.italic_comment }, --colors.fw_yellow, --{ fg = colors.base2, italic = true }, ["@constant.macro"] = colors.fw_teal, ["@string.regex"] = colors.fw_red, ["@string"] = colors.fw_green, @@ -142,8 +142,8 @@ local function setup(configs) ["@function"] = configs.bold_function and colors.fw_base_bold or colors.fw_base, ["@function.builtin"] = configs.bold_function and colors.fw_base_bold or colors.fw_base, ["@function.macro"] = configs.bold_function and colors.fw_base_bold or colors.fw_base, - ["@parameter"] = colors.fw_base, - ["@parameter.reference"] = colors.fw_base, + ["@parameter"] = colors.fw_orange, + ["@parameter.reference"] = colors.fw_orange, ["@method"] = configs.bold_function and colors.fw_base_bold or colors.fw_base, ["@field"] = colors.fw_base, ["@string.field"] = colors.fw_base, @@ -426,7 +426,14 @@ local function setup(configs) NeogitDiffDeleteHighlight = colors.fw_red, NeogitDiffContextHighlight = { bg = colors.base5 }, --{bold = true}, NeogitHunkHeader = colors.fw_purple, + NeogitNotificationInfo = colors.fw_blue, + NeogitNotificationWarning = colors.fw_orange, + NeogitNotificationError = colors.fw_red, -- NeogitHunkHeaderHighlight = {reverse = true}, + -- Illuminate + -- IlluminatedWordText = { bg = colors.base6, underline = true }, + -- IlluminatedWordRead = { bg = colors.base6, underline = true }, + -- IlluminatedWordWrite = { bg = colors.base6, underline = true }, } end diff --git a/lua/flatwhite/palette.lua b/lua/flatwhite/palette.lua index 732c818..6f65c1b 100644 --- a/lua/flatwhite/palette.lua +++ b/lua/flatwhite/palette.lua @@ -87,8 +87,8 @@ return { diff_renamed = "#52aeff", bg = base7, fg = base1, - fw_base = { fg = base1, bg = base7 }, - fw_base_bold = { fg = base1, bg = base7, bold = true }, + fw_base = { fg = base1},--, bg = base7 }, + fw_base_bold = { fg = base1, bold=true}, --bg = base7, bold = true }, selection = base4, comment = base2, red = red_text_sec,