diff --git a/.gitmodules b/.gitmodules index eeaa940..85a0369 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/config/alacritty/alacritty.yml b/config/alacritty/alacritty.yml index 2ae5c19..1c67d33 100644 --- a/config/alacritty/alacritty.yml +++ b/config/alacritty/alacritty.yml @@ -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. diff --git a/config/alacritty/themes/rose-pine b/config/alacritty/themes/rose-pine new file mode 160000 index 0000000..7c3625f --- /dev/null +++ b/config/alacritty/themes/rose-pine @@ -0,0 +1 @@ +Subproject commit 7c3625f3d0f34359ba114e09b1ba3f3c1bed399a diff --git a/config/nvim/lua/aleidk/plugins/colorscheme.lua b/config/nvim/lua/aleidk/plugins/colorscheme.lua new file mode 100644 index 0000000..eaf0d06 --- /dev/null +++ b/config/nvim/lua/aleidk/plugins/colorscheme.lua @@ -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" }, + }, + }, +} diff --git a/config/nvim/lua/aleidk/plugins/init.lua b/config/nvim/lua/aleidk/plugins/init.lua index 2aed422..d82aa80 100644 --- a/config/nvim/lua/aleidk/plugins/init.lua +++ b/config/nvim/lua/aleidk/plugins/init.lua @@ -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 = {} }, }