feat: add duckbones flavor

This commit is contained in:
Michael Chris Lopez
2021-11-04 09:46:36 +08:00
parent a4a46e0bdc
commit ecef0367bc
6 changed files with 54 additions and 0 deletions

17
lua/duckbones/init.lua Normal file
View File

@@ -0,0 +1,17 @@
local lush = require "lush"
local generator = require "zenbones.specs"
local p = require("duckbones.palette").dark
local specs = generator.generate(p, "dark", generator.get_global_config("duckbones", "dark"))
return lush.extends({ specs }).with(function()
---@diagnostic disable: undefined-global
-- selene: allow(undefined_variable)
return {
Statement { specs.Statement, fg = p.blossom },
Special { fg = p.leaf },
PreProc { fg = p.sky },
}
-- selene: deny(undefined_variable)
---@diagnostic enable: undefined-global
end)