Giter Site home page Giter Site logo

lyne-icons's Introduction

Build Status semantic-release GitHub tag (latest SemVer)

Lyne Icons

Automatically generate SVG Icons for the Lyne Design System based on the Figma Lyne Icon Library:

Installation

Install the Icons with the following command:

npm install --save-dev lyne-icons

Usage

Have a look at the dist folder inside node_modules: ./node_modules/lyne-icons/dist/. There you will find a folder containing all the icons and a json file which will list all icons with their name, id and the svg contents.

Development

Conventional Commits

Please follow the Conventional Commits specification to make sure we can automatically determine the next release version if necessary.

Env Variables

To test and develop the workflow on your local machine, you need to setup an .env file in the root directory of the project with the following content:

FIGMA_ACCESS_TOKEN=XXX
FIGMA_ICONS_FILE_ID=XXX
TRAVIS_TOKEN=XXX

Deployment

The TravisCI job to build and deploy the Icons will be triggered as soon as the Figma Team Library file for the Icons got changed and published. In this case, the configured Figma Webhook will fire a request to the Express Server hosted on Heroku (https://powerful-harbor-93786.herokuapp.com/). After the Express Server has verified that the request comes from the corresponding Figma file, it will trigger the Travis build via API.

Furthermore, TravisCI is building as soon as a branch gets merged into the master branch. After successful linting, the Lyne Icons package will be published to npm. You can find the package on npm here.

After successful build, the job for lyne-components will be triggered.

lyne-icons's People

Contributors

feerglas avatar dependabot[bot] avatar semantic-release-bot avatar mbleuer avatar jeripeiersbb avatar lyne-bot avatar lyne-org avatar kyubisation avatar 4aficiona2 avatar

Stargazers

 avatar

Watchers

 avatar  avatar James Cloos avatar  avatar  avatar  avatar  avatar

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.