Titlebutton style for COSMIC?
Categories
(Core :: Widget: Gtk, enhancement, P5)
Tracking
()
People
(Reporter: ferenosdev, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Steps to reproduce:
Cosmic Epoch by System76 includes a somewhat custom titlebar button style whom it may be worth for Firefox to detect and apply a matching design for.
This would be slightly complicated however as System76 uses adw-gtk3 as the theme, meaning there isn't a GTK theme you can latch onto for detection. However, afaik Cosmic actively forces either Adwaita or adw-gtk3 to be the GTK theme, so you needn't worry about GTK theme and should instead be able to check xdg_current_desktop for Cosmic and if so check for adw-gtk3 and override if both are detected.
Cosmic's colour scheme, while the theme is adw-gtk3, is broadcast to gtk.css, much like Breeze, for adw-gtk3 to use, although not for Adwaita (iirc when GTK overriding is turned off in Cosmic Appearance Settings), hence the condition of adw-gtk3 also.
Actual results:
Right now, otherwise, Cosmic just always has the Libadwaita titlebuttons.
Expected results:
Cosmic's titlebuttons are fairly simple in nature - just rectangles whose foreground = the selection background colour.
Description
•