Categories: None [Edit]

cva-ruby

https://rubygems.org/gems/cva-ruby
https://github.com/nashbridges/cva-ruby
This is a Ruby port of cva.style JS library. The CVA (Class Variance Authority) pattern is based on the idea that there's a limited number of states (variants) your CSS component can hold. Each state is described with a CSS class or a set of classes. You then provide a set of variants as an input, and get back a final list of CSS classes.

Total

Ranking: 198,394 of 198,817
Downloads: 238

Daily

Ranking: 73,023 of 198,797
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconnashbridges