@volue/design-colors 3.0.0-next.6 → 3.0.0-next.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/flat.common.js +231 -207
- package/dist/flat.d.ts +212 -196
- package/dist/flat.module.js +169 -153
- package/dist/generic.common.js +581 -465
- package/dist/generic.d.ts +379 -323
- package/dist/generic.module.js +581 -465
- package/dist/index.common.js +125 -115
- package/dist/index.cssmodules.css +106 -98
- package/dist/index.custom-properties.css +107 -99
- package/dist/index.d.ts +125 -115
- package/dist/index.json +106 -98
- package/dist/index.map.scss +107 -99
- package/dist/index.module.js +125 -115
- package/dist/index.scss +107 -99
- package/dist/internal/fillsWithTextColors.json +3 -161
- package/package.json +2 -2
- package/src/core.json +8 -8
- package/src/datavis.json +12 -12
- package/src/functional.json +118 -85
- package/src/internal/fills.json +3 -27
- package/src/rgb-channels.json +122 -122
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ Tokens are exported as nested object structure.
|
|
|
20
20
|
```js
|
|
21
21
|
const tokens = require('@volue/design-colors');
|
|
22
22
|
console.log(tokens.core.blue100); // rgb(0, 133, 159)
|
|
23
|
-
console.log(tokens.background.
|
|
23
|
+
console.log(tokens.background.neutral.default);
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
#### Flat tokens
|
|
@@ -30,7 +30,7 @@ Use `flat` entrypoint to consume flattened tokens:
|
|
|
30
30
|
```js
|
|
31
31
|
const tokens = require('@volue/design-colors/flat');
|
|
32
32
|
console.log(tokens.colorBlue100);
|
|
33
|
-
console.log(tokens.
|
|
33
|
+
console.log(tokens.backgroundNeutralSubtle);
|
|
34
34
|
```
|
|
35
35
|
|
|
36
36
|
### JSON
|