-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Theme adwaita - icons and enhancements #68
Conversation
Not defined icons are set to the default. I don't have listed everything yet.
- prefer to use fully named properties in color struct - prefer to use template to `printf` elements intead of doing it in the functions
oksvg has got some problems with gradients and with masked icon. Today, use inkscape in command line to convert them to PNG. Warning, inkscape says that it crashes with core dump even if the convertion worked. This is a bug from inkscape. The PNG files are well converted anyway.
- sizes of icon and text should respect the Adwaita sizes, so I need to set up: - padding to 8 - inline icons to 16 - text to 12 - fixed the scrollbar color to respect Adwaita colors (estimation made, there is no color set fot scrollbar in the documentation)
Actually, Adwaita doesn't document everything - at this time I need to decide which is the closer color using the theme on GNOME and comparing with a Fyne application.
This looks completely amazing update thanks. |
I can check it out sometime next week. Gnome on Fedora is my main desktop environment :) |
While fyne-io/fyne-x#68 is not merged, using my own repository to have Adwaita theme + icons.
@Jacalz just bumping this as you were going to check it out. I don't have Gnome running (at least not well ;) ). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weird...
All the icons are set, whatever the project, even the one on FlatHub => https://flathub.org/fr/apps/org.metal3d.scoreboard Are you sure to have taken the right branch? |
Hmm. Maybe not. I'll have a look later today. Sorry |
It is definitely working on my laptop now when doing a quick test. Will have to see later today if I did something wrong on my workstation. It might require some some size changes for v2.4.0? It seems to me like the text is very small and the blue line below the tabs is very big. In general though it looks wonderful. Nice work :) |
Thanks a lot 😄 I probably leave a font scaling test by error. Sorry... I will remove it if it's true. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see that there are checkboxes left in the description. Are you fine with me merging or do you want to wait? :) @metal3d |
Let's just get this in - there will often be icons missing as we keep expending the main theme anyway. |
Thanks 😄 I'll keep an eye on newest icons, it takes the default in case of problems. The generator takes the Adwaita git repository to generate the icons, and it's theoretically easy to add more icons in the theme. |
Sorry for this, actually I kept default for the icons I'm not sure, or if the Adwaita icon is not exactly what we mean in Fyne. Anyway, I could, later, enhance the icon set. |
This PR proposes a better generator and to bundle icons.
fyne.Resource
+ "Themed" if there are "symbolic" (all icons are SVG)These icons are, at this time, not converted from Adwaita (checked when resolved):
Don't hesitate to tell me which icon is badly choosen or ideas for not set icons (above).