fix(colors): use basix instead of downloading jsons
This commit is contained in:
parent
b1e95fdc28
commit
73b9963bbc
3 changed files with 7 additions and 4 deletions
|
@ -1 +0,0 @@
|
||||||
{"base00":"#272e33","base01":"#2e383c","base02":"#414b50","base03":"#859289","base04":"#9da9a0","base05":"#d3c6aa","base06":"#edeada","base07":"#fffbef","base08":"#e67e80","base09":"#e69875","base0A":"#dbbc7f","base0B":"#a7c080","base0C":"#83c092","base0D":"#7fbbb3","base0E":"#d699b6","base0F":"#9da9a0"}
|
|
|
@ -32,7 +32,7 @@
|
||||||
./nvf.nix
|
./nvf.nix
|
||||||
];
|
];
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
extraSpecialArgs = {inherit inputs;};
|
extraSpecialArgs = {colors = inputs.basix.schemeData.base16.everforest-dark-hard.palette;};
|
||||||
})
|
})
|
||||||
.neovim;
|
.neovim;
|
||||||
});
|
});
|
||||||
|
|
8
nvf.nix
8
nvf.nix
|
@ -1,4 +1,8 @@
|
||||||
{pkgs, ...}: let
|
{
|
||||||
|
pkgs,
|
||||||
|
colors,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
inherit (pkgs) vimPlugins;
|
inherit (pkgs) vimPlugins;
|
||||||
in {
|
in {
|
||||||
config.vim = {
|
config.vim = {
|
||||||
|
@ -14,7 +18,7 @@ in {
|
||||||
theme = {
|
theme = {
|
||||||
name = "mini-base16";
|
name = "mini-base16";
|
||||||
enable = true;
|
enable = true;
|
||||||
base16-colors = builtins.fromJSON (builtins.readFile ./everforest.json);
|
base16-colors = colors;
|
||||||
};
|
};
|
||||||
terminal.toggleterm = {
|
terminal.toggleterm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue