elementary / switchboard-plug-display

Switchboard Displays Plug
https://elementary.io
GNU General Public License v3.0
14 stars 18 forks source link

Styles: Gtk4 prep #379

Closed danirabbit closed 5 months ago

danirabbit commented 5 months ago

In latest GTK 4, the only non-deprecated use of StyleContext is to set a provider for the whole screen. Since we have a finite number of monitor colors, we really don't need to generate this CSS. Instead we can just have a set number of color style classes and then assign a style class to each display widget.

danirabbit commented 5 months ago

@jeremypw sorry about that! Fixed the typos and cleared the warnings. Dunno how I missed that :grimacing: