2021-10-04 15:44:31 +08:00
|
|
|
local lush = require "lush"
|
2021-10-11 14:38:05 +08:00
|
|
|
local bg = vim.opt.background:get()
|
|
|
|
|
local p = require("rosebones.palette")[bg]
|
2021-10-04 15:44:31 +08:00
|
|
|
|
2021-10-11 13:56:02 +08:00
|
|
|
local generator = require "zenbones.specs"
|
2021-10-11 14:38:05 +08:00
|
|
|
local specs = generator.generate(p, bg, generator.get_global_config("rosebones", bg))
|
2021-10-04 15:44:31 +08:00
|
|
|
|
2021-10-08 17:49:38 +08:00
|
|
|
-- extend specs using Lush
|
|
|
|
|
return lush.extends({ specs }).with(function()
|
2021-10-04 15:44:31 +08:00
|
|
|
return {
|
2021-10-08 17:49:38 +08:00
|
|
|
Statement { fg = p.leaf, gui = "bold" },
|
|
|
|
|
Special { fg = p.water, gui = "bold" },
|
|
|
|
|
Type { fg = p.text },
|
2021-10-04 15:44:31 +08:00
|
|
|
}
|
|
|
|
|
end)
|