add zenburned flavor
This commit is contained in:
18
lua/zenburned/init.lua
Normal file
18
lua/zenburned/init.lua
Normal file
@@ -0,0 +1,18 @@
|
||||
local lush = require "lush"
|
||||
local hsluv = lush.hsluv
|
||||
local generator = require "zenbones.specs"
|
||||
local p = require("zenburned.palette").dark
|
||||
|
||||
local specs = generator.generate(p, "dark", generator.get_global_config("zenburned", "dark"))
|
||||
|
||||
return lush.extends({ specs }).with(function()
|
||||
---@diagnostic disable: undefined-global
|
||||
-- selene: allow(undefined_variable)
|
||||
return {
|
||||
Statement { specs.Statement, fg = hsluv "#dca3a3" },
|
||||
Special { fg = hsluv "#efef8f" },
|
||||
PreProc { fg = hsluv "#ffcfaf" },
|
||||
}
|
||||
-- selene: deny(undefined_variable)
|
||||
---@diagnostic enable: undefined-global
|
||||
end)
|
||||
13
lua/zenburned/palette.lua
Normal file
13
lua/zenburned/palette.lua
Normal file
@@ -0,0 +1,13 @@
|
||||
local util = require "zenbones.util"
|
||||
local lush = require "lush"
|
||||
local hsluv = lush.hsluv
|
||||
|
||||
local M = {}
|
||||
|
||||
M.dark = util.palette_extend {
|
||||
bg = hsluv "#3f3f3f",
|
||||
fg = hsluv("#efdcbc").de(14).li(20),
|
||||
rose = hsluv "#e37170",
|
||||
}
|
||||
|
||||
return M
|
||||
Reference in New Issue
Block a user