JohnCoatesOSS / JohnCoatesOSS/SketchKit

.sketch XML Representation

Open
#1 9 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Objective-C
Stars
49
Forks
1
PR merge metrics
No merged PRs in 30d

Description

One of the main reasons for building SketchKit is to make it easier to collaborate on Sketch projects.

Right now if you commit a .sketch file all you get is an opaque binary. What if you change the name of a layer and want to just commit that change? You need to commit another full binary. You're not able to track changes like other projects. I'm working on being able to represent full Sketch documents in XML. The way this will work is that you'll save a Sketch document as .SketchML file (Sketch Markup Language). This will actually be a folder, and inside will be a purely text XML file representing the entire document, as well as an assets folder that contains all raster images.

Any feedback is welcome!

Here's an example of the XML I have so far, representing an oval shape.

```

<borders>
<styleBorder thickness="1" position="0">
<color red="0.592" green="0.592" blue="0.592" alpha="1"/>
</styleBorder>
</borders>







```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.