breaking: deprecate zenflesh and allow zenbones bg=dark

This is an interim change to prepare removing zenflesh. Please make use
of zenbones and set bg=dark to get the zenflesh colors.
This commit is contained in:
Michael Chris Lopez
2021-11-01 13:13:01 +08:00
parent a5d8bf14ec
commit 47170c2a2c
4 changed files with 152 additions and 5 deletions

View File

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

View File

@@ -1,3 +1,8 @@
local util = require "zenbones.util"
return util.palette_extend({}, "light")
local M = {}
M.light = util.palette_extend({}, "light")
M.dark = util.palette_extend {}
return M