@sumup-oss/design-tokens 8.0.0 → 8.0.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.
|
@@ -52,43 +52,43 @@ exports.typography = {
|
|
|
52
52
|
},
|
|
53
53
|
two: {
|
|
54
54
|
fontSize: '1.5rem',
|
|
55
|
-
lineHeight: '1.
|
|
55
|
+
lineHeight: '1.625rem',
|
|
56
56
|
},
|
|
57
57
|
three: {
|
|
58
|
-
fontSize: '1.
|
|
59
|
-
lineHeight: '1.
|
|
58
|
+
fontSize: '1.125rem',
|
|
59
|
+
lineHeight: '1.375rem',
|
|
60
60
|
},
|
|
61
61
|
four: {
|
|
62
62
|
fontSize: '1.125rem',
|
|
63
|
-
lineHeight: '1.
|
|
63
|
+
lineHeight: '1.375rem',
|
|
64
64
|
},
|
|
65
65
|
},
|
|
66
66
|
title: {
|
|
67
67
|
one: {
|
|
68
|
-
fontSize: '
|
|
69
|
-
lineHeight: '
|
|
68
|
+
fontSize: '4rem',
|
|
69
|
+
lineHeight: '4.5rem',
|
|
70
70
|
},
|
|
71
71
|
two: {
|
|
72
|
-
fontSize: '
|
|
73
|
-
lineHeight: '
|
|
72
|
+
fontSize: '3rem',
|
|
73
|
+
lineHeight: '3.5rem',
|
|
74
74
|
},
|
|
75
75
|
three: {
|
|
76
|
-
fontSize: '
|
|
77
|
-
lineHeight: '
|
|
76
|
+
fontSize: '3rem',
|
|
77
|
+
lineHeight: '3.5rem',
|
|
78
78
|
},
|
|
79
79
|
four: {
|
|
80
|
-
fontSize: '
|
|
81
|
-
lineHeight: '
|
|
80
|
+
fontSize: '2.5rem',
|
|
81
|
+
lineHeight: '2.875rem',
|
|
82
82
|
},
|
|
83
83
|
},
|
|
84
84
|
subHeadline: {
|
|
85
|
-
fontSize: '
|
|
86
|
-
lineHeight: '1.
|
|
85
|
+
fontSize: '1.125rem',
|
|
86
|
+
lineHeight: '1.375rem',
|
|
87
87
|
},
|
|
88
88
|
body: {
|
|
89
89
|
one: {
|
|
90
90
|
fontSize: '1rem',
|
|
91
|
-
lineHeight: '1.
|
|
91
|
+
lineHeight: '1.375rem',
|
|
92
92
|
},
|
|
93
93
|
two: {
|
|
94
94
|
fontSize: '0.875rem',
|
|
@@ -97,7 +97,7 @@ exports.typography = {
|
|
|
97
97
|
},
|
|
98
98
|
bodyLarge: {
|
|
99
99
|
fontSize: '1.25rem',
|
|
100
|
-
lineHeight: '1.
|
|
100
|
+
lineHeight: '1.5rem',
|
|
101
101
|
},
|
|
102
102
|
};
|
|
103
103
|
exports.fontStack = {
|
|
@@ -105,8 +105,8 @@ exports.fontStack = {
|
|
|
105
105
|
mono: 'Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace',
|
|
106
106
|
};
|
|
107
107
|
exports.fontWeight = {
|
|
108
|
-
regular: '
|
|
109
|
-
bold: '
|
|
108
|
+
regular: '375',
|
|
109
|
+
bold: '630',
|
|
110
110
|
};
|
|
111
111
|
exports.grid = {
|
|
112
112
|
default: {
|
|
@@ -49,43 +49,43 @@ export const typography = {
|
|
|
49
49
|
},
|
|
50
50
|
two: {
|
|
51
51
|
fontSize: '1.5rem',
|
|
52
|
-
lineHeight: '1.
|
|
52
|
+
lineHeight: '1.625rem',
|
|
53
53
|
},
|
|
54
54
|
three: {
|
|
55
|
-
fontSize: '1.
|
|
56
|
-
lineHeight: '1.
|
|
55
|
+
fontSize: '1.125rem',
|
|
56
|
+
lineHeight: '1.375rem',
|
|
57
57
|
},
|
|
58
58
|
four: {
|
|
59
59
|
fontSize: '1.125rem',
|
|
60
|
-
lineHeight: '1.
|
|
60
|
+
lineHeight: '1.375rem',
|
|
61
61
|
},
|
|
62
62
|
},
|
|
63
63
|
title: {
|
|
64
64
|
one: {
|
|
65
|
-
fontSize: '
|
|
66
|
-
lineHeight: '
|
|
65
|
+
fontSize: '4rem',
|
|
66
|
+
lineHeight: '4.5rem',
|
|
67
67
|
},
|
|
68
68
|
two: {
|
|
69
|
-
fontSize: '
|
|
70
|
-
lineHeight: '
|
|
69
|
+
fontSize: '3rem',
|
|
70
|
+
lineHeight: '3.5rem',
|
|
71
71
|
},
|
|
72
72
|
three: {
|
|
73
|
-
fontSize: '
|
|
74
|
-
lineHeight: '
|
|
73
|
+
fontSize: '3rem',
|
|
74
|
+
lineHeight: '3.5rem',
|
|
75
75
|
},
|
|
76
76
|
four: {
|
|
77
|
-
fontSize: '
|
|
78
|
-
lineHeight: '
|
|
77
|
+
fontSize: '2.5rem',
|
|
78
|
+
lineHeight: '2.875rem',
|
|
79
79
|
},
|
|
80
80
|
},
|
|
81
81
|
subHeadline: {
|
|
82
|
-
fontSize: '
|
|
83
|
-
lineHeight: '1.
|
|
82
|
+
fontSize: '1.125rem',
|
|
83
|
+
lineHeight: '1.375rem',
|
|
84
84
|
},
|
|
85
85
|
body: {
|
|
86
86
|
one: {
|
|
87
87
|
fontSize: '1rem',
|
|
88
|
-
lineHeight: '1.
|
|
88
|
+
lineHeight: '1.375rem',
|
|
89
89
|
},
|
|
90
90
|
two: {
|
|
91
91
|
fontSize: '0.875rem',
|
|
@@ -94,7 +94,7 @@ export const typography = {
|
|
|
94
94
|
},
|
|
95
95
|
bodyLarge: {
|
|
96
96
|
fontSize: '1.25rem',
|
|
97
|
-
lineHeight: '1.
|
|
97
|
+
lineHeight: '1.5rem',
|
|
98
98
|
},
|
|
99
99
|
};
|
|
100
100
|
export const fontStack = {
|
|
@@ -102,8 +102,8 @@ export const fontStack = {
|
|
|
102
102
|
mono: 'Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace',
|
|
103
103
|
};
|
|
104
104
|
export const fontWeight = {
|
|
105
|
-
regular: '
|
|
106
|
-
bold: '
|
|
105
|
+
regular: '375',
|
|
106
|
+
bold: '630',
|
|
107
107
|
};
|
|
108
108
|
export const grid = {
|
|
109
109
|
default: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sumup-oss/design-tokens",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.1",
|
|
4
4
|
"description": "Visual primitives such as typography, color, and spacing that are shared across platforms.",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/es/index.js",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"test": "vitest"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"browserslist": "^4.
|
|
34
|
+
"browserslist": "^4.24.2",
|
|
35
35
|
"lightningcss": "^1.27.0",
|
|
36
36
|
"prop-types": "^15.8.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@types/node": "^22.8.
|
|
39
|
+
"@types/node": "^22.8.6",
|
|
40
40
|
"@types/prop-types": "^15.7.13",
|
|
41
41
|
"tsx": "^4.19.2",
|
|
42
42
|
"typescript": "^5.6.3"
|