Skip to content
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

v4 swatches not displayed when referring variables #1102

Open
jeannen opened this issue Nov 30, 2024 · 0 comments
Open

v4 swatches not displayed when referring variables #1102

jeannen opened this issue Nov 30, 2024 · 0 comments

Comments

@jeannen
Copy link

jeannen commented Nov 30, 2024

What version of VS Code are you using?
Cursor, and not sure where to see this

What version of Tailwind CSS IntelliSense are you using?
v0.13.59 (pre-release)

What version of Tailwind CSS are you using?
v4.0.0-alpha.34

What package manager are you using?
npm

What operating system are you using?
macOS

Describe your issue

Color swatches are not displaying when referring to variables from the main config file. It worked fine with Tailwind v3.

main.css

    --color-test-500: #ff0000; 
    --color-primary-500: var(--color-indigo-50);

index.html

<div class="bg-text-500">Swatch displays</div>
<div class="bg-primary-500">Swatch doesn't displays</div>

The auto-suggest works fine however, it's just the color swatch

@jeannen jeannen changed the title v4 v4 swatches not displayed when referring variables Nov 30, 2024
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

No branches or pull requests

1 participant