mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 05:19:48 +01:00
Theme: add rose-pine
Simply added the rose-pine input and added it as a theme.
This commit is contained in:
parent
1bc9ec96c1
commit
14cbc0bcb7
5 changed files with 53 additions and 0 deletions
|
@ -42,3 +42,7 @@ Release notes for release 0.6
|
|||
|
||||
- Updated all plugin inputs to their latest versions (26.01.2024) - this brought minor color changess to the Catppuccin
|
||||
theme
|
||||
|
||||
[elijahimmer](https://github.com/elijahimmer)
|
||||
|
||||
- Added rose-pine theme
|
||||
|
|
17
flake.lock
17
flake.lock
|
@ -1566,6 +1566,7 @@
|
|||
"project-nvim": "project-nvim",
|
||||
"registers": "registers",
|
||||
"rnix-lsp": "rnix-lsp",
|
||||
"rose-pine": "rose-pine",
|
||||
"rust-tools": "rust-tools",
|
||||
"scrollbar-nvim": "scrollbar-nvim",
|
||||
"smartcolumn": "smartcolumn",
|
||||
|
@ -1588,6 +1589,22 @@
|
|||
"zig": "zig"
|
||||
}
|
||||
},
|
||||
"rose-pine": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1707703907,
|
||||
"narHash": "sha256-jmDGDlCurGAG85SglAwmQr943kVr8KUr11zpPejQliQ=",
|
||||
"owner": "rose-pine",
|
||||
"repo": "neovim",
|
||||
"rev": "f01ce3a71748a92997d266cfe2c985decd18c601",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "rose-pine",
|
||||
"repo": "neovim",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"rust-overlay": {
|
||||
"inputs": {
|
||||
"flake-utils": [
|
||||
|
|
|
@ -346,6 +346,11 @@
|
|||
flake = false;
|
||||
};
|
||||
|
||||
rose-pine = {
|
||||
url = "github:rose-pine/neovim";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
# Rust crates
|
||||
crates-nvim = {
|
||||
url = "github:Saecki/crates.nvim";
|
||||
|
|
|
@ -44,6 +44,7 @@ with lib; let
|
|||
"dracula"
|
||||
"oxocarbon"
|
||||
"gruvbox"
|
||||
"rose-pine"
|
||||
"minimap-vim"
|
||||
"dashboard-nvim"
|
||||
"alpha-nvim"
|
||||
|
|
|
@ -128,4 +128,30 @@
|
|||
'';
|
||||
styles = ["dark" "light"];
|
||||
};
|
||||
rose-pine = {
|
||||
setup = {
|
||||
style ? "main",
|
||||
transparent ? false,
|
||||
}: ''
|
||||
require("rose-pine").setup({
|
||||
dark_variant = "${style}", -- main, moon, or dawn
|
||||
dim_inactive_windows = false,
|
||||
extend_background_behind_borders = true,
|
||||
|
||||
enable = {
|
||||
terminal = true,
|
||||
migrations = true,
|
||||
},
|
||||
|
||||
styles = {
|
||||
bold = false,
|
||||
italic = false, -- I would like to add more options for this
|
||||
transparency = ${lib.boolToString transparent},
|
||||
},
|
||||
})
|
||||
|
||||
vim.cmd("colorscheme rose-pine")
|
||||
'';
|
||||
styles = ["main" "moon" "dawn"];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue