SketchAPI icon indicating copy to clipboard operation
SketchAPI copied to clipboard

The JavaScript plugin library embedded in Sketch

Results 105 SketchAPI issues
Sort by recently updated
recently updated
newest added

It is currently impossible to add a pattern fill with one of the available pattern/noises images available. It would be nice to be able to add them just like: ```...

I don't know if this is something that we should just add to the documentation or if we should implement a function to do it. in order to remove a...

It is currently impossible to set the general opacity for the fill. This is not noticeable for default color fills, as the general opacity and the color opacity are the...

Similarly to the Opacity, this option is not currently available in the APIs: Currently, it is possible to set them only via: `layer.style.sketchObject.fills()[1].contextSettings().setBlendMode(13);` It would be nice to have something...

The properties are not currently available in the APIs. I created a function to handle them, but it would be nice to have some better management for this. Here's my...

It would be nice to be able to update the styles list in a simpler way. This is what I have to do right now (an example with Layer styles):...

In order to apply a style to a layer, we need the Style ID, but we usually know the Name. It is pretty annoying to search for the ID and...

APIs for handling the corner radius are currently missed. I don't know how to set the corner radius type. To set the corner radius value the current way is: ```...

The Sketch document name is not available in the current implementation. The only way to find it is currently via: ``` var sketch = require("sketch"); var document = sketch.getSelectedDocument(); if...