-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add a simple example to the README #11
Comments
Yeah, the example code is way to complicated. A simple example would be super helpful :-) |
For others on this journey, it basically just boils down to this (where ctx.set_style(Arc::new(egui_aesthetix::themes::NordDark.custom_style())); |
Thanks for the feedback, I'm starting on refactoring the code base today, and adding examples etc. |
@philpax Thanks for this example, was looking for the single one line instantiation of a theme. Definitely would suggest adding this to the examples. |
Hiya!
Thanks for the crate; I've successfully spruced up my
egui
UI with it 🙂That being said, it took a bit of looking around to figure out how to use it; I had to look through
egui-dashboard-template
to find the relevant code, and found that a bit difficult as it doesn't document where things are.To help with that, I'd suggest:
set_style
is called withAesthetix::custom_style
on one of the stylesegui-dashboard-template
is a more complete example with runtime theme selectionegui-dashboard-template
further so that it's obvious where a developer might look to findegui-aesthetix
-related codeThe text was updated successfully, but these errors were encountered: