theme: let
  bg = theme.dark.black;
  fg = theme.bright.white;
in {
  colors = {
    downloads = {
      bar.bg = bg;
      start.bg = theme.dark.blue;
      stop.bg = theme.bright.green;
    };

    tabs = rec {
      bar.bg = bg;

      odd.bg = bg;
      odd.fg = fg;
      even = odd;

      selected = rec {
        odd.bg = theme.bright.white;
        odd.fg = theme.dark.black;
        even = odd;
      };

      indicator.start = theme.dark.blue;
      indicator.stop = theme.bright.green;
    };

    statusbar = rec {
      url = {
        inherit fg;
        error.fg = theme.bright.red;
        warn.fg = theme.bright.yellow;
        hover.fg = theme.bright.cyan;
        success.http.fg = fg;
        success.https.fg = fg;
      };

      normal.bg = bg;
      normal.fg = fg;
      private.bg = theme.dark.magenta;
      private.fg = bg;
      insert.bg = theme.dark.green;
      insert.fg = bg;
      passthrough.bg = theme.dark.blue;
      passthrough.fg = bg;
      command = {
        inherit bg fg;
        private = {inherit bg fg;};
      };
    };

    completion = rec {
      inherit fg;
      category.bg = theme.bright.black;
      category.fg = fg;

      odd.bg = bg;
      even = odd;

      match.fg = theme.bright.red;
      item.selected = {
        inherit match;
        bg = fg;
        fg = bg;
        border.top = fg;
        border.bottom = fg;
      };
    };
  };
}