mini/base16: init

This commit is contained in:
LilleAila 2025-01-17 19:08:50 +01:00
parent a1a0ab89b6
commit c52e3c0507
No known key found for this signature in database
GPG key ID: D1ACCDCF2B9B9799
5 changed files with 32 additions and 0 deletions

View file

@ -57,6 +57,7 @@
- `mini.ai` - `mini.ai`
- `mini.align` - `mini.align`
- `mini.animate` - `mini.animate`
- `mini.base16`
[kaktu5](https://github.com/kaktu5): [kaktu5](https://github.com/kaktu5):

View file

@ -984,6 +984,22 @@
"type": "github" "type": "github"
} }
}, },
"plugin-mini-base16": {
"flake": false,
"locked": {
"lastModified": 1734960100,
"narHash": "sha256-VGs4k/xDujPcA0Nv5T18ybSv1iqnzg0AFmaweRdhvDM=",
"owner": "echasnovski",
"repo": "mini.base16",
"rev": "23453dacc1606e5d42238d82f0b42a2985386b62",
"type": "github"
},
"original": {
"owner": "echasnovski",
"repo": "mini.base16",
"type": "github"
}
},
"plugin-minimap-vim": { "plugin-minimap-vim": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -2183,6 +2199,7 @@
"plugin-mini-ai": "plugin-mini-ai", "plugin-mini-ai": "plugin-mini-ai",
"plugin-mini-align": "plugin-mini-align", "plugin-mini-align": "plugin-mini-align",
"plugin-mini-animate": "plugin-mini-animate", "plugin-mini-animate": "plugin-mini-animate",
"plugin-mini-base16": "plugin-mini-base16",
"plugin-minimap-vim": "plugin-minimap-vim", "plugin-minimap-vim": "plugin-minimap-vim",
"plugin-modes-nvim": "plugin-modes-nvim", "plugin-modes-nvim": "plugin-modes-nvim",
"plugin-neo-tree-nvim": "plugin-neo-tree-nvim", "plugin-neo-tree-nvim": "plugin-neo-tree-nvim",

View file

@ -760,5 +760,10 @@
url = "github:echasnovski/mini.animate"; url = "github:echasnovski/mini.animate";
flake = false; flake = false;
}; };
plugin-mini-base16 = {
url = "github:echasnovski/mini.base16";
flake = false;
};
}; };
} }

View file

@ -3,5 +3,6 @@
./ai ./ai
./align ./align
./animate ./animate
# ./base16 # NOTE: configured in theme/
]; ];
} }

View file

@ -12,6 +12,14 @@ in {
require('base16-colorscheme').setup(${toLuaObject base16-colors}) require('base16-colorscheme').setup(${toLuaObject base16-colors})
''; '';
}; };
mini-base16 = {
setup = {base16-colors, ...}: ''
-- Base16 theme
require('mini.base16').setup({
palette = ${toLuaObject base16-colors}
})
'';
};
onedark = { onedark = {
setup = {style ? "dark", ...}: '' setup = {style ? "dark", ...}: ''
-- OneDark theme -- OneDark theme