@lmvz-ds/design-tokens 0.15.2 → 0.17.0
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/css/variables.base.css +25 -11
- package/package.json +21 -28
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ Install a Supernova extension for your IDE and connect via an API key (tested wi
|
|
|
32
32
|
|
|
33
33
|
You can use the extension to "sync" tokens from Supernova to the codebase. Pick the Style Dictionary exporter (which should be the default anyway).
|
|
34
34
|
|
|
35
|
-
You can update the themes config with the latest list from Supernova using `
|
|
35
|
+
You can update the themes config with the latest list from Supernova using `pnpm run supernova:describe`;
|
|
36
36
|
|
|
37
37
|
#### TODO
|
|
38
38
|
|
|
@@ -43,7 +43,7 @@ You can update the themes config with the latest list from Supernova using `npm
|
|
|
43
43
|
`cd` into this directory and run:
|
|
44
44
|
|
|
45
45
|
```bash
|
|
46
|
-
|
|
46
|
+
pnpm run build
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
which will create CSS custom properties in the dist folder.
|
|
@@ -8,17 +8,17 @@
|
|
|
8
8
|
--lmvz-component-component-icon-xs-scale: 1rem;
|
|
9
9
|
--lmvz-component-component-icon-borderwidth: 0.125rem;
|
|
10
10
|
--lmvz-component-component-logo-default-height: 2.625rem;
|
|
11
|
-
--lmvz-component-heading-4xl-letter-spacing:
|
|
12
|
-
--lmvz-component-heading-2xl-letter-spacing:
|
|
13
|
-
--lmvz-component-heading-xl-letter-spacing:
|
|
11
|
+
--lmvz-component-heading-4xl-letter-spacing: 0;
|
|
12
|
+
--lmvz-component-heading-2xl-letter-spacing: 0;
|
|
13
|
+
--lmvz-component-heading-xl-letter-spacing: 0;
|
|
14
14
|
--lmvz-component-heading-lg-letter-spacing: -0.5px;
|
|
15
|
-
--lmvz-component-heading-md-letter-spacing:
|
|
16
|
-
--lmvz-component-body-xl-letter-spacing:
|
|
17
|
-
--lmvz-component-body-lg-letter-spacing:
|
|
18
|
-
--lmvz-component-body-md-letter-spacing:
|
|
19
|
-
--lmvz-component-body-sm-letter-spacing:
|
|
20
|
-
--lmvz-component-body-xs-letter-spacing:
|
|
21
|
-
--lmvz-component-body-2xs-letter-spacing:
|
|
15
|
+
--lmvz-component-heading-md-letter-spacing: 0;
|
|
16
|
+
--lmvz-component-body-xl-letter-spacing: 0;
|
|
17
|
+
--lmvz-component-body-lg-letter-spacing: 0;
|
|
18
|
+
--lmvz-component-body-md-letter-spacing: 0;
|
|
19
|
+
--lmvz-component-body-sm-letter-spacing: 0;
|
|
20
|
+
--lmvz-component-body-xs-letter-spacing: 0;
|
|
21
|
+
--lmvz-component-body-2xs-letter-spacing: 0;
|
|
22
22
|
--lmvz-semantic-semantic-digital-layout-col-4: 36.8125rem;
|
|
23
23
|
--lmvz-semantic-semantic-digital-layout-col-6: 45rem;
|
|
24
24
|
--lmvz-semantic-semantic-digital-layout-col-8: 74.9375rem;
|
|
@@ -143,13 +143,17 @@
|
|
|
143
143
|
--lmvz-global-border-radius-8: 8px;
|
|
144
144
|
--lmvz-global-border-radius-4: 4px;
|
|
145
145
|
--lmvz-global-border-radius-999: 999px;
|
|
146
|
-
--lmvz-global-border-radius-0:
|
|
146
|
+
--lmvz-global-border-radius-0: 0;
|
|
147
147
|
--lmvz-global-border-radius-32: 32px;
|
|
148
148
|
--lmvz-global-border-width-5: 2px;
|
|
149
149
|
--lmvz-global-border-width-4: 1.75px;
|
|
150
150
|
--lmvz-global-border-width-3: 1.5px;
|
|
151
151
|
--lmvz-global-border-width-2: 1.25px;
|
|
152
152
|
--lmvz-global-border-width-1: 1px;
|
|
153
|
+
--lmvz-global-border-width-9: 3px;
|
|
154
|
+
--lmvz-global-border-width-8: 2.75px;
|
|
155
|
+
--lmvz-global-border-width-7: 2.5px;
|
|
156
|
+
--lmvz-global-border-width-6: 2.25px;
|
|
153
157
|
--lmvz-global-opacity-disabled: 40%;
|
|
154
158
|
--lmvz-global-opacity-overlay: 60%;
|
|
155
159
|
--lmvz-global-duration-fast: 200;
|
|
@@ -367,6 +371,7 @@
|
|
|
367
371
|
--lmvz-component-icon-size-sm: var(--lmvz-dimension-14-18);
|
|
368
372
|
--lmvz-component-icon-size-md: var(--lmvz-dimension-16-24);
|
|
369
373
|
--lmvz-component-icon-size-lg: var(--lmvz-dimension-24-32);
|
|
374
|
+
--lmvz-component-icon-size-2xs: var(--lmvz-dimension-11-14);
|
|
370
375
|
--lmvz-component-heading-4xl-font-size: var(--lmvz-dimension-48-64);
|
|
371
376
|
--lmvz-component-heading-4xl-line-height: var(--lmvz-component-line-height-default);
|
|
372
377
|
--lmvz-component-heading-4xl-padding-bottom: var(--lmvz-dimension-28-40);
|
|
@@ -434,6 +439,15 @@
|
|
|
434
439
|
--lmvz-component-input-lg-padding-x: var(--lmvz-dimension-14-20);
|
|
435
440
|
--lmvz-component-input-lg-padding-y: var(--lmvz-dimension-14-20);
|
|
436
441
|
--lmvz-component-input-lg-gap-x: var(--lmvz-dimension-4-10);
|
|
442
|
+
--lmvz-component-input-height-sm: var(--lmvz-dimension-24-28);
|
|
443
|
+
--lmvz-component-input-height-md: var(--lmvz-dimension-36-40);
|
|
444
|
+
--lmvz-component-input-height-lg: var(--lmvz-dimension-40-48);
|
|
445
|
+
--lmvz-component-input-padding-sm: var(--lmvz-dimension-12-14);
|
|
446
|
+
--lmvz-component-input-padding-md: var(--lmvz-dimension-14-16);
|
|
447
|
+
--lmvz-component-input-padding-lg: var(--lmvz-dimension-16-20);
|
|
448
|
+
--lmvz-component-input-gap-sm: var(--lmvz-dimension-6-8);
|
|
449
|
+
--lmvz-component-input-gap-md: var(--lmvz-dimension-8-12);
|
|
450
|
+
--lmvz-component-input-gap-lg: var(--lmvz-dimension-12-14);
|
|
437
451
|
--lmvz-component-input-bg: var(--lmvz-semantic-color-surface-primary);
|
|
438
452
|
--lmvz-component-card-gap-xy: var(--lmvz-dimension-12-18);
|
|
439
453
|
--lmvz-semantic-border-radius-xl: var(--lmvz-dimension-18-24);
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@lmvz-ds/design-tokens",
|
|
3
3
|
"private": false,
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.17.0",
|
|
6
6
|
"author": "Patrick Nemenz <patrick.nemenz@adesso.at>",
|
|
7
7
|
"license": "UNLICENSED",
|
|
8
8
|
"publishConfig": {
|
|
@@ -25,38 +25,31 @@
|
|
|
25
25
|
"./*": "./dist/*",
|
|
26
26
|
"./package.json": "./package.json"
|
|
27
27
|
},
|
|
28
|
-
"scripts": {
|
|
29
|
-
"clean": "rimraf ./dist",
|
|
30
|
-
"start": "tsx watch --include './tokens/*.**' ./scripts/build-tokens.ts",
|
|
31
|
-
"build": "tsx ./scripts/build-tokens.ts && npm run lint",
|
|
32
|
-
"lint": "stylelint './dist/**/*.css' --config ./stylelint.config.mjs || true",
|
|
33
|
-
"update": "npm run update:style-dictionary",
|
|
34
|
-
"update:style-dictionary": "rm -rf tokens && tsx ./scripts/export-style-dictionary.ts && bash ./scripts/cleanup-base-tokens.sh",
|
|
35
|
-
"supernova:describe": "tsx ../shared/scripts/supernova-describe.ts"
|
|
36
|
-
},
|
|
37
28
|
"nx": {
|
|
38
|
-
"targets": {
|
|
39
|
-
"update": {
|
|
40
|
-
"dependsOn": []
|
|
41
|
-
},
|
|
42
|
-
"update:style-dictionary": {
|
|
43
|
-
"dependsOn": []
|
|
44
|
-
}
|
|
45
|
-
}
|
|
29
|
+
"targets": {}
|
|
46
30
|
},
|
|
47
31
|
"devDependencies": {
|
|
48
|
-
"@lmvz-ds/exporter-style-dictionary": "
|
|
49
|
-
"@
|
|
50
|
-
"@supernovaio/cli": "2.0.40",
|
|
32
|
+
"@lmvz-ds/exporter-style-dictionary": "2.5.3",
|
|
33
|
+
"@supernovaio/cli": "^2.0.42",
|
|
51
34
|
"concurrently": "^9.2.1",
|
|
52
35
|
"json5": "^2.2.3",
|
|
53
|
-
"lodash": "^4.17.21",
|
|
54
36
|
"rimraf": "^4.4.1",
|
|
55
37
|
"style-dictionary": "^5.1.3",
|
|
56
|
-
"stylelint": "^
|
|
57
|
-
"stylelint-config-standard": "^
|
|
58
|
-
"stylelint-value-no-unknown-custom-properties": "
|
|
59
|
-
"tsx": "^4.
|
|
38
|
+
"stylelint": "^16.0.1",
|
|
39
|
+
"stylelint-config-standard": "^38.0.0",
|
|
40
|
+
"stylelint-value-no-unknown-custom-properties": "6.1.1",
|
|
41
|
+
"tsx": "^4.8.1",
|
|
42
|
+
"@lmvz-ds/lib-cli": "~0.15.2",
|
|
43
|
+
"@lmvz-ds/lib-ts": "~0.15.2",
|
|
44
|
+
"@lmvz-ds/lib-config": "0.15.2"
|
|
60
45
|
},
|
|
61
|
-
"gitHead": "
|
|
62
|
-
|
|
46
|
+
"gitHead": "aaec2215b0239d6fa4a5876af444e0b7abba2c7d",
|
|
47
|
+
"scripts": {
|
|
48
|
+
"clean": "rimraf ./dist",
|
|
49
|
+
"start": "tsx watch --include './tokens/*.**' ./scripts/build-tokens.ts",
|
|
50
|
+
"build": "tsx ./scripts/build-tokens.ts && pnpm run lint",
|
|
51
|
+
"lint": "stylelint './dist/**/*.css' --config ./stylelint.config.mjs || true",
|
|
52
|
+
"update": "rimraf tokens && tsx ./scripts/export-style-dictionary.ts && bash ./scripts/cleanup-base-tokens.sh",
|
|
53
|
+
"supernova:describe": "tsx ../../lib/cli/scripts/supernova-describe.ts"
|
|
54
|
+
}
|
|
55
|
+
}
|