robin/mimi.nvim

tiny collection of cute colorschemes for neovim

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

robinrefactor: use evergarden as framework864a4d6

main
1.9 KiB86 linesraw
1-- name:    mimi
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 = "#F8ECE1",
11  subtext1 = "#F0DBC7",
12  subtext0 = "#EACFB7",
13  overlay2 = "#B6987D",
14  overlay1 = "#8F735B",
15  overlay0 = "#765F4B",
16  surface2 = "#4D4035",
17  surface1 = "#33200D",
18  surface0 = "#201810",
19  base = "#1C1712",
20  mantle = "#1C1207",
21  crust = "#120D08",
22
23  accent = "#AD496C",
24
25  red = "#AF4C58",
26  orange = "#B87058",
27  yellow = "#CFA06B",
28  lime = "#CFA06B",
29  green = "#A6C99F",
30  aqua = "#A1CFB7",
31  skye = "#95C2BC",
32  snow = "#95C2BC",
33  blue = "#A4B7C9",
34  purple = "#CE8C98",
35  pink = "#CE8C98",
36  cherry = "#CE8C98",
37}
38
39local theme = vim.deepcopy(palette, true)
40
41theme.none = "NONE"
42theme.colors = palette
43theme.sign = theme.none
44theme.comment = theme.overlay2
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.subtext1,
54  property = theme.subtext0,
55  type = theme.aqua,
56  context = theme.overlay1,
57  operator = theme.overlay1,
58  constant = theme.pink,
59  func = theme.snow,
60  string = theme.lime,
61  macro = theme.skye,
62  annotation = theme.skye,
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 = "mimi"