@hpe-web/design-tokens 1.0.0 → 1.2.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 +22 -13
- package/dist/css/fonts/de.css +0 -164
- package/dist/css/fonts/en.css +0 -164
- package/dist/css/fonts/es.css +0 -164
- package/dist/css/fonts/fr.css +0 -164
- package/dist/css/fonts/it.css +0 -164
- package/dist/css/fonts/zh.css +1 -1
- package/dist/css/tokens.css +343 -264
- package/dist/css/tokens.dark.css +46 -63
- package/dist/css/tokens.md-lg.css +113 -103
- package/dist/css/tokens.xl.css +109 -86
- package/package.json +4 -8
- package/src/breakpoints.json +14 -0
- package/src/component/button.json +1382 -0
- package/{static → src}/fonts.json +17 -17
- package/src/hpe.resolver.json +94 -0
- package/{static → src}/locales.json +6 -6
- package/{dtcg/foundation/color.tokens.json → src/primitive/primitives.json} +874 -1172
- package/src/semantic/color.dark.json +414 -0
- package/src/semantic/color.light.json +415 -0
- package/src/semantic/dimension.md-lg.json +764 -0
- package/src/semantic/dimension.xl.json +764 -0
- package/src/semantic/dimension.xs-sm.json +764 -0
- package/transforms.mjs +7 -7
- package/dist/css/locales/de.tokens.css +0 -65
- package/dist/css/locales/es.tokens.css +0 -65
- package/dist/css/locales/fr.tokens.css +0 -65
- package/dist/css/locales/it.tokens.css +0 -65
- package/dist/css/locales/ja.tokens.css +0 -84
- package/dist/css/locales/ko.tokens.css +0 -84
- package/dist/css/locales/zh.tokens.css +0 -11
- package/dtcg/foundation/border-radius.tokens.json +0 -239
- package/dtcg/foundation/border-width.tokens.json +0 -103
- package/dtcg/foundation/breakpoint.tokens.json +0 -27
- package/dtcg/foundation/dimension.tokens.json +0 -258
- package/dtcg/foundation/font-family.tokens.json +0 -53
- package/dtcg/foundation/font-size.tokens.json +0 -408
- package/dtcg/foundation/font-weight.tokens.json +0 -214
- package/dtcg/foundation/letter-spacing.tokens.json +0 -203
- package/dtcg/foundation/line-height.tokens.json +0 -408
- package/dtcg/foundation/size.tokens.json +0 -191
- package/dtcg/foundation/space.tokens.json +0 -431
- package/dtcg/foundation/typography.tokens.json +0 -625
- package/dtcg/hpe.resolver.json +0 -178
- package/dtcg/semantic/border-radius.tokens.json +0 -149
- package/dtcg/semantic/border-width.tokens.json +0 -50
- package/dtcg/semantic/font-family.tokens.json +0 -42
- package/dtcg/semantic/font-size.tokens.json +0 -285
- package/dtcg/semantic/font-weight.tokens.json +0 -134
- package/dtcg/semantic/letter-spacing.tokens.json +0 -203
- package/dtcg/semantic/line-height.tokens.json +0 -285
- package/dtcg/semantic/size.tokens.json +0 -120
- package/dtcg/semantic/space.tokens.json +0 -275
- package/dtcg/semantic/typography.tokens.json +0 -536
- package/dtcg/theme/dark/color.tokens.json +0 -698
- package/dtcg/theme/light/color.tokens.json +0 -722
- package/dtcg/viewport/md-lg/font-size.tokens.json +0 -189
- package/dtcg/viewport/md-lg/font-weight.tokens.json +0 -11
- package/dtcg/viewport/md-lg/letter-spacing.tokens.json +0 -88
- package/dtcg/viewport/md-lg/line-height.tokens.json +0 -125
- package/dtcg/viewport/md-lg/size.tokens.json +0 -20
- package/dtcg/viewport/md-lg/space.tokens.json +0 -36
- package/dtcg/viewport/sm-xs/border-radius.tokens.json +0 -48
- package/dtcg/viewport/sm-xs/border-width.tokens.json +0 -15
- package/dtcg/viewport/sm-xs/font-size.tokens.json +0 -236
- package/dtcg/viewport/sm-xs/font-weight.tokens.json +0 -18
- package/dtcg/viewport/sm-xs/letter-spacing.tokens.json +0 -130
- package/dtcg/viewport/sm-xs/line-height.tokens.json +0 -236
- package/dtcg/viewport/sm-xs/size.tokens.json +0 -39
- package/dtcg/viewport/sm-xs/space.tokens.json +0 -46
- package/dtcg/viewport/xl/border-radius.tokens.json +0 -48
- package/dtcg/viewport/xl/font-size.tokens.json +0 -236
- package/dtcg/viewport/xl/letter-spacing.tokens.json +0 -122
- package/dtcg/viewport/xl/line-height.tokens.json +0 -178
- package/dtcg/viewport/xl/size.tokens.json +0 -84
- package/dtcg/viewport/xl/space.tokens.json +0 -68
- package/static/breakpoints.json +0 -23
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"hpe-web": {
|
|
3
|
-
"multi-mode": {
|
|
4
|
-
"button": {
|
|
5
|
-
"primary": {
|
|
6
|
-
"large": {
|
|
7
|
-
"padding-x": {
|
|
8
|
-
"$value": {
|
|
9
|
-
"value": 40,
|
|
10
|
-
"unit": "px"
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
"padding-y": {
|
|
14
|
-
"$value": {
|
|
15
|
-
"value": 22,
|
|
16
|
-
"unit": "px"
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"medium": {
|
|
21
|
-
"padding-x": {
|
|
22
|
-
"$value": {
|
|
23
|
-
"value": 36,
|
|
24
|
-
"unit": "px"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"padding-y": {
|
|
28
|
-
"$value": {
|
|
29
|
-
"value": 20,
|
|
30
|
-
"unit": "px"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"secondary": {
|
|
36
|
-
"large": {
|
|
37
|
-
"padding-x": {
|
|
38
|
-
"$value": {
|
|
39
|
-
"value": 40,
|
|
40
|
-
"unit": "px"
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
"padding-y": {
|
|
44
|
-
"$value": {
|
|
45
|
-
"value": 22,
|
|
46
|
-
"unit": "px"
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"medium": {
|
|
51
|
-
"padding-x": {
|
|
52
|
-
"$value": {
|
|
53
|
-
"value": 36,
|
|
54
|
-
"unit": "px"
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"padding-y": {
|
|
58
|
-
"$value": {
|
|
59
|
-
"value": 20,
|
|
60
|
-
"unit": "px"
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
package/static/breakpoints.json
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"values": {
|
|
3
|
-
"xs": "1px",
|
|
4
|
-
"sm": "768px",
|
|
5
|
-
"md": "992px",
|
|
6
|
-
"lg": "1200px",
|
|
7
|
-
"xl": "1600px"
|
|
8
|
-
},
|
|
9
|
-
"ranges": {
|
|
10
|
-
"sm-xs": {
|
|
11
|
-
"min": "1px",
|
|
12
|
-
"mediaQuery": null
|
|
13
|
-
},
|
|
14
|
-
"md-lg": {
|
|
15
|
-
"min": "992px",
|
|
16
|
-
"mediaQuery": "(min-width: 992px)"
|
|
17
|
-
},
|
|
18
|
-
"xl": {
|
|
19
|
-
"min": "1600px",
|
|
20
|
-
"mediaQuery": "(min-width: 1600px)"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|