Replies: 1 comment
-
I believe that's the only solution, overriding the default plugin styles in the [type='text'],
[type='email'],
[type='url'],
[type='password'],
[type='number'],
[type='date'],
[type='datetime-local'],
[type='month'],
[type='search'],
[type='tel'],
[type='time'],
[type='week'],
[multiple],
textarea,
select {
@apply focus:ring-indigo-400 focus:border-indigo-400 rounded-md;
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to customize plugin default styles. For example in my case I have to change the
focus:ring
color and shadow. I'm using the most not "clear", writing it directly inapp.css
file. Is there a way to make these changes fromtailwind.config.js
file ??Is there a method to customize default styles for
@tailwindcss/forms
plugin? In my specific situation, I need to modify thefocus:ring
color and shadow. Currently, I'm not entirely clear on the most effective approach, as I'm directly editing theapp.css
file. Is it possible to implement these changes from thetailwind.config.js
file?Thank you ! ❤️
Beta Was this translation helpful? Give feedback.
All reactions