robin/mimi.nvim

tiny collection of cute colorschemes for neovim

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

robinmae: init570ba39

main
1.9 KiB87 linesraw
1-- name:    mae
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 = "#F0D5C7",
12  subtext0 = "#deaf9d",
13  overlay2 = "#BA8380",
14  overlay1 = "#8F5D5B",
15  overlay0 = "#7A4F4E",
16  surface2 = "#574141",
17  surface1 = "#4e3e3e",
18  surface0 = "#2E2626",
19  base = "#1c1b1d",
20  mantle = "#141315",
21  crust = "#111012",
22
23  -- accent = "#E07583",
24  accent = "#DEAF9D",
25
26  red = "#BF616A",
27  orange = "#DE9780",
28  yellow = "#EAC48F",
29  lime = "#E8EFB6",
30  green = "#D1DFB1",
31  aqua = "#ABD4B7",
32  skye = "#A7D7D0",
33  snow = "#A7D7D0",
34  blue = "#A5C1D9",
35  purple = "#D8BAE3",
36  pink = "#F0CADC",
37  cherry = "#F5E1EA",
38}
39
40local theme = vim.deepcopy(palette, true)
41
42theme.none = "NONE"
43theme.colors = palette
44theme.sign = theme.none
45theme.comment = theme.overlay2
46theme.editor = {
47  search = theme.accent,
48  incsearch = theme.accent,
49  float = theme.colors[config.editor.float.color] or theme.none,
50  completion = theme.colors[config.editor.completion.color] or theme.none,
51}
52theme.syntax = {
53  keyword = theme.overlay2,
54  identifier = theme.subtext1,
55  property = theme.subtext0,
56  type = theme.aqua,
57  context = theme.overlay1,
58  operator = theme.overlay1,
59  constant = theme.purple,
60  func = theme.snow,
61  string = theme.yellow,
62  macro = theme.skye,
63  annotation = theme.cherry,
64}
65theme.diagnostic = {
66  ok = theme.green,
67  error = theme.red,
68  warn = theme.yellow,
69  info = theme.aqua,
70  hint = theme.skye,
71}
72theme.diff = {
73  add = theme.green,
74  delete = theme.red,
75  change = theme.aqua,
76}
77theme.git = {
78  staged = theme.green,
79  unstaged = theme.skye,
80  ignored = theme.overlay0,
81  untracked = theme.subtext1,
82}
83
84local hlgroups = require("evergarden.hl").setup(theme, config)
85require("evergarden.utils").set_highlights(hlgroups)
86
87vim.g.colors_name = "mae"