tailwindcss.com icon indicating copy to clipboard operation
tailwindcss.com copied to clipboard

Added docs for utility-scoped custom colors

Open rozsazoltan opened this issue 8 months ago • 2 comments

At first, I felt it was missing from the Theme documentation page, but I ended up adding it to the Colors section instead, as the first subsection under customization.

@theme {
  --background-color-midnight: #121063; /* for only bg-midnight */
  --text-color-tahiti: #3ab7bf;         /* for only text-tahiti */
  --border-color-bermuda: #78dcca;      /* for only border-bermuda */
}

rozsazoltan avatar May 13 '25 07:05 rozsazoltan

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tailwindcss-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 13, 2025 7:48am

vercel[bot] avatar May 13 '25 07:05 vercel[bot]

Duplicated: #2178

rozsazoltan avatar Jun 25 '25 15:06 rozsazoltan

Hey! Going to also close this for the same reason as the other PR: https://github.com/tailwindlabs/tailwindcss.com/pull/2178#issuecomment-3281277063

Thanks for understanding and sorry for the long wait. I know this is not a great experience but we haven't been focusing on the docs much lately – sorry!

philipp-spiess avatar Sep 12 '25 14:09 philipp-spiess