Replies: 1 comment 2 replies
-
See my example here https://github.com/tarkah/iced-snippets/blob/master/snippets/custom-theme/src/main.rs |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking for guidance on how to migrate our existing styles to the new hotness. We have styles that look like this in our code base:
We then set styles such as these on containers via:
For 0.5 I updated our style to look like this:
I couldn't get this to work though due to:
What should I be doing here for our custom container style?
Similarly, I tried to create a custom button style like so, but this seems wrong/incomplete as well? I'm not sure how to proceed as I've tried to dig out what examples I could from the ice_styles code base.
Sample implementations used to be included in the style example for 0.4. But sadly, there aren't any examples for these situations for 0.5.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions