move fg and bg to colors
This commit is contained in:
parent
08510eed7c
commit
733fa2b149
@ -6,6 +6,8 @@ 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),
|
||||||
@ -25,7 +27,7 @@ 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.base.de(10).da(70), fg = c.base.de(75) },
|
Normal { bg = c.bg, fg = c.fg },
|
||||||
CursorLine { bg = Normal.bg.li(5) },
|
CursorLine { bg = Normal.bg.li(5) },
|
||||||
Visual { bg = Normal.bg.sa(20).li(10) },
|
Visual { bg = Normal.bg.sa(20).li(10) },
|
||||||
Comment { fg = c.base.de(75).da(20) },
|
Comment { fg = c.base.de(75).da(20) },
|
||||||
|
@ -6,6 +6,8 @@ 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),
|
||||||
@ -25,7 +27,7 @@ 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.base.de(60).li(90), fg = c.base.de(75) },
|
Normal { bg = c.bg, fg = c.fg },
|
||||||
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(70) },
|
||||||
Comment { fg = c.base.de(60).li(20) },
|
Comment { fg = c.base.de(60).li(20) },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user