add a topWindow class with the app's reversed domain name
this is a small style addition after some discussion i had with @feaneron and @chergert
each GTK app could use the reversed domain name (as in Flathub) to add a unique topWindow class, so a theme can extend some styles per app if that is necessary, without need to upstream the changes on the projects. besides not all projects accept upstream 3rd party styles
aside the above, this also can help to remove the complexity of themes in general, including Adwaita that tries to address many widgets hierarchies, and make possible to write a proper structured Sass ..someday!
some examples
Calendar: "org-gnome-Calendar"
Todo: "org-gnome-Todo"
Builder: "org-gnome-Builder"
Tilix: "com-gexperts-Tilix"
Note that the className can be either capitalized or not, depending the name is used in Flathub
i will submit patches in a little bit
Development Tasks
-
Add the org-gnome-Calendar
CSS class to the main window
QA Tasks
-
Main window has the org-gnome-Calendar
CSS class in the GTK Inspector -
No regressions were introduced
Edited by Mohammed Sadiq