robin/willow.nvim

a cute enchanting colorscheme for neovim

git clone https://git.robinwobin.dev/robin/willow.nvim

robincolors: increase contrast of subtext1, subtext0 and overlay24e75259

main
1.9 KiB86 linesraw
1-- name:    willow
2-- author:  comfysage
3-- license: eupl-1.2
4
5local config = require("evergarden.config").get()
6config.editor.transparent_background = false
7
8-- palette ====================================================================
9local palette = {
10  text = "#F7EEDF",
11  subtext1 = "#F0D9C5",
12  subtext0 = "#E6BFB1",
13  overlay2 = "#A37679",
14  overlay1 = "#6D5866",
15  overlay0 = "#544253",
16  surface2 = "#4F4352",
17  surface1 = "#302B33",
18  surface0 = "#272429",
19  base = "#1D1B1F",
20  mantle = "#19171A",
21  crust = "#111012",
22
23  accent = "#FEBDBD",
24
25  red = "#D2717F",
26  orange = "#E9A487",
27  yellow = "#F4CA9B",
28  lime = "#DDE0AA",
29  green = "#C2D4A7",
30  aqua = "#B3CFBA",
31  skye = "#B4D6CC",
32  snow = "#B6D7DE",
33  blue = "#B7C6EB",
34  purple = "#CDA6DE",
35  pink = "#F7BAEC",
36  cherry = "#FAD9F2",
37}
38
39local theme = vim.deepcopy(palette, true)
40
41theme.none = "NONE"
42theme.colors = palette
43theme.sign = theme.none
44theme.comment = theme.overlay1
45theme.editor = {
46  search = theme.accent,
47  incsearch = theme.accent,
48  float = theme.colors[config.editor.float.color] or theme.none,
49  completion = theme.colors[config.editor.completion.color] or theme.none,
50}
51theme.syntax = {
52  keyword = theme.orange,
53  identifier = theme.text,
54  property = theme.subtext0,
55  type = theme.yellow,
56  context = theme.overlay1,
57  operator = theme.overlay1,
58  constant = theme.pink,
59  func = theme.aqua,
60  string = theme.lime,
61  macro = theme.skye,
62  annotation = theme.cherry,
63}
64theme.diagnostic = {
65  ok = theme.green,
66  error = theme.red,
67  warn = theme.yellow,
68  info = theme.aqua,
69  hint = theme.skye,
70}
71theme.diff = {
72  add = theme.green,
73  delete = theme.red,
74  change = theme.aqua,
75}
76theme.git = {
77  staged = theme.green,
78  unstaged = theme.skye,
79  ignored = theme.overlay0,
80  untracked = theme.subtext1,
81}
82
83local hlgroups = require("evergarden.hl").setup(theme, config)
84require("evergarden.utils").set_highlights(hlgroups)
85
86vim.g.colors_name = "amity"