@volue/design-typography 0.2.1 → 0.2.2-next.1
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
CHANGED
|
@@ -19,7 +19,7 @@ Tokens are exported as nested object structure.
|
|
|
19
19
|
|
|
20
20
|
```js
|
|
21
21
|
const tokens = require('@volue/design-typography');
|
|
22
|
-
console.log(tokens.family.display);
|
|
22
|
+
console.log(tokens.font.family.display);
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
In JSON, design token names are formatted in [SNAKE_CASE](https://en.wikipedia.org/wiki/Snake_case).
|
package/dist/index.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on
|
|
3
|
+
// Generated on Mon, 31 Jul 2023 12:44:48 GMT
|
|
4
4
|
|
|
5
5
|
$font-family-base: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI';
|
|
6
6
|
$font-family-display: 'FK Display', 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volue/design-typography",
|
|
3
|
-
"version": "0.2.1",
|
|
3
|
+
"version": "0.2.2-next.1",
|
|
4
4
|
"description": "Typography primitives for Volue design primitives",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"repository": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"main": "dist/index.common.js",
|
|
15
15
|
"module": "dist/index.module.js",
|
|
16
|
-
"types": "dist/index.
|
|
16
|
+
"types": "dist/index.d.ts",
|
|
17
17
|
"sideEffects": false,
|
|
18
18
|
"files": [
|
|
19
19
|
"dist",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"prepack": "yarn run build"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"eslint": "8.
|
|
34
|
+
"eslint": "8.46.0",
|
|
35
35
|
"eslint-config-powel": "14.2.1",
|
|
36
36
|
"eslint-import-resolver-node": "0.3.7",
|
|
37
|
-
"eslint-plugin-import": "2.
|
|
37
|
+
"eslint-plugin-import": "2.28.0",
|
|
38
38
|
"expr-eval": "2.0.2",
|
|
39
39
|
"map-obj": "4.3.0",
|
|
40
40
|
"npm-run-all": "4.1.5",
|
|
@@ -43,6 +43,6 @@
|
|
|
43
43
|
"prettier": "2.8.8",
|
|
44
44
|
"rimraf": "3.0.2",
|
|
45
45
|
"style-dictionary": "3.8.0",
|
|
46
|
-
"typescript": "
|
|
46
|
+
"typescript": "5.1.6"
|
|
47
47
|
}
|
|
48
48
|
}
|
package/dist/index.module.d.ts
DELETED
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
export default tokens;
|
|
2
|
-
declare const tokens: {
|
|
3
|
-
"font": {
|
|
4
|
-
"family": {
|
|
5
|
-
"base": "'Source Sans Pro', system-ui, -apple-system, 'Segoe UI'",
|
|
6
|
-
"display": "'FK Display', 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', sans-serif",
|
|
7
|
-
"mono": "ui-monospace, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace"
|
|
8
|
-
},
|
|
9
|
-
"style": {
|
|
10
|
-
"body": {
|
|
11
|
-
"base": {
|
|
12
|
-
"fontFamily": "'Source Sans Pro', system-ui, -apple-system, 'Segoe UI'",
|
|
13
|
-
"fontSize": "16px",
|
|
14
|
-
"lineHeight": "1.5rem",
|
|
15
|
-
"fontWeight": "400"
|
|
16
|
-
},
|
|
17
|
-
"small": {
|
|
18
|
-
"fontFamily": "'Source Sans Pro', system-ui, -apple-system, 'Segoe UI'",
|
|
19
|
-
"fontSize": "14px",
|
|
20
|
-
"lineHeight": "1.25rem",
|
|
21
|
-
"fontWeight": "400"
|
|
22
|
-
},
|
|
23
|
-
"xSmall": {
|
|
24
|
-
"fontFamily": "'Source Sans Pro', system-ui, -apple-system, 'Segoe UI'",
|
|
25
|
-
"fontSize": "12px",
|
|
26
|
-
"lineHeight": "1.125rem",
|
|
27
|
-
"fontWeight": "400"
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
"headlines": {
|
|
31
|
-
"giga": {
|
|
32
|
-
"fontFamily": "'FK Display', 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', sans-serif",
|
|
33
|
-
"fontSize": "51px",
|
|
34
|
-
"lineHeight": "1.411765",
|
|
35
|
-
"fontWeight": "400"
|
|
36
|
-
},
|
|
37
|
-
"alpha": {
|
|
38
|
-
"fontFamily": "'FK Display', 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', sans-serif",
|
|
39
|
-
"fontSize": "38px",
|
|
40
|
-
"lineHeight": "1.263158",
|
|
41
|
-
"fontWeight": "400"
|
|
42
|
-
},
|
|
43
|
-
"beta": {
|
|
44
|
-
"fontFamily": "'FK Display', 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', sans-serif",
|
|
45
|
-
"fontSize": "28px",
|
|
46
|
-
"lineHeight": "1.714286",
|
|
47
|
-
"fontWeight": "400"
|
|
48
|
-
},
|
|
49
|
-
"gamma": {
|
|
50
|
-
"fontFamily": "'FK Display', 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', sans-serif",
|
|
51
|
-
"fontSize": "21px",
|
|
52
|
-
"lineHeight": "1.52381",
|
|
53
|
-
"fontWeight": "400"
|
|
54
|
-
},
|
|
55
|
-
"delta": {
|
|
56
|
-
"fontFamily": "'FK Display', 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', sans-serif",
|
|
57
|
-
"fontSize": "19px",
|
|
58
|
-
"lineHeight": "1.263158",
|
|
59
|
-
"fontWeight": "400"
|
|
60
|
-
},
|
|
61
|
-
"epsilon": {
|
|
62
|
-
"fontFamily": "'Source Sans Pro', system-ui, -apple-system, 'Segoe UI'",
|
|
63
|
-
"fontSize": "16px",
|
|
64
|
-
"lineHeight": "1.5",
|
|
65
|
-
"fontWeight": "400"
|
|
66
|
-
},
|
|
67
|
-
"zeta": {
|
|
68
|
-
"fontFamily": "'Source Sans Pro', system-ui, -apple-system, 'Segoe UI'",
|
|
69
|
-
"fontSize": "14px",
|
|
70
|
-
"lineHeight": "1.714286",
|
|
71
|
-
"fontWeight": "400"
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"weight": {
|
|
76
|
-
"normal": "400",
|
|
77
|
-
"semibold": "600"
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"size": {
|
|
81
|
-
"_fontScaleRatio": "1.3333",
|
|
82
|
-
"font": {
|
|
83
|
-
"base": "16px",
|
|
84
|
-
"xSmall": "12px",
|
|
85
|
-
"small": "14px",
|
|
86
|
-
"zeta": "14px",
|
|
87
|
-
"epsilon": "16px",
|
|
88
|
-
"delta": "19px",
|
|
89
|
-
"gamma": "21px",
|
|
90
|
-
"beta": "28px",
|
|
91
|
-
"alpha": "38px",
|
|
92
|
-
"giga": "51px"
|
|
93
|
-
},
|
|
94
|
-
"letterSpacing": {
|
|
95
|
-
"tighter": "-0.05em",
|
|
96
|
-
"tight": "-0.025em",
|
|
97
|
-
"normal": "normal",
|
|
98
|
-
"wide": "0.025em",
|
|
99
|
-
"wider": "0.05em",
|
|
100
|
-
"widest": "0.1em"
|
|
101
|
-
},
|
|
102
|
-
"lineHeight": {
|
|
103
|
-
"none": "1",
|
|
104
|
-
"body": "1.5",
|
|
105
|
-
"base": "1.5rem",
|
|
106
|
-
"small": "1.25rem",
|
|
107
|
-
"xSmall": "1.125rem",
|
|
108
|
-
"zeta": "1.714286",
|
|
109
|
-
"epsilon": "1.5",
|
|
110
|
-
"delta": "1.263158",
|
|
111
|
-
"gamma": "1.52381",
|
|
112
|
-
"beta": "1.714286",
|
|
113
|
-
"alpha": "1.263158",
|
|
114
|
-
"giga": "1.411765"
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
};
|
|
File without changes
|