Something went wrong. Try again.
🍂 a cute enchanting colorscheme for neovim
Something went wrong. Try again.
1.9 kB · 86 lines
Lua
at main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687-- name: willow-- author: comfysage-- license: eupl-1.2
local config = require("evergarden.config").get()config.editor.transparent_background = false
-- palette ====================================================================local palette = { text = "#F7EEDF", subtext1 = "#F0D9C5", subtext0 = "#E6BFB1", overlay2 = "#A37679", overlay1 = "#6D5866", overlay0 = "#544253", surface2 = "#4F4352", surface1 = "#302B33", surface0 = "#272429", base = "#1D1B1F", mantle = "#19171A", crust = "#111012",
accent = "#FEBDBD",
red = "#D2717F", orange = "#E9A487", yellow = "#F4CA9B", lime = "#DDE0AA", green = "#C2D4A7", aqua = "#B3CFBA", skye = "#B4D6CC", snow = "#B6D7DE", blue = "#B7C6EB", purple = "#CDA6DE", pink = "#F7BAEC", cherry = "#FAD9F2",}
local theme = vim.deepcopy(palette, true)
theme.none = "NONE"theme.colors = palettetheme.sign = theme.nonetheme.comment = theme.overlay1theme.editor = { search = theme.accent, incsearch = theme.accent, float = theme.colors[config.editor.float.color] or theme.none, completion = theme.colors[config.editor.completion.color] or theme.none,}theme.syntax = { keyword = theme.orange, identifier = theme.text, property = theme.subtext0, type = theme.yellow, context = theme.overlay1, operator = theme.overlay1, constant = theme.pink, func = theme.aqua, string = theme.lime, macro = theme.skye, annotation = theme.cherry,}theme.diagnostic = { ok = theme.green, error = theme.red, warn = theme.yellow, info = theme.aqua, hint = theme.skye,}theme.diff = { add = theme.green, delete = theme.red, change = theme.aqua,}theme.git = { staged = theme.green, unstaged = theme.skye, ignored = theme.overlay0, untracked = theme.subtext1,}
local hlgroups = require("evergarden.hl").setup(theme, config)require("evergarden.utils").set_highlights(hlgroups)
vim.g.colors_name = "amity"