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

31 lines
682 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}";
2024-06-23 15:56:38 +03:00
# bg = "#${style.color.bg.dark}";
2024-06-23 01:23:43 +03:00
};
hovered = {
fg = "#${style.color.fg.light}";
bg = "#${style.color.bg.dark}";
};
preview_hovered = {
fg = "#${style.color.fg.light}";
bg = "#${style.color.bg.dark}";
};
border_style = border;
tab_active = {
bg = "#${style.color.accent}";
};
};
select = { inherit border; };
input = { inherit border; };
completion = { inherit border; };
tasks = { inherit border; };
};
}