{theme, ...}: let
theme' = theme.noHash;
inherit (theme') bright dark;
in {
programs.foot = {
enable = true;
settings = {
colors = {
foreground = theme'.primary.foreground;
background = theme'.primary.background;
regular0 = dark.black; # Black
regular1 = dark.red; # Red
regular2 = dark.green; # Green
regular3 = dark.yellow; # Yellow
regular4 = dark.blue; # Blue
regular5 = dark.magenta; # Magenta
regular6 = dark.cyan; # Cyan
regular7 = dark.white; # White
bright0 = bright.black; # Black
bright1 = bright.red; # Red
bright2 = bright.green; # Green
bright3 = bright.yellow; # Yellow
bright4 = bright.blue; # Blue
bright5 = bright.magenta; # Magenta
bright6 = bright.cyan; # Cyan
bright7 = bright.white; # White
};
mouse.hide-when-typing = "yes";
main = {
font = "Iosevka:size=7";
dpi-aware = "yes";
};
};
};
}