mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-14 17:35:31 +00:00
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:
parent
aed996eb33
commit
177c19451d
4 changed files with 23 additions and 0 deletions
|
|
@ -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}")
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue