3.0.6 • Published 4 months ago

@volue/design-colors v3.0.6

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
4 months ago

design-colors

Color primitives/tokens to be used across Volue's products

Screenshot

Installation

npm install @volue/design-colors --save

Usage

JavaScript

In JavaScript, design token names are formatted in lower camelCase.

const tokens = require('@volue/design-colors');
console.log(tokens.colorBlue100); // rgb(0, 0, 0)

In JSON, design token names are formatted in SNAKE_CASE.

const tokens = require('@volue/design-colors/dist/index.json');
console.log(tokens['COLOR_BLACK']); // rgb(0, 0, 0)

Sass

Sass variables and map keys are formatted in kebab-case.

// Using variables
@import '~@volue/design-colors/dist/index';

a {
  color: $color-accent120;
}
3.0.7-next.3

4 months ago

3.0.7-next.1

5 months ago

3.0.7-next.2

5 months ago

3.0.7-next.0

6 months ago

3.0.6

7 months ago

3.0.6-next.3

7 months ago

3.0.6-next.2

7 months ago

3.0.6-next.1

7 months ago

3.0.6-next.0

7 months ago

3.0.5

9 months ago

3.0.5-next.3

9 months ago

3.0.5-next.2

10 months ago

3.0.5-next.1

10 months ago

3.0.5-next.0

11 months ago

3.0.4-next.2

1 year ago

3.0.4-next.3

12 months ago

3.0.4

12 months ago

3.0.4-next.1

1 year ago

3.0.4-next.0

1 year ago

3.0.3

1 year ago

3.0.3-next.2

1 year ago

3.0.3-next.1

1 year ago

3.0.3-next.0

2 years ago

3.0.2-next.2

2 years ago

3.0.2

2 years ago

3.0.2-next.1

2 years ago

3.0.0-next.2

2 years ago

3.0.0-next.1

2 years ago

3.0.0-next.4

2 years ago

3.0.2-next.0

2 years ago

3.0.0-next.3

2 years ago

3.0.0-next.0

2 years ago

3.0.0-next.6

2 years ago

3.0.0-next.5

2 years ago

3.0.0-next.8

2 years ago

3.0.0-next.7

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

3.0.1-next.0

2 years ago

3.0.1-next.1

2 years ago

2.0.4-next.0

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.2-next.3

2 years ago

2.0.3-next.0

2 years ago

1.4.0-next.1

2 years ago

1.4.0-next.2

2 years ago

1.4.0-next.0

2 years ago

2.0.2-next.2

2 years ago

2.0.0-next.0

2 years ago

2.0.2-next.0

2 years ago

2.0.1

2 years ago

2.0.2-next.1

2 years ago

2.0.0

2 years ago

2.0.1-next.0

2 years ago

1.3.1-next.2

3 years ago

1.3.1-next.1

3 years ago

1.3.1-next.3

3 years ago

1.3.0

3 years ago

1.3.1-next.0

3 years ago

1.3.0-next.25

3 years ago

1.3.0-next.27

3 years ago

1.3.0-next.26

3 years ago

1.3.0-next.24

3 years ago

1.3.0-next.23

3 years ago

1.3.0-next.18

3 years ago

1.3.0-next.17

3 years ago

1.3.0-next.19

3 years ago

1.3.0-next.21

3 years ago

1.3.0-next.20

3 years ago

1.3.0-next.22

3 years ago

1.3.0-next.16

3 years ago

1.3.0-next.15

3 years ago

1.3.0-next.14

3 years ago

1.3.0-next.13

3 years ago

1.3.0-next.10

4 years ago

1.3.0-next.12

4 years ago

1.3.0-next.11

4 years ago

1.3.0-next.7

4 years ago

1.3.0-next.8

4 years ago

1.3.0-next.9

4 years ago

1.3.0-next.6

4 years ago

1.3.0-next.2

4 years ago

1.3.0-next.3

4 years ago

1.3.0-next.4

4 years ago

1.3.0-next.5

4 years ago

1.3.0-next.0

4 years ago

1.3.0-next.1

4 years ago

1.2.5-next.1

4 years ago

1.2.5-next.0

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.1-next.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago