warm & fuzzy colorscheme for neovim
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor: use evergarden as framework

robin 864a4d68 84e26fd3

+67 -42
+2 -2
README.md
··· 13 13 14 14 requires: 15 15 16 - - [mini.hues] 16 + - [evergarden]; uses its modules as a colorscheme framework 17 17 18 18 [@koibtw]: https://koi.rip 19 - [mini.hues]: https://github.com/nvim-mini/mini.hues 19 + [evergarden]: https://codeberg.org/evergarden/nvim 20 20 21 21 <div align="center"> 22 22 <img
+65 -40
colors/mimi.lua
··· 2 2 -- author: comfysage 3 3 -- license: eupl-1.2 4 4 5 + local config = require("evergarden.config").get() 6 + config.editor.transparent_background = false 7 + 5 8 -- palette ==================================================================== 6 9 local palette = { 7 - bg_edge2 = "#120D08", 8 - bg_edge = "#1C1207", 9 - bg = "#1C1712", 10 - bg_mid = "#33200D", 11 - bg_mid2 = "#4D4035", 12 - fg_edge2 = "#F8ECE1", 13 - fg_edge = "#EACFB7", 14 - fg = "#F0DBC7", 15 - fg_mid = "#B6987D", 16 - fg_mid2 = "#8F735B", 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", 17 22 18 23 accent = "#AD496C", 19 24 20 25 red = "#AF4C58", 21 26 orange = "#B87058", 22 27 yellow = "#CFA06B", 28 + lime = "#CFA06B", 23 29 green = "#A6C99F", 24 - cyan = "#A1CFB7", 25 - azure = "#95C2BC", 30 + aqua = "#A1CFB7", 31 + skye = "#95C2BC", 32 + snow = "#95C2BC", 26 33 blue = "#A4B7C9", 27 34 purple = "#CE8C98", 35 + pink = "#CE8C98", 36 + cherry = "#CE8C98", 28 37 } 29 38 30 - require("mini.hues").apply_palette(palette) 39 + local theme = vim.deepcopy(palette, true) 31 40 32 - -- syntax ===================================================================== 33 - vim.api.nvim_set_hl(0, "String", { fg = palette.yellow }) 34 - vim.api.nvim_set_hl(0, "Identifier", { fg = palette.fg_edge }) 35 - vim.api.nvim_set_hl(0, "Statement", { fg = palette.fg_mid }) 36 - vim.api.nvim_set_hl(0, "Delimiter", { fg = palette.fg_mid2 }) 37 - vim.api.nvim_set_hl(0, "Operator", { fg = palette.fg_mid2 }) 38 - 39 - vim.api.nvim_set_hl(0, "@markup.link.url", { fg = palette.blue, underline = true }) 40 - 41 - -- ui ========================================================================= 42 - vim.api.nvim_set_hl(0, "CursorLineNr", { fg = palette.fg_mid2 }) 43 - vim.api.nvim_set_hl(0, "WinSeparator", { fg = palette.fg_mid }) 44 - 45 - vim.api.nvim_set_hl(0, "TabLine", { fg = palette.fg_mid, bg = palette.bg_mid }) 46 - vim.api.nvim_set_hl(0, "TabLineSel", { fg = palette.bg_edge, bg = palette.accent }) 47 - vim.api.nvim_set_hl(0, "TabLineFill", { fg = palette.fg, bg = palette.bg_edge }) 48 - 49 - vim.api.nvim_set_hl(0, "Pmenu", { fg = palette.fg, bg = palette.bg_edge }) 50 - vim.api.nvim_set_hl(0, "PmenuSel", { fg = palette.fg, bg = palette.bg_mid, bold = true }) 51 - vim.api.nvim_set_hl(0, "PmenuMatch", { fg = palette.accent }) 52 - vim.api.nvim_set_hl(0, "PmenuMatchSel", {}) 53 - 54 - -- misc ======================================================================= 55 - vim.api.nvim_set_hl(0, "Directory", { fg = palette.orange }) 41 + theme.none = "NONE" 42 + theme.colors = palette 43 + theme.sign = theme.none 44 + theme.comment = theme.overlay2 45 + theme.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 + } 51 + theme.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 + } 64 + theme.diagnostic = { 65 + ok = theme.green, 66 + error = theme.red, 67 + warn = theme.yellow, 68 + info = theme.aqua, 69 + hint = theme.skye, 70 + } 71 + theme.diff = { 72 + add = theme.green, 73 + delete = theme.red, 74 + change = theme.aqua, 75 + } 76 + theme.git = { 77 + staged = theme.green, 78 + unstaged = theme.skye, 79 + ignored = theme.overlay0, 80 + untracked = theme.subtext1, 81 + } 56 82 57 - -- language specific ========================================================== 58 - -- lua 59 - vim.api.nvim_set_hl(0, "@constructor.lua", { link = "@punctuation.bracket" }) 83 + local hlgroups = require("evergarden.hl").setup(theme, config) 84 + require("evergarden.utils").set_highlights(hlgroups) 60 85 61 86 vim.g.colors_name = "mimi"