diff options
| author | Aotrix <[email protected]> | 2024-02-14 15:54:10 +0100 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2024-02-14 15:54:10 +0100 |
| commit | ece3d556628c087aa2d4d194501402496ca85512 (patch) | |
| tree | 42c787a23702c8d9f445cd1a7baf0b8b21673049 /lua/theme/rose-pine.lua | |
| parent | 6b21ec9e1174da7576815d787386f78191fbfb0f (diff) | |
rose pine team
Diffstat (limited to 'lua/theme/rose-pine.lua')
| -rw-r--r-- | lua/theme/rose-pine.lua | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/lua/theme/rose-pine.lua b/lua/theme/rose-pine.lua new file mode 100644 index 0000000..4398a3e --- /dev/null +++ b/lua/theme/rose-pine.lua @@ -0,0 +1,71 @@ +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 = true, + 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", + }, + + highlight_groups = { + -- Comment = { fg = "foam" }, + -- VertSplit = { fg = "muted", bg = "muted" }, + }, + + 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") |
