summaryrefslogtreecommitdiff
path: root/lua/aotrix
diff options
context:
space:
mode:
authorAotrix <[email protected]>2025-03-13 00:27:29 +0100
committerAotrix <[email protected]>2025-03-13 00:27:29 +0100
commitf9d02104338eaa42f7d4b0316ff5442ab71691b3 (patch)
treef446dc6109558aa70cec1084ca2ca563f1d78d2f /lua/aotrix
parent9478a8611b46399f9d2925c86ef5517650691feb (diff)
back to the basics: rosé-pine
Diffstat (limited to 'lua/aotrix')
-rw-r--r--lua/aotrix/plugins/gruvbox.lua31
-rw-r--r--lua/aotrix/plugins/statusline.lua1
-rw-r--r--lua/aotrix/plugins/theme.lua86
3 files changed, 86 insertions, 32 deletions
diff --git a/lua/aotrix/plugins/gruvbox.lua b/lua/aotrix/plugins/gruvbox.lua
deleted file mode 100644
index 454b482..0000000
--- a/lua/aotrix/plugins/gruvbox.lua
+++ /dev/null
@@ -1,31 +0,0 @@
-return {
- "ellisonleao/gruvbox.nvim",
- config = function()
- require("gruvbox").setup({
- terminal_colors = true, -- add neovim terminal colors
- undercurl = true,
- underline = true,
- bold = true,
- italic = {
- strings = true,
- emphasis = true,
- comments = true,
- operators = false,
- folds = 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 = "soft", -- can be "hard", "soft" or empty string
- palette_overrides = {},
- overrides = {},
- dim_inactive = false,
- transparent_mode = false
- })
- vim.o.background = "light" -- or "light" for light mode
- vim.cmd("colorscheme gruvbox")
- end
-}
diff --git a/lua/aotrix/plugins/statusline.lua b/lua/aotrix/plugins/statusline.lua
index b6fdb40..f206a96 100644
--- a/lua/aotrix/plugins/statusline.lua
+++ b/lua/aotrix/plugins/statusline.lua
@@ -4,7 +4,6 @@ return {
require('lualine').setup({
options = {
icons_enabled = false,
- theme = 'gruvbox',
component_separators = {left = '', right = ''},
section_separators = {left = '', right = ''},
disabled_filetypes = {statusline = {}, winbar = {}},
diff --git a/lua/aotrix/plugins/theme.lua b/lua/aotrix/plugins/theme.lua
new file mode 100644
index 0000000..73c13ba
--- /dev/null
+++ b/lua/aotrix/plugins/theme.lua
@@ -0,0 +1,86 @@
+return {
+ "rose-pine/neovim",
+ name = "rose-pine",
+ config = function()
+ require("rose-pine").setup({
+ variant = "auto", -- auto, main, moon, or dawn
+ dark_variant = "main", -- main, moon, or dawn
+ dim_inactive_windows = false,
+ extend_background_behind_borders = true,
+
+ enable = {
+ terminal = true,
+ legacy_highlights = true, -- Improve compatibility for previous versions of Neovim
+ migrations = true -- Handle deprecated options automatically
+ },
+
+ styles = {bold = false, italic = false, transparency = false},
+
+ groups = {
+ border = "muted",
+ link = "iris",
+ panel = "surface",
+
+ error = "love",
+ hint = "iris",
+ info = "foam",
+ note = "pine",
+ todo = "rose",
+ warn = "gold",
+
+ git_add = "foam",
+ git_change = "rose",
+ git_delete = "love",
+ git_dirty = "rose",
+ git_ignore = "muted",
+ git_merge = "iris",
+ git_rename = "pine",
+ git_stage = "iris",
+ git_text = "rose",
+ git_untracked = "subtle",
+
+ h1 = "iris",
+ h2 = "foam",
+ h3 = "rose",
+ h4 = "gold",
+ h5 = "pine",
+ h6 = "foam"
+ },
+
+ palette = {
+ -- Override the builtin palette per variant
+ -- moon = {
+ -- base = '#18191a',
+ -- overlay = '#363738',
+ -- },
+ },
+
+ -- NOTE: Highlight groups are extended (merged) by default. Disable this
+ -- per group via `inherit = false`
+ highlight_groups = {
+ -- Comment = { fg = "foam" },
+ -- StatusLine = { fg = "love", bg = "love", blend = 15 },
+ -- VertSplit = { fg = "muted", bg = "muted" },
+ -- Visual = { fg = "base", bg = "text", inherit = false },
+ },
+
+ before_highlight = function(group, highlight, palette)
+ -- Disable all undercurls
+ -- if highlight.undercurl then
+ -- highlight.undercurl = false
+ -- end
+ --
+ -- Change palette colour
+ -- if highlight.fg == palette.pine then
+ -- highlight.fg = palette.foam
+ -- end
+ end
+ })
+
+ vim.cmd("colorscheme rose-pine")
+ -- vim.cmd("colorscheme rose-pine-main")
+ -- vim.cmd("colorscheme rose-pine-moon")
+ -- vim.cmd("colorscheme rose-pine-dawn")
+
+ end
+}