mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-12-11 22:53:55 +00:00
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:
parent
09470524a2
commit
8ad5672530
2 changed files with 28 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue