3.21.0 • Published 3 years ago

lyne-design-tokens v3.21.0

Weekly downloads
965
License
ISC
Repository
github
Last release
3 years ago

Build Status semantic-release GitHub tag (latest SemVer)

Lyne Design Tokens

Automatically generate cross platform Design Tokens for the Lyne Design System based json properties files and publish them as lyne-design-tokens npm package.

Installation

Install the Lyne Design Tokens with the following command:

npm install --save-dev lyne-design-tokens

What's included

lyne-design-tokens/
├── designTokens/                           # Token source files
└── dist/                                   # These files get built through the build task and get published via npm — are part of the npm package
    ├── css/
    │    ├── variables--host.css            # CSS variables with :host selector
    │    └── variables--root.css            # CSS variables with :root selector
    ├── js/
    │    ├── tokens-raw.json                # Nested .json file
    │    ├── tokens.commonjs.js             # Flat commonjs file
    │    ├── tokens.es6.js                  # Flat es6 file
    │    └── tokens.json                    # Flat .json file
    ├── less/                            
    │   └── variables.less                  # Less variables
    └── scss/                            
        ├── variables_css--placeholder.scss # CSS variables with Sass placeholder selector (%)
        └── variables.scss                  # Sass variables

Usage

Have a look at the dist folder inside node_modules: ./node_modules/lyne-design-tokens/dist/. There you will find the different variables files which you can import and use in your project.

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:

TRAVIS_TOKEN=XXX

Replace XXX with the according value.

Deployment

TravisCI is building as soon as a branch gets merged into the master branch. After successful linting, the Lyne Design Tokens 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.

3.21.0

3 years ago

3.20.2

3 years ago

3.20.1

3 years ago

3.20.3

3 years ago

3.20.0

3 years ago

3.18.0

3 years ago

3.19.0

3 years ago

3.17.1

3 years ago

3.17.0

3 years ago

3.16.0

3 years ago

3.15.3

3 years ago

3.15.0

3 years ago

3.15.2

3 years ago

3.15.1

3 years ago

3.14.4

3 years ago

3.14.1

3 years ago

3.14.0

3 years ago

3.14.3

3 years ago

3.14.2

3 years ago

3.13.4

3 years ago

3.13.3

3 years ago

3.13.2

3 years ago

3.13.1

3 years ago

3.12.0

3 years ago

3.13.0

3 years ago

3.11.3

3 years ago

3.11.2

3 years ago

3.10.0

3 years ago

3.11.0

3 years ago

3.11.1

3 years ago

3.6.1

3 years ago

3.6.0

3 years ago

3.5.0

3 years ago

3.9.1

3 years ago

3.9.0

3 years ago

3.8.0

3 years ago

3.7.1

3 years ago

3.7.0

3 years ago

3.4.0

3 years ago

3.4.1

3 years ago

3.3.30

3 years ago

3.3.24

4 years ago

3.3.25

4 years ago

3.3.26

4 years ago

3.3.27

4 years ago

3.3.28

4 years ago

3.3.29

4 years ago

3.3.22

4 years ago

3.3.23

4 years ago

3.3.21

4 years ago

3.3.20

4 years ago

3.3.16

4 years ago

3.3.17

4 years ago

3.3.18

4 years ago

3.3.19

4 years ago

3.3.13

4 years ago

3.3.14

4 years ago

3.3.15

4 years ago

3.3.11

4 years ago

3.3.12

4 years ago

3.3.9

4 years ago

3.3.10

4 years ago

3.3.8

4 years ago

3.3.7

4 years ago

3.3.6

4 years ago

3.3.5

4 years ago

3.3.4

4 years ago

3.3.3

4 years ago

3.3.2

4 years ago

3.3.1

4 years ago

3.3.0

4 years ago

3.2.6

4 years ago

3.2.5

4 years ago

3.2.4

4 years ago

3.2.3

4 years ago

3.2.2

4 years ago

3.2.1

4 years ago

3.2.0

4 years ago

3.1.12

4 years ago

3.1.11

4 years ago

3.1.10

4 years ago

3.1.9

4 years ago

3.1.8

4 years ago

3.1.7

4 years ago

3.1.6

4 years ago

3.1.5

4 years ago

3.1.4

4 years ago

3.1.3

4 years ago

3.1.2

4 years ago

3.1.1

4 years ago

3.0.0

4 years ago

3.1.0

4 years ago

2.7.3

4 years ago

2.7.2

4 years ago

2.6.0

4 years ago

2.7.0

4 years ago

2.7.1

4 years ago

2.5.17

4 years ago

2.5.16

4 years ago

2.5.15

4 years ago

2.5.14

4 years ago

2.5.13

4 years ago

2.5.12

4 years ago

2.5.11

4 years ago

2.5.10

4 years ago

2.5.9

4 years ago

2.5.8

4 years ago

2.5.6

4 years ago

2.5.7

4 years ago

2.5.5

4 years ago

2.5.4

4 years ago

2.5.2

4 years ago

2.5.1

4 years ago

2.5.3

4 years ago

2.4.1

4 years ago

2.5.0

4 years ago

2.4.0

4 years ago

2.3.7

4 years ago

2.3.4

4 years ago

2.3.6

4 years ago

2.3.5

4 years ago

2.3.2

4 years ago

2.3.3

4 years ago

2.3.0

4 years ago

2.3.1

4 years ago

2.2.0

4 years ago

2.1.4

4 years ago

2.1.5

4 years ago

2.1.3

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.13.0

4 years ago

1.12.19

4 years ago

1.12.18

4 years ago

1.12.16

4 years ago

1.12.15

4 years ago

1.12.17

4 years ago

1.12.12

4 years ago

1.12.11

4 years ago

1.12.14

4 years ago

1.12.13

4 years ago

1.12.10

4 years ago

1.12.9

4 years ago

1.12.8

4 years ago

1.12.7

4 years ago

1.12.6

4 years ago

1.12.5

4 years ago

1.12.4

4 years ago

1.12.3

4 years ago

1.12.2

4 years ago

1.12.1

4 years ago

1.12.0

4 years ago

1.11.8

4 years ago

1.11.7

4 years ago

1.11.6

4 years ago

1.11.5

4 years ago

1.11.4

4 years ago

1.11.3

5 years ago

1.11.2

5 years ago

1.11.1

5 years ago

1.11.0

5 years ago

1.10.0

5 years ago

1.9.1

5 years ago

1.9.0

5 years ago

1.8.0

5 years ago

1.7.0

5 years ago

1.6.0

5 years ago

1.5.0

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago