GijsGoudzwaard / Image-Optimizer

Simple lossless compression for Elementary OS
MIT License
80 stars 9 forks source link

First pass at styles for Odin #61

Closed cassidyjames closed 3 years ago

cassidyjames commented 3 years ago

There's a lot more I see that could be simplified, but this gets it looking better on Odin, at least.

Screenshot from 2021-08-20 13-27-09 Screenshot from 2021-08-20 13-27-14

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.

GijsGoudzwaard commented 3 years ago

Looks good! Does this also work on elementary os 5? Or is this specifically for EOS 6?

cassidyjames commented 3 years ago

@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.

cassidyjames commented 3 years ago

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.