adjust zenflesh palette again

This commit is contained in:
Michael Chris Lopez
2021-09-16 19:24:32 +08:00
parent dae9b1ded1
commit 93c3df6685
2 changed files with 11 additions and 28 deletions

View File

@@ -1,22 +1,5 @@
local lush = require "lush"
-- local p = require "zenflesh.palette"
local hsluv = lush.hsluv
local p = {
-- bg = hsluv(230, 18, 10), -- stone
-- fg = hsluv(39, 6, 78), -- sand
bg = hsluv(39, 10, 8), -- sand
fg = hsluv(230, 8, 78), -- stone
rose = hsluv(4, 60, 61),
leaf = hsluv(111, 46, 62),
wood = hsluv(26, 43, 56),
water = hsluv(236, 64, 60),
blossom = hsluv(318, 32, 57),
sky = hsluv(204, 61, 64),
}
local p = require "zenflesh.palette"
local normal_bg = p.bg
local diff_bg_l = 0
@@ -158,7 +141,7 @@ local theme = lush(function()
-- Macro { }, -- same as Define
-- PreCondit { }, -- preprocessor #if, #else, #endif, etc.
Type { fg = p.bg.li(60) }, -- (preferred) int, long, char, etc.
Type { fg = p.bg.li(58) }, -- (preferred) int, long, char, etc.
-- StorageClass { }, -- static, register, volatile, etc.
-- Structure { }, -- struct, union, enum, etc.
-- Typedef { }, -- A typedef
@@ -166,7 +149,7 @@ local theme = lush(function()
Special { fg = p.fg.da(12), gui = "bold" }, -- (preferred) any special symbol
-- SpecialChar { }, -- special character in a constant
-- Tag { }, -- you can use CTRL-] on this
Delimiter { fg = p.bg.li(54) }, -- character that needs attention
Delimiter { fg = p.bg.li(52) }, -- character that needs attention
SpecialComment { Comment, gui = "bold" }, -- special things inside a comment
-- Debug { }, -- debugging statements

View File

@@ -2,12 +2,12 @@ local lush = require "lush"
local hsluv = lush.hsluv
return {
sand = hsluv(39, 12, 8),
stone = hsluv(230, 8, 75),
leaf = hsluv(103, 63, 54),
water = hsluv(236, 78, 53),
rose = hsluv(4, 38, 53),
wood = hsluv(26, 56, 54),
blossom = hsluv(318, 32, 56),
sky = hsluv(204, 71, 58),
bg = hsluv(39, 9, 9), -- sand
fg = hsluv(230, 10, 76), -- stone
rose = hsluv(6, 62, 60),
leaf = hsluv(111, 47, 61),
wood = hsluv(32, 47, 58),
water = hsluv(236, 64, 61),
blossom = hsluv(318, 32, 58),
sky = hsluv(204, 61, 64),
}