(self)
Set the color of the frame background to reflect the selected target.

        Instance variables accessed:
            theme_elements
            highlight_target
            fg_bg_toggle
            highlight_sample

        Attributes updated:
            frame_color_set
Set the color of the frame background to reflect the selected target.
Set the color of the frame background to reflect the selected target .
def set_color_sample(self):
        """Set the color of the frame background to reflect the selected target.

        Instance variables accessed:
            theme_elements
            highlight_target
            fg_bg_toggle
            highlight_sample

        Attributes updated:
            frame_color_set
        """
        # Set the color sample area.
        tag = self.theme_elements[self.highlight_target.get()][0]
        plane = 'foreground' if self.fg_bg_toggle.get() else 'background'
        color = self.highlight_sample.tag_cget(tag, plane)
        self.style.configure('frame_color_set.TFrame', background=color)
def set_color_sample ( self ) : # Set the color sample area. tag = self . theme_elements [ self . highlight_target . get ( ) ] [ 0 ] plane = 'foreground' if self . fg_bg_toggle . get ( ) else 'background' color = self . highlight_sample . tag_cget ( tag , plane ) self . style . configure ( 'frame_color_set.TFrame' , background = color )