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
That could be useful in cases I want to apply classes that are not necessary derived from reactive properties.
I wonder if it is possible, or even reasonable.
The text was updated successfully, but these errors were encountered:
Just hacking around a bit, I was able to add host styles, but had to introduce a helper method. It wasn't clear how to process css from the twind API. Here's an example using a hostRules(this.tw, ...rules) helper:
Hey!
I wonder if it's possible to use Twind classes within Lit elements
styles
block, some sort of the@apply
decorator from Tailwind:That could be useful in cases I want to apply classes that are not necessary derived from reactive properties.
I wonder if it is possible, or even reasonable.
The text was updated successfully, but these errors were encountered: