all colors relative to base

This commit is contained in:
Łukasz Pankowski 2023-12-06 05:53:22 +01:00
parent 4f7cde15ee
commit 272d335276
2 changed files with 7 additions and 7 deletions

View File

@ -18,10 +18,10 @@ local theme = lush(function()
local hot_pink = base.hue(330) local hot_pink = base.hue(330)
return { return {
-- See: h highlight-groups -- 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) }, CursorLine { bg = Normal.bg.li(10) },
Visual { bg = hsl(base.h, 30, 30) }, Visual { bg = Normal.bg.sa(20).li(20) },
Comment { fg = hsl(base.h, 10, 60) }, Comment { fg = base.de(75).da(20) },
CursorColumn { CursorLine }, CursorColumn { CursorLine },
LineNr { Comment, gui = "italic" }, LineNr { Comment, gui = "italic" },
CursorLineNr { fg = blue, bg = CursorLine.bg, gui = "italic" }, CursorLineNr { fg = blue, bg = CursorLine.bg, gui = "italic" },
@ -47,12 +47,12 @@ local theme = lush(function()
MoreMsg { fg = green, gui = "bold" }, MoreMsg { fg = green, gui = "bold" },
Question { fg = green, gui = "bold" }, Question { fg = green, gui = "bold" },
TelescopeSelection { CursorLine }, TelescopeSelection { CursorLine },
WhichKeyFloat { bg = hsl(base.h, 15, 30) }, WhichKeyFloat { bg = Normal.bg.li(15) },
DiagnosticError { fg = red }, DiagnosticError { fg = red },
DiagnosticWarn { fg = orange }, DiagnosticWarn { fg = orange },
DiagnosticInfo { fg = cyan }, DiagnosticInfo { fg = cyan },
Pmenu { bg = blue.da(45).de(45) }, Pmenu { bg = Normal.bg.li(20) },
PmenuSel { bg = blue.da(45) }, PmenuSel { bg = Normal.bg.li(25).sa(20) },
Error { bg = red.da(25), fg = Normal.bg }, Error { bg = red.da(25), fg = Normal.bg },
ErrorMsg { Error }, ErrorMsg { Error },
MatchParen { fg = hot_pink, gui = "bold" }, MatchParen { fg = hot_pink, gui = "bold" },

View File

@ -18,7 +18,7 @@ local theme = lush(function()
local hot_pink = base.hue(330) local hot_pink = base.hue(330)
return { return {
-- See: h highlight-groups -- 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) }, CursorLine { bg = Normal.bg.da(4) },
Visual { bg = base.de(55).li(65) }, Visual { bg = base.de(55).li(65) },
Comment { fg = base.de(60).li(20) }, Comment { fg = base.de(60).li(20) },