This repo uses the concepts used in NodCards as a use-case for when and how such an approach could be really valuable. Full article: https://blog.logrocket.com/applying-dynamic-styles-tailwind-css/