这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@eric-hjh
Copy link
Contributor

Description

Tailwind CSS v4 uses the --color-* convention for custom properties.

In the current example file at
examples/with-tailwind/packages/tailwind-config/shared-styles.css,
the custom color variables do not use the --color- prefix, which causes them not to work correctly with Tailwind v4.

This PR updates the variable names to follow the correct naming convention, allowing them to be used properly with Tailwind's color system.

Before:

@theme {
  --blue-1000: #2a8af6;
  --purple-1000: #a853ba;
  --red-1000: #e92a67;
}

After:

@theme {
  --color-blue-1000: #2a8af6;
  --color-purple-1000: #a853ba;
  --color-red-1000: #e92a67;
}

@eric-hjh eric-hjh requested a review from a team as a code owner July 13, 2025 09:29
@turbo-orchestrator turbo-orchestrator bot added area: examples Improvements or additions to examples needs: triage labels Jul 13, 2025
@vercel
Copy link
Contributor

vercel bot commented Jul 13, 2025

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

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 13, 2025 9:29am
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 13, 2025 9:29am
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 13, 2025 9:29am
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 13, 2025 9:29am
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 13, 2025 9:29am

@vercel
Copy link
Contributor

vercel bot commented Jul 13, 2025

@eric-hjh is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@anthonyshew anthonyshew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@anthonyshew anthonyshew merged commit 40dff7b into vercel:main Jul 14, 2025
28 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: examples Improvements or additions to examples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants