robin/amity.nvim

a cute bewitching colorscheme for neovim

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

robinsurface: move down hue on surface colorsa9cf136

main
1.9 KiB86 linesraw
1-- name:    amity
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 = "#F2E1E7",
11  subtext1 = "#F0C7D7",
12  subtext0 = "#E8B8CD",
13  overlay2 = "#CC8CAA",
14  overlay1 = "#886F81",
15  overlay0 = "#6C586D",
16  surface2 = "#574A5C",
17  surface1 = "#2D2733",
18  surface0 = "#232029",
19  base = "#19171D",
20  mantle = "#141218",
21  crust = "#0F0D12",
22
23  accent = "#FEBDD4",
24
25  red = "#D2717F",
26  orange = "#E9AB8C",
27  yellow = "#F4D29B",
28  lime = "#E9F6CA",
29  green = "#EDFDE2",
30  aqua = "#BDDEC5",
31  skye = "#B1DBC9",
32  snow = "#BFE4DF",
33  blue = "#86ADCC",
34  purple = "#C7B8E1",
35  pink = "#F7BAE2",
36  cherry = "#FAD9ED",
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.overlay2,
53  identifier = theme.text,
54  property = theme.subtext1,
55  type = theme.aqua,
56  context = theme.overlay1,
57  operator = theme.overlay1,
58  constant = theme.pink,
59  func = theme.purple,
60  string = theme.snow,
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"