Create a StylableSwiftUI stylist implementation from a Sketch file. Sketch -> SwiftUI
- Clone this repository
- Run
npm i
- Clone this repo to your local machine using
https://github.com/design-ops/sketch-to-swiftUI
Install dependencies first
$ brew install fonttools
now install npm packages
$ npm install
- Extracts layer styles, text styles and assets from a Sketch file.
- Allows output of assets to be in PDF form or SVG
npm run convert ${path-to-sketch-file.sketch}
or if you want your assets as SVG:
npm run convert -- ${path-to-sketch-file.sketch} --svg
- Atomic design principles
To get started...
-
Option 1
- 🍴 Fork this repo!
-
Option 2
- 👯 Clone this repo to your local machine as shown above
- HACK AWAY! 🔨🔨🔨
- 🔃 Create a new pull request using
https://github.com/design-ops/sketch-to-swiftui/compare/
.
See the LICENSE file.