This script produces a
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
*.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