In GTK 3, people can set their own themes. Even the default theme (Adwaita) is provided with two variants: a light one and a dark one. As I am writing my own w
In your widget's do_draw() implementation, you can read out the theme colors from the widget's style context. For this you use methods such as self.get_style_context().get_color(), ...get_border_color(), ...get_background_color().