benjamincanac / ui3

A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.
https://ui.nuxt.com
MIT License
52 stars 7 forks source link

feat: handle sizes dynamically #52

Closed sandros94 closed 5 months ago

sandros94 commented 7 months ago

⚠️ Highly experimental PR!

The main reason why I'm opening this draft PR is to use it as a personal backlog. What I'm aiming at with this is to both expand all the sizing declarations as well as handling them dynamically within each component.

In my point of view the developer that uses the library should be able to use all the sizes available from Tailwind CSS (from size-0 all the way up to size-96), either by changing the class of the root element or using a size prop.

Roadmap

sandros94 commented 5 months ago

Canceling this since it introduces inconsistencies based on actual font size, that would require additional logic outside the scope of this library.