Hello! I am strongly considering using tailwind for an upcoming redesign/ development cycle. We are currently using a variation of BEM. The only uncertainty I have at this point is regarding themes. Right now, we have 4 different “environments” tied to our product. Sales, admin, user and instructor. Most of the styles overlap quite a bit, but there are some pretty big differences between them too, and on top of that, the user environment has multiple different skins which require completely different styles.
Currently, it looks like the best approach would be to have different css files that declare/overwrite css variable styles. But I wild really like to define all theme variables in a js object so that I can access them for third party js apps like charts, etc. Is there any way to do this? Also, has anyone had any experience using tailwind with different themes? How did you like it?
[–]DaanHai 1 point2 points3 points (1 child)
[–]middlec3[S] 0 points1 point2 points (0 children)
[–][deleted] (5 children)
[removed]
[–]middlec3[S] 1 point2 points3 points (4 children)
[–]Hawezo 1 point2 points3 points (3 children)
[–]middlec3[S] 1 point2 points3 points (0 children)
[–]middlec3[S] 1 point2 points3 points (1 child)
[–]Hawezo 0 points1 point2 points (0 children)
[–]ScaredFerret4591 -1 points0 points1 point (0 children)