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

31 lines
691 B
Nix
Raw Normal View History

2024-06-23 15:56:38 +03:00
{ pkgs, style, ... }: let
2024-06-23 01:23:43 +03:00
border = {
fg = "#${style.color.border}";
};
in {
file = (pkgs.formats.toml {}).generate "YaziThemeConfig" {
manager = {
cwd = {
fg = "#${style.color.fg.light}";
# bg = "#${style.color.bg.regular}";
2024-06-23 01:23:43 +03:00
};
hovered = {
fg = "#${style.color.fg.light}";
bg = "#${style.color.bg.regular}";
2024-06-23 01:23:43 +03:00
};
preview_hovered = {
fg = "#${style.color.fg.light}";
bg = "#${style.color.bg.regular}";
2024-06-23 01:23:43 +03:00
};
border_style = border;
tab_active = {
bg = "#${style.color.accent}";
};
};
select = { inherit border; };
input = { inherit border; };
completion = { inherit border; };
tasks = { inherit border; };
};
}