Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

lvmh-clienteling/sketch-to-swiftUI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sketch to SwiftUI

Create a StylableSwiftUI stylist implementation from a Sketch file. Sketch -> SwiftUI

Installation

  • Clone this repository
  • Run npm i

Clone

  • Clone this repo to your local machine using https://github.com/design-ops/sketch-to-swiftUI

Setup

Install dependencies first

$ brew install fonttools

now install npm packages

$ npm install

Features

  • Extracts layer styles, text styles and assets from a Sketch file.
  • Allows output of assets to be in PDF form or SVG

Usage (Optional)

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

Documentation (Optional)

  • Atomic design principles

Contributing

To get started...

Step 1

  • Option 1

    • 🍴 Fork this repo!
  • Option 2

    • 👯 Clone this repo to your local machine as shown above

Step 2

  • HACK AWAY! 🔨🔨🔨

Step 3


License

See the LICENSE file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.3%
  • Swift 7.7%