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

Don’t replace _ in suggested theme keys #16433

Merged
merged 3 commits into from
Feb 11, 2025

Conversation

thecrypticace
Copy link
Contributor

@thecrypticace thecrypticace commented Feb 11, 2025

Fixes tailwindlabs/tailwindcss-intellisense#1184

The alpha and beta releases used _ in theme keys to represent a .. This meant we used --leading-1_5 instead of --leading-1\.5 to add utilities like leading-1.5. We prefer the use of the escaped dot now but still want to make sure suggestions for the legacy key format still works as expected when surrounded by numbers.

@thecrypticace thecrypticace force-pushed the feat/v4-underscore-theme-key-suggestions branch from 3fc4d9f to 4f06708 Compare February 11, 2025 15:07
@thecrypticace thecrypticace marked this pull request as ready for review February 11, 2025 15:36
@thecrypticace thecrypticace requested a review from a team as a code owner February 11, 2025 15:36
Base automatically changed from fix/v4-fraction-suggestions to main February 11, 2025 17:03
@thecrypticace thecrypticace force-pushed the feat/v4-underscore-theme-key-suggestions branch from 485ef8d to 5d6f195 Compare February 11, 2025 17:05
@thecrypticace thecrypticace merged commit ff8fd8c into main Feb 11, 2025
5 checks passed
@thecrypticace thecrypticace deleted the feat/v4-underscore-theme-key-suggestions branch February 11, 2025 18:14
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.

v4 intellisense suggests dot instead of underscore in color names
2 participants