themes: add base16-pro-max theme

The standard base16 theme does not have support for transparency. The
base16-pro-max theme by @y3owk1n does, though.
This commit is contained in:
ced4rtree 2025-11-22 16:32:22 -07:00
commit 8ad5672530
No known key found for this signature in database
GPG key ID: 4E9A5361FD2BF15A
2 changed files with 28 additions and 0 deletions

View file

@ -14,6 +14,21 @@ in {
require('base16-colorscheme').setup(${toLuaObject base16-colors})
'';
};
base16-pro-max = {
setup = {base16-colors, transparent, ...}: let
colors = builtins.replaceStrings
[ ''["'' ''"]'']
[ "" "" ]
(toLuaObject base16-colors);
in ''
-- Base16 theme
require('base16-pro-max').setup {
colors = ${colors},
styles = { transparency = ${boolToString transparent} },
}
vim.cmd.colorscheme "base16-pro-max"
'';
};
mini-base16 = {
setup = {base16-colors, ...}: ''
-- Base16 theme