tailwindlabs / discuss

A place to ask questions, get help, or share what you've built with Tailwind CSS.
MIT License
171 stars 9 forks source link

Different color schemes for different users #478

Closed stefanriehl closed 4 years ago

stefanriehl commented 4 years ago

How can I most easily implement different color schemes for different users?

Use Case

Lets say I have an application with user login. Depending on a flag of the user (i.e. company A) I want to use a different color scheme than the default.

The app can store the colors in a database, that's no problem. But what would be the best way to implement with tailwind?

Any thoughts?

stefanriehl commented 4 years ago

Well I found this

stefanriehl commented 4 years ago

https://github.com/adamwathan/theming-tailwind-demo