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}";
|
2024-06-23 23:38:56 +03:00
|
|
|
# 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-26 20:50:27 +03:00
|
|
|
select = { inherit borderLight; };
|
|
|
|
input = { inherit borderLight; };
|
|
|
|
completion = { inherit borderLight; };
|
|
|
|
tasks = { inherit borderLight; };
|
2024-06-23 01:23:43 +03:00
|
|
|
};
|
|
|
|
}
|