From 0fcc7a94dc0d02a6a0acc7f7dc7ae2db6cbb0d95 Mon Sep 17 00:00:00 2001 From: Michael Chris Lopez Date: Mon, 13 Sep 2021 18:13:50 +0800 Subject: [PATCH] adjust sand/stone saturation/contrast --- lua/zenflesh/init.lua | 14 +++++++------- lua/zenflesh/palette.lua | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lua/zenflesh/init.lua b/lua/zenflesh/init.lua index bd172bb..9d5ee2c 100644 --- a/lua/zenflesh/init.lua +++ b/lua/zenflesh/init.lua @@ -6,7 +6,7 @@ local diff_bg_l = 0 local darkness = vim.g.zenflesh_darkness if darkness == "stark" then - normal_bg = normal_bg.abs_da(3) + normal_bg = normal_bg.abs_da(3).sa(8) diff_bg_l = -3 elseif darkness == "warm" then normal_bg = normal_bg.abs_li(3).de(16) @@ -54,10 +54,10 @@ local theme = lush(function() CursorColumn { CursorLine }, -- Screen-column at the cursor, when 'cursorcolumn' is set. ColorColumn { bg = c.wood.de(40).da(28) }, -- used for the columns set with 'colorcolumn' - DiffAdd { bg = c.leaf.de(18).da(38).abs_da(diff_bg_l) }, -- diff mode: Added line |diff.txt| - DiffChange { bg = c.water.de(22).da(41).abs_da(diff_bg_l) }, -- diff mode: Changed line |diff.txt| - DiffDelete { bg = c.rose.de(27).da(44).abs_da(diff_bg_l) }, -- diff mode: Deleted line |diff.txt| - DiffText { bg = c.water.de(28).da(18).abs_da(diff_bg_l), fg = c.stone }, -- diff mode: Changed text within a changed line |diff.txt| + DiffAdd { bg = c.leaf.de(14).da(52).abs_da(diff_bg_l) }, -- diff mode: Added line |diff.txt| + DiffChange { bg = c.water.de(20).da(45).abs_da(diff_bg_l) }, -- diff mode: Changed line |diff.txt| + DiffDelete { bg = c.rose.de(26).da(47).abs_da(diff_bg_l) }, -- diff mode: Deleted line |diff.txt| + DiffText { bg = c.water.de(22).da(28).abs_da(diff_bg_l), fg = c.stone }, -- diff mode: Changed text within a changed line |diff.txt| LineNr { fg = Normal.bg.li(28) }, -- Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is set. SignColumn { LineNr }, -- column where |signs| are displayed @@ -169,8 +169,8 @@ local theme = lush(function() LspDiagnosticsDefaultInformation { fg = c.water }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) LspDiagnosticsDefaultHint { fg = c.blossom }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) - LspDiagnosticsVirtualTextError { LspDiagnosticsDefaultError, bg = c.rose.abs_de(48).da(64) }, -- Used for "Error" diagnostic virtual text - LspDiagnosticsVirtualTextWarning { LspDiagnosticsDefaultWarning, bg = c.wood.de(58).da(64) }, -- Used for "Warning" diagnostic virtual text + LspDiagnosticsVirtualTextError { LspDiagnosticsDefaultError, bg = c.rose.abs_de(48).da(68) }, -- Used for "Error" diagnostic virtual text + LspDiagnosticsVirtualTextWarning { LspDiagnosticsDefaultWarning, bg = c.wood.de(58).da(68) }, -- Used for "Warning" diagnostic virtual text -- LspDiagnosticsVirtualTextInformation { }, -- Used for "Information" diagnostic virtual text -- LspDiagnosticsVirtualTextHint { }, -- Used for "Hint" diagnostic virtual text diff --git a/lua/zenflesh/palette.lua b/lua/zenflesh/palette.lua index 6fb709c..61408b9 100644 --- a/lua/zenflesh/palette.lua +++ b/lua/zenflesh/palette.lua @@ -2,8 +2,8 @@ local lush = require "lush" local hsluv = lush.hsluv return { - sand = hsluv(39, 10, 10), - stone = hsluv(230, 7, 75), + sand = hsluv(39, 12, 8), + stone = hsluv(230, 8, 76), leaf = hsluv(103, 63, 54), water = hsluv(236, 78, 53), rose = hsluv(4, 38, 53),