Closed cassidyjames closed 3 years ago
Looks good! Does this also work on elementary os 5? Or is this specifically for EOS 6?
@GijsGoudzwaard this is specifically styled for the OS 6 stylesheet, but users of OS 5 will eventually be able to get the OS 6 version from the AppCenter remote as a Flatpak.
If you wanted to support both simultaneously, you could read the current stylesheet; if it's elementary
, then it's a user of OS 5, if it begins with io.elementary.stylesheet.
it's OS 6.
There's a lot more I see that could be simplified, but this gets it looking better on Odin, at least.
Things to look into: Hdy.Window for automatic rounded corners, Hdy.WindowHandle for dragging from anywhere, and dark style support.
View without whitespace changes for the actual diff; I fixed the indentation in the stylesheet file while I was there.