{ pkgs, ... }:
let
  theme = import ../theme.nix;
in
{
  stylix = {
    enable = true;
    image = ../tropic_island_night.jpg; # TODO overrides swww
    base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-${theme.flavor}.yaml";
    polarity = "dark";
    opacity.terminal = 0.8;
    # Override some colours because of bad contrast
    override = {
      base02 = "b0b0b0"; # Comments in shell
      base03 = "b0b0b0"; # Comments in nvim
      base04 = "b0b0b0"; # Secondary text in shell
    };
  };
}
