I am have been trying to get the Supabase theme to work with NextJS and Turborepo. I am able to load the main page, but the tailwindCSS theme doesn’t seem to apply to the page. Wonder if someone could give me some tips. The code is at: https://github.com/aznadmin/nextjs-tailwind-template/tree/feature/add-new-tailwind-theme
To install the packages, run:
cd main/apps/web
pnpm i
turbo dev
I tried to load a generic page (page.tsx) with text with the fg color red, but TailwindCSS doesn’t show the color in the text:
<div className="p-6 max-w-sm mx-auto bg-white rounded-xl shadow-lg flex items-center space-x-4">
<div>
<div class="text-xl font-medium text-black">ChitChat</div>
<p class="text-red-500">You have a new message!</p>
</div>
</div>
aznadmin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.