4 ms·
Solenya does pretty much exactly what you've described: https://github.com/solenya-group/solenya https://github.com/solenya-group/solenya Interestingly, in a v
by pickle-ts 6y ago
Solenya does pretty much exactly what you've described:
https://github.com/solenya-group/solenya https://github.com/solenya-group/solenya
Interestingly, in a very early version classes were allowed to be expressed as arrays of strings just like you had, but in the vast majority of cases a space delimited string worked fine, so this feature was dropped for simplicity/uniformity.
- glutamate 6y agoI added the option to have classes as an array of strings to facilitate conditional classes. (I then filter out falsy values so I can use a simple condition && "conditional-class" At the end of the class list.)