As we mentioned in the first recipe of this chapter, themed widgets have a specific API to customize their appearance. We cannot directly set options, such as the foreground color or the internal padding, because these values are set via the ttk.Style class.
In this recipe, we will cover how to modify the widgets from the first recipe to add some styling options.