svelte has something like this. We could change the classPattern or make a new one. @voorjaar not sure how you have changed the pattern logic. can you make a pattern (for svelte) for the example below to work?
This syntax is very often used, even class directive exists
<div class={isDark ? 'dark:bg-red-500' : 'light:bg-yellow-500'}>my text is large</div>
svelte has something like this. We could change the
classPattern
or make a new one. @voorjaar not sure how you have changed the pattern logic. can you make a pattern (for svelte) for the example below to work? This syntax is very often used, even class directive exists