unocss-preset-forms icon indicating copy to clipboard operation
unocss-preset-forms copied to clipboard

refactor: limit attribute rules to input element

Open meiraleal opened this issue 1 year ago • 1 comments

Currently the rules for styling the inputs are too broad and may conflict with web components that use props named type or mutiple. This PR address this issue by using :where to select only inputs without change the specificity.

meiraleal avatar Jun 11 '24 14:06 meiraleal

Thanks

Since unocss-preset-forms is a dumb port of the tailwind library, let's wait until https://github.com/tailwindlabs/tailwindcss-forms/pull/159 is merged before making the same changes

Julien-R44 avatar Sep 30 '24 17:09 Julien-R44