-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Description
I think stylist is honestly brilliant. Kudos. There isn't exactly an abundance of resources for Yew styling right now, so I'm just happy to see a great library in the space.
One of the more involved features of stylist is themeing.
I was able to largely get the theme-switch examples working in my project with only some minor headaches. But I'd really love to see it be documented better and simplified.
I'm wondering if PRs would be accepted - because I'd be happy to contribute.
As of now, some ideas I would contribute to a PR:
- Documenting the examples. There are no comments/docs anywhere, leaving users to 'reverse engineer'.
- Explain why one might use the context example over the hook for themeing on the examples' respective README's (One thing I was scratching my head at first).
And here's what I'd possibly simplify:
- Remove the use of
one_cell::sync::Lazyandyew::html::ImplicitClone. They are optimizations made and deserve to be either 1) documented or 2) removed as needless to the point of an example.
I'd rather see 2.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request