From 733fa2b1493fed3f9022d601d4ed8f10e4e057f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pankowski?= Date: Wed, 6 Dec 2023 22:33:45 +0100 Subject: [PATCH] move fg and bg to colors --- lua/lupancolors/lupandark.lua | 4 +++- lua/lupancolors/lupanlight.lua | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lua/lupancolors/lupandark.lua b/lua/lupancolors/lupandark.lua index 982d889..cb90ff9 100644 --- a/lua/lupancolors/lupandark.lua +++ b/lua/lupancolors/lupandark.lua @@ -6,6 +6,8 @@ local base = require('lupancolors.lupan').options.dark.base M.colors = { base = base, + bg = base.de(10).da(70), + fg = base.de(75), red = base.hue(0), orange = base.hue(30), yellow = base.hue(60), @@ -25,7 +27,7 @@ M.theme = lush(function() local c = M.colors return { -- See: h highlight-groups - Normal { bg = c.base.de(10).da(70), fg = c.base.de(75) }, + Normal { bg = c.bg, fg = c.fg }, CursorLine { bg = Normal.bg.li(5) }, Visual { bg = Normal.bg.sa(20).li(10) }, Comment { fg = c.base.de(75).da(20) }, diff --git a/lua/lupancolors/lupanlight.lua b/lua/lupancolors/lupanlight.lua index 7e9ff2d..760c503 100644 --- a/lua/lupancolors/lupanlight.lua +++ b/lua/lupancolors/lupanlight.lua @@ -6,6 +6,8 @@ local base = require('lupancolors.lupan').options.light.base M.colors = { base = base, + bg = base.de(60).li(90), + fg = base.de(75), red = base.hue(0), orange = base.hue(30), yellow = base.hue(60), @@ -25,7 +27,7 @@ M.theme = lush(function() local c = M.colors; return { -- See: h highlight-groups - Normal { bg = c.base.de(60).li(90), fg = c.base.de(75) }, + Normal { bg = c.bg, fg = c.fg }, CursorLine { bg = Normal.bg.da(4) }, Visual { bg = c.base.de(55).li(70) }, Comment { fg = c.base.de(60).li(20) },