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

View file

@ -52,6 +52,19 @@
"url": "https://github.com/rrethy/base16-nvim/archive/a2907cc3cd661e0f89f7db1f4fc304782a676a7d.tar.gz",
"hash": "0acqa0b5n4l01ac9mbbxz2nbg8k8a50s0ajngg72l68q6m5z9mkm"
},
"base16-pro-max": {
"type": "Git",
"repository": {
"type": "GitHub",
"owner": "y3owk1n",
"repo": "base16-pro-max.nvim"
},
"branch": "main",
"submodules": false,
"revision": "6585489c783ae14fb57cb196f15544637953ee7c",
"url": "https://github.com/y3owk1n/base16-pro-max.nvim/archive/6585489c783ae14fb57cb196f15544637953ee7c.tar.gz",
"hash": "6cyEmjFjMundTCkI8yEwuGitJaXcAh6N1ioGfQ1u2h4="
},
"blink-cmp-spell": {
"type": "Git",
"repository": {