镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Added docs for utility-scoped custom colors - #2247

Closed
rozsazoltan wants to merge 1 commit into
tailwindlabs:mainfrom
rozsazoltan:color-for-specific-utilities
Closed

rozsazoltan wants to merge 1 commit into
tailwindlabs:mainfrom
rozsazoltan:color-for-specific-utilities

Conversation

@rozsazoltan

@rozsazoltan rozsazoltan commented May 13, 2025 •

Copy link
Copy Markdown
Contributor

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

@vercel

vercel Bot commented May 13, 2025 •

Copy link
Copy Markdown

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

@rozsazoltan

Copy link
Copy Markdown
Contributor Author

Duplicated: #2178

@philipp-spiess

Copy link
Copy Markdown
Contributor

Hey! Going to also close this for the same reason as the other PR: #2178 (comment)

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!

This branch was successfully deployed

1 active deployment
Preview — 743d26bd Deployed May 13, 2025 by vercel[bot]
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.

2 participants