@hpe-web/design-tokens 1.2.0 → 1.2.2
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 +5 -4
- package/dist/css/fonts/de.css +164 -0
- package/dist/css/fonts/en.css +164 -0
- package/dist/css/fonts/es.css +164 -0
- package/dist/css/fonts/fr.css +164 -0
- package/dist/css/fonts/it.css +164 -0
- package/dist/css/locales/de.tokens.css +56 -0
- package/dist/css/locales/es.tokens.css +56 -0
- package/dist/css/locales/fr.tokens.css +56 -0
- package/dist/css/locales/it.tokens.css +56 -0
- package/dist/css/locales/ja.tokens.css +71 -0
- package/dist/css/locales/ko.tokens.css +71 -0
- package/dist/css/tokens.css +83 -119
- package/dist/css/tokens.dark.css +2 -8
- package/dist/css/tokens.md-lg.css +55 -55
- package/dist/css/tokens.xl.css +55 -55
- package/package.json +1 -1
- package/src/breakpoints.json +9 -11
- package/src/component/button.json +11 -394
- package/src/fonts.json +1 -5
- package/src/locales.json +8 -8
- package/src/primitive/primitives.json +1 -912
- package/src/semantic/color.dark.json +2 -87
- package/src/semantic/color.light.json +1 -87
- package/src/semantic/dimension.md-lg.json +54 -54
- package/src/semantic/dimension.xl.json +56 -56
- package/src/semantic/dimension.xs-sm.json +53 -53
package/src/fonts.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"hpe-graphik": {
|
|
3
3
|
"family": "HPE Graphik",
|
|
4
|
-
"stretch": "normal",
|
|
5
4
|
"basePath": "https://www.hpe.com/content/dam/hpe/fonts/graphik",
|
|
6
5
|
"weights": {
|
|
7
6
|
"100": { "normal": "HPEGraphik-Thin-Web.woff2", "italic": "HPEGraphik-ThinItalic-Web.woff2" },
|
|
@@ -16,7 +15,7 @@
|
|
|
16
15
|
}
|
|
17
16
|
},
|
|
18
17
|
"hpe-graphik-condensed": {
|
|
19
|
-
"family": "HPE Graphik
|
|
18
|
+
"family": "HPE Graphik",
|
|
20
19
|
"stretch": "condensed",
|
|
21
20
|
"basePath": "https://www.hpe.com/content/dam/hpe/fonts/graphik",
|
|
22
21
|
"weights": {
|
|
@@ -33,7 +32,6 @@
|
|
|
33
32
|
},
|
|
34
33
|
"noto-sans-jp": {
|
|
35
34
|
"family": "Noto Sans JP",
|
|
36
|
-
"stretch": "normal",
|
|
37
35
|
"basePath": "https://www.hpe.com/content/dam/hpe/fonts/notosans-jp",
|
|
38
36
|
"weights": {
|
|
39
37
|
"100": { "normal": "Thin.woff2" },
|
|
@@ -49,7 +47,6 @@
|
|
|
49
47
|
},
|
|
50
48
|
"noto-sans-kr": {
|
|
51
49
|
"family": "Noto Sans KR",
|
|
52
|
-
"stretch": "normal",
|
|
53
50
|
"basePath": "https://www.hpe.com/content/dam/hpe/fonts/notosans-kr",
|
|
54
51
|
"weights": {
|
|
55
52
|
"100": { "normal": "Thin.woff2" },
|
|
@@ -65,7 +62,6 @@
|
|
|
65
62
|
},
|
|
66
63
|
"noto-sans-tc": {
|
|
67
64
|
"family": "Noto Sans TC",
|
|
68
|
-
"stretch": "normal",
|
|
69
65
|
"basePath": "https://www.hpe.com/content/dam/hpe/fonts/notosans-tc",
|
|
70
66
|
"weights": {
|
|
71
67
|
"100": { "normal": "Thin.woff2" },
|
package/src/locales.json
CHANGED
|
@@ -3,56 +3,56 @@
|
|
|
3
3
|
"name": "German",
|
|
4
4
|
"fonts": ["hpe-graphik"],
|
|
5
5
|
"fallback": ["Arial", "sans-serif"],
|
|
6
|
-
"coefficient": { "
|
|
6
|
+
"coefficient": { "heading": 0.75, "paragraph": 1, "quote": 1 },
|
|
7
7
|
"minFontSize": null
|
|
8
8
|
},
|
|
9
9
|
"en": {
|
|
10
10
|
"name": "English",
|
|
11
11
|
"fonts": ["hpe-graphik"],
|
|
12
12
|
"fallback": ["Arial", "sans-serif"],
|
|
13
|
-
"coefficient": { "
|
|
13
|
+
"coefficient": { "heading": 1, "paragraph": 1, "quote": 1 },
|
|
14
14
|
"minFontSize": null
|
|
15
15
|
},
|
|
16
16
|
"es": {
|
|
17
17
|
"name": "Spanish",
|
|
18
18
|
"fonts": ["hpe-graphik"],
|
|
19
19
|
"fallback": ["Arial", "sans-serif"],
|
|
20
|
-
"coefficient": { "
|
|
20
|
+
"coefficient": { "heading": 0.75, "paragraph": 1, "quote": 1 },
|
|
21
21
|
"minFontSize": null
|
|
22
22
|
},
|
|
23
23
|
"fr": {
|
|
24
24
|
"name": "French",
|
|
25
25
|
"fonts": ["hpe-graphik"],
|
|
26
26
|
"fallback": ["Arial", "sans-serif"],
|
|
27
|
-
"coefficient": { "
|
|
27
|
+
"coefficient": { "heading": 0.75, "paragraph": 1, "quote": 1 },
|
|
28
28
|
"minFontSize": null
|
|
29
29
|
},
|
|
30
30
|
"it": {
|
|
31
31
|
"name": "Italian",
|
|
32
32
|
"fonts": ["hpe-graphik"],
|
|
33
33
|
"fallback": ["Arial", "sans-serif"],
|
|
34
|
-
"coefficient": { "
|
|
34
|
+
"coefficient": { "heading": 0.75, "paragraph": 1, "quote": 1 },
|
|
35
35
|
"minFontSize": null
|
|
36
36
|
},
|
|
37
37
|
"ja": {
|
|
38
38
|
"name": "Japanese",
|
|
39
39
|
"fonts": ["noto-sans-jp"],
|
|
40
40
|
"fallback": ["sans-serif"],
|
|
41
|
-
"coefficient": { "
|
|
41
|
+
"coefficient": { "heading": 0.8, "paragraph": 0.8, "quote": 0.8 },
|
|
42
42
|
"minFontSize": "14px"
|
|
43
43
|
},
|
|
44
44
|
"ko": {
|
|
45
45
|
"name": "Korean",
|
|
46
46
|
"fonts": ["noto-sans-kr"],
|
|
47
47
|
"fallback": ["sans-serif"],
|
|
48
|
-
"coefficient": { "
|
|
48
|
+
"coefficient": { "heading": 0.8, "paragraph": 0.8, "quote": 0.8 },
|
|
49
49
|
"minFontSize": "14px"
|
|
50
50
|
},
|
|
51
51
|
"zh": {
|
|
52
52
|
"name": "Chinese (Traditional)",
|
|
53
53
|
"fonts": ["noto-sans-tc"],
|
|
54
54
|
"fallback": ["sans-serif"],
|
|
55
|
-
"coefficient": { "
|
|
55
|
+
"coefficient": { "heading": 1, "paragraph": 1, "quote": 1 },
|
|
56
56
|
"minFontSize": null
|
|
57
57
|
}
|
|
58
58
|
}
|