code: def _apply_style(self):
          
          ttk.Frame.configure(self, style=self._style_name + ".TFrame")
          self.label.configure(style=self._style_name + ".TLabel")
          bg = self.style.lookup('TFrame', 'background', default='light grey')
          for label in self.ticklabels:
              label.configure(style=self._style_name + ".TLabel")
          self.style.configure(self._style_name + ".TFrame",
                               background=self.style.lookup(self._style_name,
                                                            'background',
                                                            default=bg))
          self.style.map(self._style_name + ".TFrame",
                         background=self.style.map(self._style_name, 'background'))
          self.style.configure(self._style_name + ".TLabel",
                               font=self.style.lookup(self._style_name, 'font', default='TkDefaultFont'),
                               background=self.style.lookup(self._style_name, 'background', default=bg),
                               foreground=self.style.lookup(self._style_name, 'foreground', default='black'))
          self.style.map(self._style_name + ".TLabel",
                         font=self.style.map(self._style_name, 'font'),
                         background=self.style.map(self._style_name, 'background'),
                         foreground=self.style.map(self._style_name, 'foreground'))
docs: Apply the scale style to the frame and labels.