{ config, lib,  ... }:

{
  options.custom.colors.ncspot = {
    enable = lib.mkOption {
      type = lib.types.bool;
      default = true;
    };
  };

  config = {
    programs.ncspot.settings.theme = with config.custom.colors; {
      # Attempts to look kinda green like the official client

      # background = base00;
      # primary = base04;
      # secondary = base01;
      # title = base0B; # green
      # playing = base0B; # green
      # playing_selected = base0C; # cyan
      # playing_bg = base06;
      # highlight = base04;
      # highlight_bg = base02;
      # error = base04;
      # error_bg = base08;
      # statusbar = base00;
      # statusbar_progress = base0B;
      # statusbar_bg = base0B;
      # cmdline = base04;
      # search_match = base0A;

      background = "black";
      primary = "light white";
      secondary = "light black";
      title = "green";
      playing = "green";
      playing_selected = "light green";
      playing_bg = "black";
      highlight = "light white";
      highlight_bg = "#484848";
      error = "light white";
      error_bg = "red";
      statusbar = "black";
      statusbar_progress = "green";
      statusbar_bg = "green";
      cmdline = "light white";
      cmdline_bg = "black";
      search_match = "light red";
    };
  };
}