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

Certain tw classes are not working in the playground #615

Open
wjthieme opened this issue May 18, 2024 · 0 comments
Open

Certain tw classes are not working in the playground #615

wjthieme opened this issue May 18, 2024 · 0 comments

Comments

@wjthieme
Copy link

wjthieme commented May 18, 2024

In the playground the following works:

<div tw="w-full h-full bg-rose-500" />

But 950 color classes don't even though they are valid tw colors:

<div tw="w-full h-full bg-rose-950" />

Gradients also do not seem to work:

<div tw="w-full h-full bg-gradient-to-t from-rose-500 via-sky-500 to-rose-500" />

Another class that I have observed to not be working is gap.

Custom tw background-sizes also do not seem to be working (when having the tw config supplied to satori)

// tw config:
backgroundSize: {
  lg: "500% 500%",
}

<div tw="w-full h-full bg-lg" />

In the logs I can see the following errors for these tw classes: 'rose-950' unknown or invalid utility

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 a pull request may close this issue.

1 participant