Code Monkey home page Code Monkey logo

google-spreadsheets-theo-demo's Introduction

Design tokens (demo project)

Quick start

  1. Create a new repository from google-spreadsheets-theo-demo (or click the “Use this template” button on GitHub)

  2. Clone the repository and install the dependencies:

    git clone https://github.com/<your-github-username>/google-spreadsheets-theo-demo.git
    cd google-spreadsheets-theo-demo
    yarn
    
  3. Edit tokens in the spreadsheet

  4. Run yarn build-tokens

This should appear:

yarn build-tokens
yarn run v1.12.3
$ yarn clean
$ rimraf tokens
$ node ./build-tokens.js
✔ Design tokens written to ./tokens/colors.scss
✔ Design tokens written to ./tokens/colors.common.js
✔ Design tokens written to ./tokens/colors.android.xml
✔ Design tokens written to ./tokens/colors.ios.json
✔ Design tokens written to ./tokens/spacing.scss
✔ Design tokens written to ./tokens/spacing.common.js
✔ Design tokens written to ./tokens/spacing.android.xml
✔ Design tokens written to ./tokens/spacing.ios.json
✨  Done in 2.29s.

The design tokens in ./tokens/ should be updated.

google-spreadsheets-theo-demo's People

Contributors

dependabot[bot] avatar kaelig avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

google-spreadsheets-theo-demo's Issues

yarn build-tokens error: UnhandledPromiseRejectionWarning

got this:

➜  google-spreadsheets-theo-demo git:(master) yarn build-tokens
yarn run v1.16.0
$ node ./build-tokens.js
(node:22393) UnhandledPromiseRejectionWarning: Error: Fetching tokens failed.
    at module.exports (/Users/myusername/github/google-spreadsheets-theo-demo/node_modules/google-spreadsheets-theo/index.js:30:11)
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
(node:22393) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:22393) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
✨  Done in 2.27s.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.