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

34 lines
826 B
Nix
Raw Normal View History

2024-06-25 04:04:39 +03:00
{ pkgs, config, ... }: let
2024-06-23 01:23:43 +03:00
border = {
2024-06-29 18:05:39 +03:00
fg = "#${config.style.color.border}";
2024-06-23 01:23:43 +03:00
};
2024-06-26 20:50:27 +03:00
borderLight = {
2024-06-29 18:05:39 +03:00
fg = "#${config.style.color.accent}";
2024-06-26 20:50:27 +03:00
};
2024-06-23 01:23:43 +03:00
in {
file = (pkgs.formats.toml {}).generate "YaziThemeConfig" {
manager = {
cwd = {
2024-06-29 18:05:39 +03:00
fg = "#${config.style.color.fg.light}";
# bg = "#${style.color.bg.regular}";
2024-06-23 01:23:43 +03:00
};
hovered = {
2024-06-29 18:05:39 +03:00
fg = "#${config.style.color.fg.light}";
bg = "#${config.style.color.bg.regular}";
2024-06-23 01:23:43 +03:00
};
preview_hovered = {
2024-06-29 18:05:39 +03:00
fg = "#${config.style.color.fg.light}";
bg = "#${config.style.color.bg.regular}";
2024-06-23 01:23:43 +03:00
};
border_style = border;
tab_active = {
2024-06-29 18:05:39 +03:00
bg = "#${config.style.color.accent}";
2024-06-23 01:23:43 +03:00
};
};
2024-06-30 00:31:43 +03:00
select = { border = borderLight; };
input = { border = borderLight; };
completion = { border = borderLight; };
tasks = { border = borderLight; };
2024-06-23 01:23:43 +03:00
};
}