{ lib, config, ... }: {

  config = lib.mkIf (config.syscfg.make.gui) {
    programs.zathura = {
      enable = true;
      extraConfig = ''
        set default-fg                "#${config.colorScheme.palette.base06}"
        set default-bg 			          "#${config.colorScheme.palette.base00}"

        set completion-bg		          "#${config.colorScheme.palette.base02}"
        set completion-fg		          "#${config.colorScheme.palette.base06}"
        set completion-highlight-bg	  "#${config.colorScheme.palette.base03}"
        set completion-highlight-fg	  "#${config.colorScheme.palette.base06}"
        set completion-group-bg		    "#${config.colorScheme.palette.base01}"
        set completion-group-fg		    "#${config.colorScheme.palette.base0C}"

        set statusbar-fg		          "#${config.colorScheme.palette.base06}"
        set statusbar-bg		          "#${config.colorScheme.palette.base01}"

        set notification-bg		        "#${config.colorScheme.palette.base01}"
        set notification-fg		        "#${config.colorScheme.palette.base06}"
        set notification-error-bg	    "#${config.colorScheme.palette.base01}"
        set notification-error-fg	    "#${config.colorScheme.palette.base0F}"
        set notification-warning-bg	  "#${config.colorScheme.palette.base01}"
        set notification-warning-fg	  "#${config.colorScheme.palette.base09}"

        set inputbar-fg			          "#${config.colorScheme.palette.base06}"
        set inputbar-bg 		          "#${config.colorScheme.palette.base01}"

        set recolor-lightcolor		    "#${config.colorScheme.palette.base00}"
        set recolor-darkcolor		      "#${config.colorScheme.palette.base06}"

        set index-fg			            "#${config.colorScheme.palette.base06}"
        set index-bg			            "#${config.colorScheme.palette.base00}"
        set index-active-fg		        "#${config.colorScheme.palette.base06}"
        set index-active-bg		        "#${config.colorScheme.palette.base01}"

        set render-loading-bg		      "#${config.colorScheme.palette.base00}"
        set render-loading-fg		      "#${config.colorScheme.palette.base06}"

        set highlight-color		        "#${config.colorScheme.palette.base04}"
        set highlight-fg              "#${config.colorScheme.palette.base0E}"
        set highlight-active-color	  "#${config.colorScheme.palette.base0E}"

      '';
    };
  };
}
