I've copied directly from the document, but the color is still not showing up. I'm using Tailwind v4 with Next.js.
In my global.css:
@import "tailwindcss";
@theme {
--color-bermuda: #78dcca;
}
In my layout.jsx:
import "./globals.css";
export default function RootLayout({ children }) {
return (
<html lang="en">
<body className="bg-bermuda"> // <--------- here
<Navbar />
<div className="px-12">{children}</div>
</body>
</html>
);
}
My postcss.config.mjs:
const config = {
plugins: ["@tailwindcss/postcss"],
};
export default config;
Additionally, it doesn't look like the color is being picked up by tailwind inside the css file (usually it's represented by a non-white color):
Please help, thank you!

postcss.config.mjsfile look like? Did you install the@tailwindcss/postcssplugin as the docs suggest? tailwindcss.com/docs/installation/framework-guides/nextjs@plugin,@custom-variant,@theme,@utility,@variant,@apply,@source,@referencein global.css