mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-12-08 21:23:53 +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
|
||||
|
|
|
|||
|
|
@ -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": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue