                      pattern="arrow",
                      direction=dir_,
                      thickness=4,
                      border_width=1,
                      border_color=borders[state])
              images[f"img_thumb_{state}"] = self._images.get_image(*img_args,
                                                                    border_width=1,
                                                                    border_color=borders[state])
  
          for element in ("thumb", "uparrow", "downarrow"):
              # Create the elements with the new images
              lookup = element.replace("arrow", "")
              args = (f"{key}.Vertical.Scrollbar.{element}",
 
</s> remove                     foreground=foregrounds[state],
 </s> add                     foreground=theme["foreground"][idx], </s> remove             img_args = ((16, 16), backgrounds[state])
 </s> add             img_args = ((16, 16), theme["background"][idx]) </s> remove         backgrounds = dict(normal=theme["control_color"],
                           disabled=theme["control_disabled"],
                           active=theme["control_active"])
        foregrounds = dict(normal=theme["control_disabled"],
                           disabled=theme["control_color"],
                           active=theme["control_disabled"])
        borders = dict(normal=theme["header_color"],
                       disabled=theme["control_color"],
                       active=theme["header_color"])

        for state in ("normal", "disabled", "active"):
 </s> add         for idx, state in enumerate(("normal", "disabled", "active")): </s> remove             The user configuration theme options
 </s> add             The theme options for a scroll bar. The dict should contain the keys: `background`,
            `foreground`, `border`, with each item containing a tuple of the colors for the states
            `normal`, `disabled` and `active` respectively
        trough: str
            The hex code for the scrollbar trough color
        border: str
            The hex code for the scrollbar border color
                    border_color=theme["border"][idx])
            images[f"img_thumb_{state}"] = self._images.get_image(
                *img_args,
                border_width=1,
                border_color=theme["border"][idx])
                      pattern="arrow",
                      direction=dir_,
                      thickness=4,
                      border_width=1,
                    border_color=theme["border"][idx])
            images[f"img_thumb_{state}"] = self._images.get_image(
                *img_args,
                border_width=1,
                border_color=theme["border"][idx])
                    border_color=theme["border"][idx])
            images[f"img_thumb_{state}"] = self._images.get_image(
                *img_args,
                border_width=1,
                border_color=theme["border"][idx])
                    border_color=theme["border"][idx])
            images[f"img_thumb_{state}"] = self._images.get_image(
                *img_args,
                border_width=1,
                border_color=theme["border"][idx])
                    border_color=theme["border"][idx])
            images[f"img_thumb_{state}"] = self._images.get_image(
                *img_args,
                border_width=1,
                border_color=theme["border"][idx])
  
          for element in ("thumb", "uparrow", "downarrow"):
              # Create the elements with the new images
              lookup = element.replace("arrow", "")
              args = (f"{key}.Vertical.Scrollbar.{element}",
keep keep keep keep replace replace replace replace keep keep keep keep keep
 GUI - Add theme support to console 
lib/gui/utils.py