Skip to content

Fix drop shadow filters with multiple shadows #17515

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 4 commits into from
Apr 3, 2025

Conversation

thecrypticace
Copy link
Contributor

@thecrypticace thecrypticace commented Apr 2, 2025

It seems that I broke support for multiple drop-shadow filters when @theme inline was used in v4.1. This PR fixes that by segmenting the drop shadow value on top-level commas and wrapping each segment with drop-shadow(…) like we did in v4.0.

wip

wip
@thecrypticace thecrypticace force-pushed the fix/multiple-drop-shadow-filters branch from 4ff0ff9 to 5f9bd8f Compare April 2, 2025 17:09
@thecrypticace thecrypticace requested a review from reinink April 2, 2025 17:15
@thecrypticace thecrypticace marked this pull request as ready for review April 2, 2025 17:15
@thecrypticace thecrypticace requested a review from a team as a code owner April 2, 2025 17:15
Copy link
Member

@philipp-spiess philipp-spiess left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change LGTM but let's make sure to add an example for this to the UI specs for shadows I think

@thecrypticace thecrypticace enabled auto-merge (squash) April 3, 2025 14:37
@thecrypticace thecrypticace merged commit e45302b into main Apr 3, 2025
7 checks passed
@thecrypticace thecrypticace deleted the fix/multiple-drop-shadow-filters branch April 3, 2025 14:37
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