#[Solved] text color in the input field and text area
29 messages ยท Page 1 of 1 (latest)
so everyone replies at their own time, don't expect quick answers
if you started a next project with create-next-app you probably left the globals.css in there, remove that and you should be able to see the right colors
but im using the global.css file i have some styles in there
then you need to adjust your styles manually so the issue doesn't happen
i don't understand... is there an article or a video explaining my issue ?
No. Your globals are overwriting your form styles. You need to update them to fix the issue. Meaning you need to modify or write CSS manually.
ok ty
you can do that directly at the component using styles={{color: "white !important"}}
This could work as a temporary fix until you fix your global.css but keep in mind use of !important is discouraged @turbid pendant
thanks guys i tried and still didnt work i moved on from that project and finished it now im making a fresh one with nextui and react and its pain xd
the styles are just so confusing i cant use my tailwind right or custom media query in my css file maybe because im new to nextui and that kind of frameworks that gives you ready to use comps
Why are using both tailwind and next ui ๐ค
I personally wouldn't do that it recommend that but it's your project.
And yes add [Solved] before the name of this post because this is solved post
im using tailwind cuz i always make projects with it and this is my first time using ready to use comps and im learning thats why prob , i will mark as solved
[Solved] text color in the input field and text area
can u help me with another small issue im having
hh ok
so why media querys in nextui kind work backwords so if i put smth in xs and it will work on largers screen not smaller
and how do i overwrite them to my own custom widths
okay no problem thank you
But you shouldn't need media queries
In my opinion if you are using a front end framework you don't need to change css at all, it's made to be ready to use
yes thats what im trying to do
xs means you use min-width, so all screens from small to larger will apply that style until you specify another breakpoint. If you want to specify for a smaller from your breakpoint, use xsMax instead. You can read more about media here.
https://nextui.org/docs/theme/media
*cmiiw
NextUI provides out of the box Stitches utilities.