theme: Add tinted-vim plugin theming support

Tinted Theming is the community successor to base16 and now supports
multiple scheme systems, including base24
This commit is contained in:
Jamy Golden 2025-03-29 15:46:50 +01:00
parent aed996eb33
commit 177c19451d
4 changed files with 23 additions and 0 deletions

View file

@ -3,6 +3,10 @@
This section lists the release notes for tagged version of **nvf** and the
current main current main branch
[JamyGolden](https://github.com/JamyGolden):
- Add support for `tinted-vim` (base16, base24) themes
```{=include=} chapters
rl-0.1.md
rl-0.2.md

View file

@ -211,4 +211,9 @@ in {
'';
styles = ["dark" "light" "dark_dimmed" "dark_default" "light_default" "dark_high_contrast" "light_high_contrast" "dark_colorblind" "light_colorblind" "dark_tritanopia" "light_tritanopia"];
};
tinted-theming = {
setup = {style ? "base24-ayu-dark", ...}: ''
vim.cmd.colorscheme("${style}")
'';
};
}

View file

@ -43,6 +43,7 @@ in {
Supported themes can be found in {file}`supportedThemes.nix`.
Setting the theme to "base16" enables base16 theming and
requires all of the colors in {option}`vim.theme.base16-colors` to be set.
Setting the theme to "tinted-theming" adds all of the "tinted-vim" colorschemes.
'';
};
base16-colors = base16Options;

View file

@ -2208,6 +2208,19 @@
"url": "https://github.com/nvim-telescope/telescope.nvim/archive/814f102cd1da3dc78c7d2f20f2ef3ed3cdf0e6e4.tar.gz",
"hash": "0lbsq6x5bf7l54x7rkdkh7pa63afsgf0jnm0zf9ig7fw2lh18b8f"
},
"tinted-vim": {
"type": "Git",
"repository": {
"type": "GitHub",
"owner": "tinted-theming",
"repo": "tinted-vim"
},
"branch": "main",
"submodules": false,
"revision": "3bca166be9ad02e28934fd6e5c38c31f59cd28fe",
"url": "https://github.com/tinted-theming/tinted-vim/archive/3bca166be9ad02e28934fd6e5c38c31f59cd28fe.tar.gz",
"hash": "1x6krr0fxip566g7f4j0dh8vrapph0r4vfil3x2mv3zwpqpyvbx5"
},
"tiny-devicons-auto-colors-nvim": {
"type": "Git",
"repository": {