diff --git a/init.lua b/init.lua index 4f9e03c..d263445 100644 --- a/init.lua +++ b/init.lua @@ -22,5 +22,5 @@ vim.api.nvim_create_autocmd('User', { end, }) -vim.o.background = 'light' -vim.cmd 'colorscheme gruvbox' +-- vim.o.background = 'dark' +vim.cmd 'colorscheme rose-pine' diff --git a/lua/plugins/theme.lua b/lua/plugins/theme.lua index 455d48a..3579f0c 100644 --- a/lua/plugins/theme.lua +++ b/lua/plugins/theme.lua @@ -1,26 +1,49 @@ local M = { - 'ellisonleao/gruvbox.nvim', + 'rose-pine/neovim', lazy = true, -- make sure we load this during startup if it is your main colorscheme priority = 1000, -- make sure to load this before all the other start plugins } function M.config() - require('gruvbox').setup { - undercurl = true, - underline = true, - bold = true, - italic = true, - strikethrough = true, - invert_selection = false, - invert_signs = false, - invert_tabline = false, - invert_intend_guides = false, - inverse = true, -- invert background for search, diffs, statuslines and errors - contrast = 'hard', -- can be "hard", "soft" or empty string - palette_overrides = {}, - overrides = {}, - dim_inactive = false, - transparent_mode = true, + require('rose-pine').setup { + --- @usage 'main' | 'moon' + dark_variant = 'moon', + bold_vert_split = false, + dim_nc_background = false, + disable_background = true, + disable_float_background = false, + disable_italics = false, + + --- @usage string hex value or named color from rosepinetheme.com/palette + groups = { + background = 'base', + panel = 'surface', + border = 'highlight_med', + comment = 'muted', + link = 'iris', + punctuation = 'subtle', + + error = 'love', + hint = 'iris', + info = 'foam', + warn = 'gold', + + headings = { + h1 = 'iris', + h2 = 'foam', + h3 = 'rose', + h4 = 'gold', + h5 = 'pine', + h6 = 'foam', + }, + -- or set all headings at once + -- headings = 'subtle' + }, + + -- Change specific vim highlight groups + highlight_groups = { + ColorColumn = { bg = 'rose' }, + }, } end