Skip to content

Hide default shadow suggestions when missing theme keys#17743

Merged
thecrypticace merged 3 commits intomainfrom
fix/shadow-suggestions-without-theme-keys
Apr 22, 2025
Merged

Hide default shadow suggestions when missing theme keys#17743
thecrypticace merged 3 commits intomainfrom
fix/shadow-suggestions-without-theme-keys

Conversation

@thecrypticace
Copy link
Contributor

Right now if you have a completely empty theme we'll still suggest shadow, inset-shadow, and text-shadow as utilities even tho they won't exist. This fixes this by checking for the theme key when computing the suggestions.

@thecrypticace thecrypticace requested a review from a team as a code owner April 22, 2025 13:23
@thecrypticace thecrypticace merged commit ee0d752 into main Apr 22, 2025
7 checks passed
@thecrypticace thecrypticace deleted the fix/shadow-suggestions-without-theme-keys branch April 22, 2025 13:30
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.

2 participants