From 93c3df6685530ca641d9aa518db2b59916a802e1 Mon Sep 17 00:00:00 2001 From: Michael Chris Lopez Date: Thu, 16 Sep 2021 19:24:32 +0800 Subject: [PATCH] adjust zenflesh palette again --- lua/zenflesh/init.lua | 23 +++-------------------- lua/zenflesh/palette.lua | 16 ++++++++-------- 2 files changed, 11 insertions(+), 28 deletions(-) diff --git a/lua/zenflesh/init.lua b/lua/zenflesh/init.lua index 3ea044b..229251d 100644 --- a/lua/zenflesh/init.lua +++ b/lua/zenflesh/init.lua @@ -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 diff --git a/lua/zenflesh/palette.lua b/lua/zenflesh/palette.lua index 06cf72b..7c21764 100644 --- a/lua/zenflesh/palette.lua +++ b/lua/zenflesh/palette.lua @@ -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), }