nix/user/common/yazi/module/Theme.nix

31 lines
691 B
Nix

{ pkgs, style, ... }: let
border = {
fg = "#${style.color.border}";
};
in {
file = (pkgs.formats.toml {}).generate "YaziThemeConfig" {
manager = {
cwd = {
fg = "#${style.color.fg.light}";
# bg = "#${style.color.bg.regular}";
};
hovered = {
fg = "#${style.color.fg.light}";
bg = "#${style.color.bg.regular}";
};
preview_hovered = {
fg = "#${style.color.fg.light}";
bg = "#${style.color.bg.regular}";
};
border_style = border;
tab_active = {
bg = "#${style.color.accent}";
};
};
select = { inherit border; };
input = { inherit border; };
completion = { inherit border; };
tasks = { inherit border; };
};
}