From 272d3352765be6ed84adb5716964e026994145ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pankowski?= Date: Wed, 6 Dec 2023 05:53:22 +0100 Subject: [PATCH] all colors relative to base --- lua/lupancolors/lupan.lua | 12 ++++++------ lua/lupancolors/lupanlight.lua | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lua/lupancolors/lupan.lua b/lua/lupancolors/lupan.lua index 4647ac7..554c9a5 100644 --- a/lua/lupancolors/lupan.lua +++ b/lua/lupancolors/lupan.lua @@ -18,10 +18,10 @@ local theme = lush(function() local hot_pink = base.hue(330) return { -- See: h highlight-groups - Normal { bg = hsl(base.h, 15, 20), fg = hsl(base.h, 30, 75) }, + Normal { bg = base.de(65).da(75), fg = base.de(25) }, CursorLine { bg = Normal.bg.li(10) }, - Visual { bg = hsl(base.h, 30, 30) }, - Comment { fg = hsl(base.h, 10, 60) }, + Visual { bg = Normal.bg.sa(20).li(20) }, + Comment { fg = base.de(75).da(20) }, CursorColumn { CursorLine }, LineNr { Comment, gui = "italic" }, CursorLineNr { fg = blue, bg = CursorLine.bg, gui = "italic" }, @@ -47,12 +47,12 @@ local theme = lush(function() MoreMsg { fg = green, gui = "bold" }, Question { fg = green, gui = "bold" }, TelescopeSelection { CursorLine }, - WhichKeyFloat { bg = hsl(base.h, 15, 30) }, + WhichKeyFloat { bg = Normal.bg.li(15) }, DiagnosticError { fg = red }, DiagnosticWarn { fg = orange }, DiagnosticInfo { fg = cyan }, - Pmenu { bg = blue.da(45).de(45) }, - PmenuSel { bg = blue.da(45) }, + Pmenu { bg = Normal.bg.li(20) }, + PmenuSel { bg = Normal.bg.li(25).sa(20) }, Error { bg = red.da(25), fg = Normal.bg }, ErrorMsg { Error }, MatchParen { fg = hot_pink, gui = "bold" }, diff --git a/lua/lupancolors/lupanlight.lua b/lua/lupancolors/lupanlight.lua index 8c288dd..4c6a9e9 100644 --- a/lua/lupancolors/lupanlight.lua +++ b/lua/lupancolors/lupanlight.lua @@ -18,7 +18,7 @@ local theme = lush(function() local hot_pink = base.hue(330) return { -- See: h highlight-groups - Normal { bg = hsl(base.h, 25, 97), fg = hsl(blue.h, 30, 20) }, + Normal { bg = base.de(70).li(90), fg = base.de(25) }, CursorLine { bg = Normal.bg.da(4) }, Visual { bg = base.de(55).li(65) }, Comment { fg = base.de(60).li(20) },