move colors to a separate module

This commit is contained in:
Michael Chris Lopez
2021-08-26 12:15:02 +08:00
parent befc5544bc
commit b5f04e28ec
2 changed files with 67 additions and 104 deletions

16
lua/zenbones/colors.lua Normal file
View File

@@ -0,0 +1,16 @@
local lush = require "lush"
local hsluv = lush.hsluv
local config = {
sand = hsluv(39, 12, 94),
stone = hsluv(230, 30, 22),
leaf = hsluv(103, 72, 46),
water = hsluv(236, 84, 40),
rose = hsluv(5, 70, 46),
wood = hsluv(28, 80, 40),
blossom = hsluv(318, 42, 42),
}
config.white = config.sand.li(58)
return config