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 shadow styles for Safari #201

Open
gissoo opened this issue May 16, 2023 · 1 comment
Open

Add shadow styles for Safari #201

gissoo opened this issue May 16, 2023 · 1 comment
Assignees

Comments

@gissoo
Copy link
Contributor

gissoo commented May 16, 2023

Rebecca's notes on shadow styles supported by Safari:

docs: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDropShadow), and in a quick test and i found that Safari does render this.

Gissoo to create an SVG export from Figma that has all the drop shadow filter definitions needed (one for each leaf color, one for plaque hover, one for plaque selected).

@rlskoeser
Copy link
Contributor

Note that it should be feasible to apply svg filters using css. See https://www.stefanjudis.com/today-i-learned/svgs-filters-can-be-inlined-in-css/

So if we can create the filters we want, it should not be too much additional work to adjust the CSS to use svg filters. We'll have to test on the various browsers to make sure this change doesn't introduce new problems, though.

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

2 participants