add setup function

This commit is contained in:
2023-12-06 06:23:55 +01:00
parent 272d335276
commit ee8d34c0f7
4 changed files with 97 additions and 73 deletions

View File

@@ -1,9 +1,10 @@
local lush = require('lush')
local hsl = lush.hsl -- We'll use hsl a lot so its nice to bind it separately
local hsl = lush.hsl
local base = require('lupancolors.lupan').options.light.base
---@diagnostic disable: undefined-global
local theme = lush(function()
local base = hsl(210, 50, 35)
local red = base.hue(0)
local orange = base.hue(30)
local yellow = base.hue(60)
@@ -18,7 +19,7 @@ local theme = lush(function()
local hot_pink = base.hue(330)
return {
-- See: h highlight-groups
Normal { bg = base.de(70).li(90), fg = base.de(25) },
Normal { bg = base.de(70).li(90), fg = base.de(75) },
CursorLine { bg = Normal.bg.da(4) },
Visual { bg = base.de(55).li(65) },
Comment { fg = base.de(60).li(20) },
@@ -67,7 +68,6 @@ local theme = lush(function()
}
end)
return theme
-- vi:nowrap:number