Skip to content

Hide default shadow suggestions when missing theme keys #17743

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

Merged
merged 3 commits into from
Apr 22, 2025

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