Post
The classes function seems really simple and sensible to me. You reminded me of this library that I stumbled across not long ago: github.com/benvp/ex_cva - I haven't used this project, but I did love the idea of a CVA. Might offer some inspiration too.
github.comGitHub - benvp/ex_cva: Class Variance Authority for ElixirClass Variance Authority for Elixir. Contribute to benvp/ex_cva development by creating an account on GitHub.