Skip to content

Added docs for utility-scoped custom colors #2247

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rozsazoltan
Copy link
Contributor

@rozsazoltan rozsazoltan commented May 13, 2025

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 */
}

Copy link

vercel bot commented May 13, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant