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

Inset ring color classes have incorrect names in API table #1988

Closed
dcastil opened this issue Jan 24, 2025 · 1 comment
Closed

Inset ring color classes have incorrect names in API table #1988

dcastil opened this issue Jan 24, 2025 · 1 comment

Comments

@dcastil
Copy link
Contributor

dcastil commented Jan 24, 2025

On the page https://tailwindcss.com/docs/box-shadow the API table shows following classes:

…

shadow-black | --tw-shadow-color var(--color-black); /* #000 */
shadow-white | --tw-shadow-color var(--color-white); /* #fff */
…

inset-shadow-black | --tw-inset-shadow-color var(--color-black); /* #000 */
inset-shadow-white | --tw-inset-shadow-color var(--color-white); /* #fff */
…

ring-black | --tw-ring-color: var(--color-black); /* #000 */
ring-white | --tw-ring-color: var(--color-white); /* #fff */
…

ring-black | --tw-inset-ring-color: var(--color-black); /* #000 */
ring-white | --tw-inset-ring-color: var(--color-white); /* #fff */
…

The last two classes from this example should probably be inset-ring-black and inset-ring-white, together with all the following classes.

@adamwathan
Copy link
Member

Just pushed a fix, thanks!

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

2 participants