change colorscheme to rose-pine

This commit is contained in:
Alexander Navarro 2023-04-20 18:26:10 -04:00
parent 17f496aeba
commit 9250f5bac9
5 changed files with 35 additions and 10 deletions

3
.gitmodules vendored
View file

@ -7,3 +7,6 @@
[submodule "config/foot/themes/catppuccin"]
path = config/foot/themes/catppuccin
url = https://github.com/catppuccin/foot.git
[submodule "config/alacritty/themes/rose-pine"]
path = config/alacritty/themes/rose-pine
url = https://github.com/rose-pine/alacritty.git

View file

@ -10,7 +10,7 @@
# to the user's home directory starting with `~/`.
import:
# - /path/to/alacritty.yml
- ~/.config/alacritty/themes/catppuccin/catppuccin-macchiato.yml
- ~/.config/alacritty/themes/rose-pine/dist/rose-pine-moon.yml
# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
# set by alacritty itself.

@ -0,0 +1 @@
Subproject commit 7c3625f3d0f34359ba114e09b1ba3f3c1bed399a

View file

@ -0,0 +1,30 @@
local colorscheme = "rose-pine"
return {
"rose-pine/neovim",
name = colorscheme,
priority = 1000,
config = function(_, opts)
require(colorscheme).setup(opts)
vim.cmd.colorscheme(colorscheme)
end,
opts = {
--- @usage 'auto'|'main'|'moon'|'dawn'
variant = "moon",
--- @usage 'main'|'moon'|'dawn'
dark_variant = "moon",
--- @usage string hex value or named color from rosepinetheme.com/palette
groups = {
background = "none",
},
-- Change specific vim highlight groups
-- https://github.com/rose-pine/neovim/wiki/Recipes
highlight_groups = {
TelescopeBorder = { fg = "highlight_high", bg = "none" },
TelescopeNormal = { bg = "none" },
TelescopePromptNormal = { bg = "base" },
TelescopeResultsNormal = { fg = "subtle", bg = "none" },
TelescopeSelection = { fg = "text", bg = "base" },
TelescopeSelectionCaret = { fg = "rose", bg = "rose" },
},
},
}

View file

@ -37,15 +37,6 @@ return {
opts = {},
},
{
-- Theme inspired by Atom
"navarasu/onedark.nvim",
priority = 1000,
config = function()
vim.cmd.colorscheme("onedark")
end,
},
-- "gc" to comment visual regions/lines
{ "numToStr/Comment.nvim", opts = {} },
}