add zenwritten

This commit is contained in:
Michael Chris Lopez
2021-10-14 18:16:24 +08:00
parent 03af6c8f3a
commit fc63cab6a0
5 changed files with 41 additions and 8 deletions

6
lua/zenwritten/init.lua Normal file
View File

@@ -0,0 +1,6 @@
local lush = require "lush"
local generator = require "zenbones.specs"
local bg = vim.opt.background:get()
local p = require("zenwritten.palette")[bg]
return generator.generate(p, bg, generator.get_global_config("zenwritten", bg))

View File

@@ -0,0 +1,17 @@
local util = require "zenbones.util"
local lush = require "lush"
local hsluv = lush.hsluv
local M = {}
M.light = util.palette_extend({
bg = hsluv(0, 0, 94), -- sand
fg = hsluv(0, 0, 22), -- stone
}, "light")
M.dark = util.palette_extend {
bg = hsluv(0, 0, 9), -- sand
fg = hsluv(0, 0, 76), -- stone
}
return M