-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat: convertColors plugin ignore currentColor in 'mask' elements #2032
Conversation
Hey hey! Thanks for submitting a pull request! Rather than adding the param, imo the plugin should just internally ignore masks for the This was a use-case that was overlooked when the option was added, but I don't see a use-case to convert a mask to An issue with this solution is that it calls A better way to approach it would be to declare a counter at the top that increments when an open How does that sound to you? If you have any feedback or want guidance, feel free to ask! |
Hello! Thanks for your reply, it sounds good to me! I also think that there is no use case for |
Hello @SethFalco I updated the PR, now it seems working great 😃 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! I've raised a minor issues with the types/defensive checks, but the logic is sound.
Co-authored-by: Seth Falco <[email protected]>
Awesome, thank you very much for the contribution! This will be releases in v4.0.0-rc.1, and eventually v4.0.0. |
convertColors
plugin ignorecurrentColor
inmask
elements since it makes them not working properlyfixes #2031