unocss-preset-forms
unocss-preset-forms copied to clipboard
refactor: limit attribute rules to input element
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.
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