|
|
@ -71,7 +71,7 @@ class FirstSetupApplication(Adw.Application):
|
|
|
|
|
|
|
|
|
|
|
|
CSS inspired by: Sonny Piers <https://github.com/sonnyp>
|
|
|
|
CSS inspired by: Sonny Piers <https://github.com/sonnyp>
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
css = """
|
|
|
|
css = b"""
|
|
|
|
.theme-selector {
|
|
|
|
.theme-selector {
|
|
|
|
border-radius: 100px;
|
|
|
|
border-radius: 100px;
|
|
|
|
margin: 8px;
|
|
|
|
margin: 8px;
|
|
|
@ -113,7 +113,7 @@ class FirstSetupApplication(Adw.Application):
|
|
|
|
}
|
|
|
|
}
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
provider = Gtk.CssProvider()
|
|
|
|
provider = Gtk.CssProvider()
|
|
|
|
provider.load_from_data(css, -1)
|
|
|
|
provider.load_from_data(data=css)
|
|
|
|
Gtk.StyleContext.add_provider_for_display(
|
|
|
|
Gtk.StyleContext.add_provider_for_display(
|
|
|
|
display=Gdk.Display.get_default(),
|
|
|
|
display=Gdk.Display.get_default(),
|
|
|
|
provider=provider,
|
|
|
|
provider=provider,
|
|
|
|