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:ringcolor and shadow. I'm using the most not "clear", writing it directly inapp.cssfile. Is there a way to make these changes fromtailwind.config.jsfile ??Is there a method to customize default styles for
@tailwindcss/formsplugin? In my specific situation, I need to modify thefocus:ringcolor and shadow. Currently, I'm not entirely clear on the most effective approach, as I'm directly editing theapp.cssfile. Is it possible to implement these changes from thetailwind.config.jsfile?Thank you ! ❤️
Beta Was this translation helpful? Give feedback.
All reactions