-- 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 = palette theme.sign = theme.none theme.comment = theme.overlay1 theme.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"