Tailwind CSS + Nextjs
Answered
Cursinu posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/4.png)
CursinuOP
Just started using nextjs got it to work somewhat but forsome reason i cant seem to get the
1. i have played around with lots of configs.
2. I have looked at offical docs for Tailwind & nextjs and cant get it to work with there base info.
https://github.com/Grasume/titex
<h1 class="text-3xl font-bold underline text-white-300">Hello world!</h1>
text-white-300 to work. Im not sure if its something im missing i have a docker section and even taking docker out of the equation it still does not seem to turn the text white. export default function Home() {
return (
<h1 className="text-3xl font-bold underline text-white-300">
Hello world!
</h1>
)
}
1. i have played around with lots of configs.
2. I have looked at offical docs for Tailwind & nextjs and cant get it to work with there base info.
https://github.com/Grasume/titex
Answered by KINXZ
There is no text-white-300 in tailwind
https://tailwindcss.com/docs/text-color
what you are looking for might be text-neutral-300
https://tailwindcss.com/docs/text-color
what you are looking for might be text-neutral-300
2 Replies
![Avatar](https://cdn.discordapp.com/avatars/162944957454221313/1b563de6b1b5fe84fc2073384fb7cc2c.webp?size=256)
KINXZ
There is no text-white-300 in tailwind
https://tailwindcss.com/docs/text-color
what you are looking for might be text-neutral-300
https://tailwindcss.com/docs/text-color
what you are looking for might be text-neutral-300
Answer
![Avatar](https://cdn.discordapp.com/embed/avatars/4.png)
CursinuOP
@KINXZ i feel dumb thanks prob threw me off since there is a text-white just no number options which in retro makes sense lol