You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regarding the `safelist` option in the Tailwind config. Yeah, I've tried using that but it messes up the performance when starting the project for development. Takes minutes before it starts and I don't want that 馃槄. Basically, I need every text and background color to be present in the Tailwind output. This is because I have an `Avatar` component that gets it background color and text color (when profile image is not available) based on the user that is currently logged in. So, it's dynamic.
I've tried the following patterns to add those classes. These aren't even all the available colors and it took too long to process. I even tried adding them manually in the safelist array. So I though adding one more file that contains all the classes I want in, into the source and content option would be far more performant. So I guess that's not an option then?
Regarding the warning. I got a lot of components (about 40 now) with loads of TW styling, so thats why I thought the warning weird 馃槈. Perhaps it is because I use ux- prefix for the TW classes? I don't know. Looks like it doesn't cause any problems though. Not sure if problems will arise in the near future while developing the UX project. I surely hope not 馃榾.
I've tried the following patterns to add those classes. These aren't even all the available colors and it took too long to process. I even tried adding them manually in the
safelist
array. So I though adding one more file that contains all the classes I want in, into the source andcontent
option would be far more performant. So I guess that's not an option then?Regarding the warning. I got a lot of components (about 40 now) with loads of TW styling, so thats why I thought the warning weird 馃槈. Perhaps it is because I use
ux-
prefix for the TW classes? I don't know. Looks like it doesn't cause any problems though. Not sure if problems will arise in the near future while developing the UX project. I surely hope not 馃榾.Originally posted by @dtaalbers in #23 (comment)
The text was updated successfully, but these errors were encountered: