Skip to content
#

Sketch

sketch logo

Sketch is a digital design toolkit built for designers, intended for editing vector graphics in macOS. It is used primarily for user interface and icon design.

Here are 884 public repositories matching this topic...

wfortin
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](https://user-images.githubusercontent.com/2165256/7216

gerardabello
gerardabello commented Jul 1, 2019

In the documentation for Editable input:

onChange - Function callback. Use this to call the onChange function of the parent. Returns an object where the key is the label and the value is the new value.

It is not clear what will happen if I don't provide a label. In 2.14 the onChange received the value instead of an object if no label was provided. I just upgraded to 2.17 and this behavior

kevinwuhoo
kevinwuhoo commented Jun 30, 2017

Sometimes I want to run this from the command line. It usually happens when I don't commit to the repo constantly and then I want to generate pretty diffs for a bunch of sketch files at once. This could also potentially allow people to use it as a pre-commit hook.

If you think it's useful, I can take a crack at adding some documentation into docs/ and try to get it to read from the preference

lauriejones
lauriejones commented Nov 1, 2019

When a text element has child elements like a link or span, and needs to wrap, the text layers are placed on top of one another.

html-sketchapp version: 4.3.0

minimal example:

<p>
  <a href="/contact-us">Visit our Contact Us page</a> to find retail centres, opening hours and more.
</p>

I've seen the same behaviour with divs and spans too:

<div>
 

Created by Pieter Omvlee

Released September 7, 2010

Organization
BohemianCoding
Website
www.sketchapp.com
Wikipedia
Wikipedia
You can’t perform that action at this time.