-
Notifications
You must be signed in to change notification settings - Fork 128
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
stylesheets / themes #133
Comments
Are you perhaps looking for a UI component library? I'm in the process of setting one up for Floem: https://github.com/pieterdd/prettygooey/tree/floem-rewrite Note that this is an unfinished development branch. |
Hey, I've just published a library named oxytail also implementing a couple of styled widgets if you're interested. |
Happy to see more choices pop up! I didn't expect the floem-themes topic to welcome its first entry so quickly after it was added to the docs 😄 |
are sylesheets the only way to apply a dark theme/dark mode to a floem app? trying to figure out how floem works in this regard, for an app I'm working on |
I've ended up building something custom to handle light/dark mode The way this works is I have an Then for all my colors I use this LightDark struct. in order to get the view().style(|s| s.background(LightDark.color())// <-- Automatic light/dark mode |
Thanks! I'll be using that in my app |
Cool! You might consider just copy/paste that entire file and use the parts that you want. That repo is full of experiments that I don't necessarily maintain. |
Will do :) |
Hi!
As a lazy dev I would like to slap a kind of stylesheet to my UI to get started with a beautiful UI. Is that something that should be handled by third party component libs?
The text was updated successfully, but these errors were encountered: