      def __init__(self, parent, *args, text="", toggle_var=None, **kwargs):
          logger.debug("Initializing %s: (parent: %s, text: %s, toggle_var: %s)",
                       self.__class__.__name__, parent, text, toggle_var)
          super().__init__(parent, *args, **kwargs)
          style = ttk.Style()
          font = get_config().default_font
          style.configure('GroupHeader.TLabel',
                          background="#176087",
                          foreground="#FFFFFF",
                          font=(font[0], font[1], "bold"))
  
          self._text = text
  
          if toggle_var:
              self._toggle_var = toggle_var
          else:
 
</s> remove     def __init__(self, parent, *args, text="", toggle_var=None, **kwargs):
        logger.debug("Initializing %s: (parent: %s, text: %s, toggle_var: %s)",
                     self.__class__.__name__, parent, text, toggle_var)
 </s> add     def __init__(self, parent, *args, text="", theme="CPanel", toggle_var=None, **kwargs):
        logger.debug("Initializing %s: (parent: %s, text: %s, theme: %s, toggle_var: %s)",
                     self.__class__.__name__, parent, text, theme, toggle_var) </s> remove                      "label_width: %s, checkbuttons_frame: %s, blank_nones: %s)",
 </s> add                      "label_width: %s, checkbuttons_frame: %s, style: %s, blank_nones: %s)", </s> remove         gui_style.configure('H1.TLabel',
                            font=(self._config.default_font[0],
                                  self._config.default_font[1] + 4,
                                  "bold"))
        gui_style.configure('H2.TLabel',
                            font=(self._config.default_font[0],
                                  self._config.default_font[1] + 2,
                                  "bold"))

        gui_style.configure("CPanel.TLabel", background="#FFFFFF")
        gui_style.configure("CPanel.TFrame", background="#FFFFFF")
        gui_style.configure("CPanel.TLabelframe", background="#FFFFFF")
        gui_style.configure('CPanel.TLabelframe.Label', background="#FFFFFF", foreground="#176087")
        gui_style.configure("CPanel.TCheckbutton", background="#FFFFFF")
        gui_style.configure("CPanel.TRadiobutton", background="#FFFFFF")
 </s> add         font = self._config.default_font
        gui_style.configure('H1.TLabel', font=(font[0], font[1] + 4, "bold"))
        gui_style.configure('H2.TLabel', font=(font[0], font[1] + 2, "bold"))

        # Control and settings panel styles
        for _type in ("CPanel", "SPanel"):
            # Common control panel items
            for lbl in ["TLabel", "TFrame", "TLabelframe", "TCheckbutton", "TRadiobutton"]:
                gui_style.configure(f"CPanel.{lbl}", background="#FFFFFF")
                gui_style.configure(f"SPanel.{lbl}", background="#FFFFFF")

            # Specific items
            color = "#176087" if _type == "CPanel" else "#9B1D20"
            gui_style.configure(f"{_type}.TLabelframe.Label",
                                background="#FFFFFF",
                                foreground=color)
            gui_style.configure(f"{_type}.Groupheader.TLabel",
                                background=color,
                                foreground="#FFFFFF",
                                font=(font[0], font[1], "bold")) </s> remove                      checkbuttons_frame, blank_nones)
 </s> add                      checkbuttons_frame, style, blank_nones) </s> remove                      option_columns, header_text, blank_nones, scrollbar)
 </s> add                      option_columns, header_text, style, blank_nones, scrollbar)
      def __init__(self, parent, *args, text="", toggle_var=None, **kwargs):
          logger.debug("Initializing %s: (parent: %s, text: %s, toggle_var: %s)",
                       self.__class__.__name__, parent, text, toggle_var)
          super().__init__(parent, *args, **kwargs)







          self._text = text
  
          if toggle_var:
              self._toggle_var = toggle_var
          else:
keep keep keep keep replace replace replace replace replace replace replace keep keep keep keep keep
 GUI - Minor Updates
  - Add style support to control panel
  - Theme settings to red
  - Use standard tk buttons
  - Fix some graphical glitches 
lib/gui/custom_widgets.py