uses modus themes where possible

This commit is contained in:
Dennis 2025-09-18 13:11:54 +02:00
parent b9e03a6f29
commit 87c990bf2a
6 changed files with 85 additions and 103 deletions

View file

@ -1,58 +1,44 @@
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,
migrations = true,
},
styles = {
bold = true,
italic = false,
transparency = true,
},
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",
},
})
vim.cmd("colorscheme rose-pine")
"miikanissi/modus-themes.nvim",
priority = 1000,
opts = {
style = "modus_vivendi",
variant = "tinted",
transparent = true,
sign_column_background = false,
line_nr_column_background = false,
on_highlights = function(highlight, color)
highlight.TabLine = { fg = color.fg_dim, bg = color.bg_dim }
highlight.TabLineFill = { fg = color.fg_dim, bg = color.bg_main }
highlight.BufferInactiveMod = { fg = color.fg_dim, bg = color.bg_main }
highlight.BufferInactive = { fg = color.fg_dim, bg = color.bg_main }
highlight.BufferInactiveSign = { fg = color.fg_alt, bg = color.bg_main }
highlight.BufferInactiveSignRight = { fg = color.fg_alt, bg = color.bg_main }
highlight.BufferInactiveTarget = { fg = color.yellow_faint, bg = color.bg_main }
highlight.BufferActiveMod = { fg = color.fg_dim, bg = color.bg_main }
highlight.BufferActive = { fg = color.fg_dim, bg = color.bg_main }
highlight.BufferActiveSign = { fg = color.fg_alt, bg = color.bg_dim }
highlight.BufferActiveSignRight = { fg = color.fg_alt, bg = color.bg_dim }
highlight.BufferActiveTarget = { fg = color.yellow_faint, bg = color.bg_dim }
highlight.BufferCurrentMod = { fg = color.fg_alt, bg = color.bg_dim }
highlight.BufferCurrentBtn = { fg = color.fg_main, bg = color.bg_dim }
highlight.BufferCurrent = { fg = color.fg_main, bg = color.bg_dim }
highlight.BufferCurrentSign = { fg = color.fg_alt, bg = color.bg_dim }
highlight.BufferCurrentSignRight = { fg = color.fg_alt, bg = color.bg_dim }
highlight.BufferCurrentTarget = { fg = color.yellow_faint, bg = color.bg_dim }
highlight.WhichKeyFloat = { fg = "NONE", bg = "NONE" }
highlight.NormalFloat = { fg = "NONE", bg = "NONE" }
highlight.SnacksIndent = { fg = color.bg_dim }
highlight.FlashMatch = { fg = color.fg_main, bg = color.bg_cyan_subtle }
highlight.FlashLabel = { fg = color.fg_main, bg = color.bg_magenta_intense }
highlight.SnacksIndentScope = { fg = color.fg_dim }
highlight.CursorLine = { bg = color.tinted_bg_cyan_nuanced }
highlight.Visual = { bg = color.bg_magenta_subtle }
highlight.IncSearch = { fg = color.cyan, bg = color.bg_cyan_nuanced }
highlight["@comment"] = { fg = color.fg_dim }
end,
},
init = function()
vim.cmd([[colorscheme modus]])
end,
}