return { -- add gruvbox { -- https://github.com/ellisonleao/gruvbox.nvim "ellisonleao/gruvbox.nvim", priority = 1000, opts = function(_, opts) ---@class gruvbox: GruvboxPalette local gruvbox = require("gruvbox").palette gruvbox.dark0_hard_light = "#232627" gruvbox.dark0_hard_dark = "#101c1d" opts.transparent_mode = true opts.contrast = "hard" opts.overrides = { Normal = { bg = gruvbox.dark0_hard }, CursorLine = { bg = gruvbox.dark0 }, CursorLineNr = { bg = gruvbox.dark1 }, CursorLineFold = { bg = gruvbox.dark1 }, CursorLineSign = { bg = gruvbox.dark1 }, DiffChange = { fg = gruvbox.dark1, bg = gruvbox.faded_yellow }, -- Plugins: -- for 'lewis6991/gitsigns.nvim' in _editor.lua GitSignsAdd = { fg = gruvbox.neutral_green }, GitSignsChange = { fg = gruvbox.neutral_orange }, GitSignsChangedelete = { fg = gruvbox.neutral_red }, GitSignsDelete = { fg = gruvbox.neutral_red }, GitSignsAddCul = { fg = gruvbox.bright_green, bg = gruvbox.dark1 }, GitSignsChangeCul = { fg = gruvbox.bright_orange, bg = gruvbox.dark1 }, GitSignsDeleteCul = { fg = gruvbox.bright_red, bg = gruvbox.dark1 }, -- for 'MeanderingProgrammer/render-markdown.nvim' in langs/markdown.lua RenderMarkdownH1 = { fg = gruvbox.neutral_green }, RenderMarkdownH1Bg = { fg = gruvbox.dark0_hard, bg = gruvbox.neutral_green }, RenderMarkdownH2 = { fg = gruvbox.neutral_aqua }, RenderMarkdownH2Bg = { fg = gruvbox.dark0, bg = gruvbox.neutral_aqua }, RenderMarkdownH3 = { fg = gruvbox.faded_aqua }, RenderMarkdownH3Bg = { fg = gruvbox.bright_green, bg = gruvbox.faded_aqua }, RenderMarkdownH4 = { fg = gruvbox.dark_green }, RenderMarkdownH4Bg = { bg = gruvbox.dark_green }, RenderMarkdownH5 = { fg = gruvbox.dark_aqua_soft }, RenderMarkdownH5Bg = { bg = gruvbox.dark_aqua_soft }, RenderMarkdownH6 = { fg = gruvbox.dark_aqua_hard }, RenderMarkdownH6Bg = { bg = gruvbox.dark_aqua_hard }, -- for 'folke/which-key.nvim' in _editor.lua WhichKeyNormal = { bg = gruvbox.dark0_hard_dark }, } end }, -- Configure LazyVim to load gruvbox { -- https://github.com/LazyVim/LazyVim "LazyVim/LazyVim", opts = { colorscheme = "gruvbox", }, }, -- -- Disable the other themes. No need to install them -- -- tokyonight { -- https://github.com/folke/tokyonight.nvim "folke/tokyonight.nvim", enabled = false, }, -- catppuccin { -- https://github.com/catppuccin/nvim "catppuccin/nvim", enabled = false, }, }