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
commit 177c19451d
4 changed files with 23 additions and 0 deletions

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;