qwikifiers / qwik-ui

Qwik's official Headless and styled component library
https://qwikui.com
MIT License
606 stars 135 forks source link

[📖]Clarify steps for changing the application's theme at the click of a button #925

Open drk-mtr opened 1 month ago

drk-mtr commented 1 month ago

Suggestion

On this page: https://qwikui.com/docs/styled/install/

It states: This might seem like a lot of configuration, but we believe it to be worth it because it allows changing your entire application's theme at the click of a button.

I'm not sure how this would be achieved. I'm not suggesting we necessarily need a comprehensive guide on this, however it might be worth stating the basic idea. I'm guessing this refers to configuring multiple tailwind themes as per this sort of process? https://dev.to/ultroneoustech/creating-multiple-themes-in-tailwind-css-and-nextjs-2e98

Thanks for the brilliant library btw, I love the philosophy behind it.

maiieul commented 3 weeks ago

Ah sorry about the confusion here. What I meant by "at the click of a button", is the ability for the developer to simply click on the make it yours button, chose his preset, color and radios, then copy code then the entire theme is changed. no need to change CSS in your components. I didn't mean that for the end user, although it's definitely possible to provide that to the end user as that's what we do in Qwik UI for the developers (our end users 😓 ). Maybe Qwik UI could make implementing such a feature easier in the future, but that's not our current priority.

Would you be up to making a docs PR to rephrase this?