Skip to content

brainly/html-sketchapp-style-guide

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

html-sketchapp-style-guide

Script that uses brainly/html-sketchapp to import brainly/style-guide into Sketch.

This script produces a page.asketch.json and document.asketch.json files that can be loaded to Sketch via brainly/html-sketchapp plugin.

How do I run it?

npm i # installs dependencies
npm run build # builds script that gets injected into a page and the page itself with all style gudie elements
npm run inject # produces document.asketch.json and page.asketch.json files

Created *.asketch.json files can then be loaded into Sketch using the brainly/html-sketchapp plugin.

Updating Style Guide

  • package.json - jsx components
  • Head.jsx - styles and icons

Releases

No releases published

Packages

No packages published