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

LayerStyles / Appearance API #466

Open
wfortin opened this issue Jan 10, 2020 · 3 comments
Open

LayerStyles / Appearance API #466

wfortin opened this issue Jan 10, 2020 · 3 comments

Comments

@wfortin
Copy link

wfortin commented Jan 10, 2020

Hi, I'm trying to generate our color palette in sketch with react-sketchapp, from the documentation react-sketchapp supports Symbols and TextStyles, what about layer styles?

Example:
I can run the color palette example, but each element of the palette only has direct styles applied to it, I'd like to use layer styles like this 👇
image

Any pointers would be appreciated, otherwise I guess I'll have to use sketch's low level api?

@mathieudutour
Copy link
Collaborator

Shared layers styles aren't supported but it shouldn't be too hard to add support for them I think.

@NoobsArePeople2
Copy link

@mathieudutour This is something I'm interested in adding. Can you offer some guidance on how to get started on adding this feature?

@macintoshhelper
Copy link
Contributor

@NoobsArePeople2 I'd suggest using Kactus and checking the git diff between the same document without a layer style, and with one. https://kactus.io/ (commit the file before/after). You can check sketch-file-format-ts too for the file format types (TypeScript).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants