Skip to content

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
thecrypticace added a commit that referenced this pull request Apr 22, 2025
…#17733)

Fixes
tailwindlabs/tailwindcss-intellisense#1328

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.

This is the same as #16433 but for `@utility` since we apparently missed
this when emitting suggestions for it
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

3 participants