Skip to content
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

Add duotone support #21

Open
ingeniumed opened this issue Aug 10, 2023 · 1 comment
Open

Add duotone support #21

ingeniumed opened this issue Aug 10, 2023 · 1 comment

Comments

@ingeniumed
Copy link
Contributor

Since we have verified that duotone support is not there, this has been made to add that in. What needs to be done is that, CSS has to be injected onto the page to get duotone values as styles that can be applied.

@ingeniumed
Copy link
Contributor Author

I experimented with this more and it turns out there's an SVG mask that's required. Injecting this along with the CSS properties didn't really get it to work. I verified in Duotone.js if it was picking up these properties and that wasn't the case.

The blockname is not passed in which means it's not block specific, which is something we would need to add support for. For now, this is going to be set aside for the initial launch.

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

No branches or pull requests

1 participant