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

Still doesn't work Sketch 49.3 #9

Open
nickf352 opened this issue Apr 22, 2018 · 3 comments
Open

Still doesn't work Sketch 49.3 #9

nickf352 opened this issue Apr 22, 2018 · 3 comments

Comments

@nickf352
Copy link

A Google search resulted in me coming to this Github page to be met with an unsupported plugin that has ceased working.

@blakeperdue
Copy link

Anyone have a replacement or a way to fix this in latest sketch?

@skipjack
Copy link

Anyone have a replacement or a way to fix this in latest sketch?

Not a great one, but here's one approach that's similar to the CSS hack used to achieve this effect:

image

I think someone more familiar with writing Sketch plugins than I am could easily write something to automatically generate all the shadows (which you could then turn into a style). There is a downside to this approach in that opacity won't work so you must explicitly choose the shadow's color.

The other approach (and maybe better) is to simply create a new shape as shown in these articles:

I think the latter approach is what this plugin did automatically.

@skipjack
Copy link

skipjack commented Mar 25, 2020

There is a downside to this approach in that opacity won't work so you must explicitly choose the shadow's color.

Opacity actually does work if you wrap the shadow layer in a group and change the group's opacity. Took a little more fiddling around to get this to work. The annoying part is creating all the shadow's by hand initially (though once you do that you can make it layer style and reuse it everywhere).

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

3 participants