]> git.rmz.io Git - dotfiles.git/blob - nvim/lua/plugins/colorscheme.lua
lazyvim: absorb colorscheme config
[dotfiles.git] / nvim / lua / plugins / colorscheme.lua
1 ---@type LazySpec
2 return {
3 { "rmehri01/onenord.nvim",
4 lazy = false,
5 priority = 1000,
6 opts = function(_, opts)
7 local colors = require("onenord.colors").load()
8 opts = vim.tbl_extend("force", opts, {
9 custom_highlights = {
10 ["@parameter"] = { fg = colors.fg },
11 ["@namespace"] = { fg = colors.fg },
12 ["@type"] = { fg = colors.fg },
13 ["@variable.builtin"] = { fg = colors.fg },
14 },
15 })
16 return opts
17 end,
18 },
19 { name = "colorschemes",
20 -- this meta plugin can be used to install all colorschemes to test with telescope
21 dir = "",
22 lazy = true,
23 dependencies = {
24 {
25 "catppuccin/nvim",
26 name = "catppuccin",
27 opts = {
28 color_overrides = {
29 -- https://github.com/catppuccin/nvim/discussions/323#discussioncomment-5760383
30 mocha = {
31 rosewater = "#BF616A",
32 flamingo = "#BF616A",
33 pink = "#B48EAD",
34 mauve = "#B48EAD",
35 red = "#BF616A",
36 maroon = "#BF616A",
37 peach = "#D08770",
38 yellow = "#EBCB8B",
39 green = "#A3BE8C",
40 teal = "#88c0d0",
41 sky = "#88c0d0",
42 sapphire = "#88c0d0",
43 blue = "#81a1c1",
44 lavender = "#81a1c1",
45 text = "#ECEFF4",
46 subtext1 = "#E5E9F0",
47 subtext0 = "#D8DEE9",
48 overlay2 = "#8d9196",
49 overlay1 = "#81858b",
50 overlay0 = "#4C566A",
51 surface2 = "#434C5E",
52 surface1 = "#3B4252",
53 surface0 = "#292e39",
54 base = "#242933",
55 mantle = "#20242d",
56 crust = "#1c2028",
57 },
58 },
59 },
60 },
61 {
62 "shaunsingh/nord.nvim",
63 init = function()
64 vim.g.nord_contrats = true
65 vim.g.nord_borders = true
66 vim.g.nord_bold = false
67 vim.g.nord_uniform_diff_background = false
68 vim.g.nord_disable_background = false
69 end,
70 },
71 -- conflicts with above
72 -- { "gbprod/nord.nvim"},
73 },
74 },
75 }