Compare commits

..

No commits in common. "733fa2b1493fed3f9022d601d4ed8f10e4e057f8" and "f6fa507e39c50e1390d0f519174909ca2dfba1c4" have entirely different histories.

4 changed files with 16 additions and 18 deletions

View File

@ -26,8 +26,8 @@ else
replace = c.red.hex, replace = c.red.hex,
command = c.yellow.hex, command = c.yellow.hex,
b = { bg = c.base.de(50).li(70).hex, fg = c.base.hex }, b = { bg = c.base.de(50).li(70).hex, fg = c.base.hex },
c = { bg = c.base.de(30).li(60).hex, fg = c.base.hex }, c = { bg = c.base.de(00).li(60).hex, fg = c.base.hex },
inactive = { bg = c.base.de(50).li(50).hex, fg = c.base.da(30).hex }, inactive = { bg = c.base.de(50).li(40).hex, fg = c.base.da(30).hex },
} }
end end

View File

@ -1,14 +1,14 @@
local lush = require('lush') local lush = require('lush')
local hsluv = lush.hsluv local hsl = lush.hsl
local M = {} local M = {}
local default = { local default = {
dark = { dark = {
base = hsluv(210, 40, 75), base = hsl(210, 40, 75),
}, },
light = { light = {
base = hsluv(210, 70, 50), base = hsl(210, 50, 35),
} }
} }

View File

@ -1,4 +1,5 @@
local lush = require('lush') local lush = require('lush')
local hsl = lush.hsl
local M = {} local M = {}
@ -6,8 +7,6 @@ local base = require('lupancolors.lupan').options.dark.base
M.colors = { M.colors = {
base = base, base = base,
bg = base.de(10).da(70),
fg = base.de(75),
red = base.hue(0), red = base.hue(0),
orange = base.hue(30), orange = base.hue(30),
yellow = base.hue(60), yellow = base.hue(60),
@ -27,9 +26,9 @@ M.theme = lush(function()
local c = M.colors local c = M.colors
return { return {
-- See: h highlight-groups -- See: h highlight-groups
Normal { bg = c.bg, fg = c.fg }, Normal { bg = c.base.de(65).da(75), fg = c.base.de(25) },
CursorLine { bg = Normal.bg.li(5) }, CursorLine { bg = Normal.bg.li(10) },
Visual { bg = Normal.bg.sa(20).li(10) }, Visual { bg = Normal.bg.sa(20).li(20) },
Comment { fg = c.base.de(75).da(20) }, Comment { fg = c.base.de(75).da(20) },
CursorColumn { CursorLine }, CursorColumn { CursorLine },
LineNr { Comment, gui = "italic" }, LineNr { Comment, gui = "italic" },
@ -56,19 +55,19 @@ M.theme = lush(function()
MoreMsg { fg = c.green, gui = "bold" }, MoreMsg { fg = c.green, gui = "bold" },
Question { fg = c.green, gui = "bold" }, Question { fg = c.green, gui = "bold" },
TelescopeSelection { CursorLine }, TelescopeSelection { CursorLine },
WhiKeyFloat { bg = Normal.bg.li(10) }, WhiKeyFloat { bg = Normal.bg.li(15) },
DiagnosticError { fg = c.red }, DiagnosticError { fg = c.red },
DiagnosticWarn { fg = c.orange }, DiagnosticWarn { fg = c.orange },
DiagnosticInfo { fg = c.cyan }, DiagnosticInfo { fg = c.cyan },
Pmenu { bg = Normal.bg.li(10) }, Pmenu { bg = Normal.bg.li(20) },
PmenuSel { bg = Normal.bg.li(20).sa(20) }, PmenuSel { bg = Normal.bg.li(25).sa(20) },
Error { bg = c.red.da(25), fg = Normal.bg }, Error { bg = c.red.da(25), fg = Normal.bg },
ErrorMsg { Error }, ErrorMsg { Error },
MatParen { fg = c.hot_pink, gui = "bold" }, MatParen { fg = c.hot_pink, gui = "bold" },
SpecialKey { fg = c.red }, SpecialKey { fg = c.red },
Directory { fg = c.cyan }, Directory { fg = c.cyan },
Title { fg = c.fuchsia, gui = "bold" }, Title { fg = c.fuchsia, gui = "bold" },
Conceal { bg = Normal.bg.li(20).de(50) }, Conceal { bg = c.blue.da(40).de(50) },
SpellBad { fg = c.red, gui = "underline" }, SpellBad { fg = c.red, gui = "underline" },
SpellRare { fg = Type.fg, gui = "underline" }, SpellRare { fg = Type.fg, gui = "underline" },
SpellLocal { fg = DiagnosticInfo.fg, gui = "underline" }, SpellLocal { fg = DiagnosticInfo.fg, gui = "underline" },

View File

@ -1,4 +1,5 @@
local lush = require('lush') local lush = require('lush')
local hsl = lush.hsl
local M = {} local M = {}
@ -6,8 +7,6 @@ local base = require('lupancolors.lupan').options.light.base
M.colors = { M.colors = {
base = base, base = base,
bg = base.de(60).li(90),
fg = base.de(75),
red = base.hue(0), red = base.hue(0),
orange = base.hue(30), orange = base.hue(30),
yellow = base.hue(60), yellow = base.hue(60),
@ -27,9 +26,9 @@ M.theme = lush(function()
local c = M.colors; local c = M.colors;
return { return {
-- See: h highlight-groups -- See: h highlight-groups
Normal { bg = c.bg, fg = c.fg }, Normal { bg = c.base.de(70).li(90), fg = c.base.de(75) },
CursorLine { bg = Normal.bg.da(4) }, CursorLine { bg = Normal.bg.da(4) },
Visual { bg = c.base.de(55).li(70) }, Visual { bg = c.base.de(55).li(65) },
Comment { fg = c.base.de(60).li(20) }, Comment { fg = c.base.de(60).li(20) },
CursorColumn { CursorLine }, CursorColumn { CursorLine },
LineNr { Comment, gui = "italic" }, LineNr { Comment, gui = "italic" },