@ledgerhq/lumen-design-core 0.0.34 → 0.0.36
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/dist/themes/js/enterprise/theme.d.ts +264 -0
- package/dist/themes/js/enterprise/theme.d.ts.map +1 -1
- package/dist/themes/js/ledger-live/theme.d.ts +264 -0
- package/dist/themes/js/ledger-live/theme.d.ts.map +1 -1
- package/dist/themes/js/types.d.ts +1 -0
- package/dist/themes/js/types.d.ts.map +1 -1
- package/dist/themes/js/typographies/index.d.ts +88 -0
- package/dist/themes/js/typographies/index.d.ts.map +1 -1
- package/dist/themes/js/typographies/typography.lg.d.ts +22 -0
- package/dist/themes/js/typographies/typography.lg.d.ts.map +1 -1
- package/dist/themes/js/typographies/typography.md.d.ts +22 -0
- package/dist/themes/js/typographies/typography.md.d.ts.map +1 -1
- package/dist/themes/js/typographies/typography.md.js +22 -0
- package/dist/themes/js/typographies/typography.sm.d.ts +22 -0
- package/dist/themes/js/typographies/typography.sm.d.ts.map +1 -1
- package/dist/themes/js/typographies/typography.sm.js +22 -0
- package/dist/themes/js/typographies/typography.xl.d.ts +22 -0
- package/dist/themes/js/typographies/typography.xl.d.ts.map +1 -1
- package/dist/themes/js/websites/theme.d.ts +264 -0
- package/dist/themes/js/websites/theme.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -4,36 +4,42 @@ export const typographySmTokens = {
|
|
|
4
4
|
* Responsive
|
|
5
5
|
*/
|
|
6
6
|
responsiveDisplay1: {
|
|
7
|
+
fontFamily: primitiveTypographyTokens.fontFamily.sans,
|
|
7
8
|
fontSize: primitiveTypographyTokens.fontSize['80'],
|
|
8
9
|
fontWeight: primitiveTypographyTokens.fontWeight.bold,
|
|
9
10
|
lineHeight: primitiveTypographyTokens.lineHeight['80'],
|
|
10
11
|
letterSpacing: primitiveTypographyTokens.letterSpacing['80'],
|
|
11
12
|
},
|
|
12
13
|
responsiveDisplay2: {
|
|
14
|
+
fontFamily: primitiveTypographyTokens.fontFamily.sans,
|
|
13
15
|
fontSize: primitiveTypographyTokens.fontSize['64'],
|
|
14
16
|
fontWeight: primitiveTypographyTokens.fontWeight.semiBold,
|
|
15
17
|
lineHeight: primitiveTypographyTokens.lineHeight['64'],
|
|
16
18
|
letterSpacing: primitiveTypographyTokens.letterSpacing['64'],
|
|
17
19
|
},
|
|
18
20
|
responsiveDisplay3: {
|
|
21
|
+
fontFamily: primitiveTypographyTokens.fontFamily.sans,
|
|
19
22
|
fontSize: primitiveTypographyTokens.fontSize['52'],
|
|
20
23
|
fontWeight: primitiveTypographyTokens.fontWeight.semiBold,
|
|
21
24
|
lineHeight: primitiveTypographyTokens.lineHeight['52'],
|
|
22
25
|
letterSpacing: primitiveTypographyTokens.letterSpacing['52'],
|
|
23
26
|
},
|
|
24
27
|
responsiveDisplay4: {
|
|
28
|
+
fontFamily: primitiveTypographyTokens.fontFamily.sans,
|
|
25
29
|
fontSize: primitiveTypographyTokens.fontSize['40'],
|
|
26
30
|
fontWeight: primitiveTypographyTokens.fontWeight.semiBold,
|
|
27
31
|
lineHeight: primitiveTypographyTokens.lineHeight['40'],
|
|
28
32
|
letterSpacing: primitiveTypographyTokens.letterSpacing['40'],
|
|
29
33
|
},
|
|
30
34
|
heading0: {
|
|
35
|
+
fontFamily: primitiveTypographyTokens.fontFamily.sans,
|
|
31
36
|
fontSize: primitiveTypographyTokens.fontSize['48'],
|
|
32
37
|
fontWeight: primitiveTypographyTokens.fontWeight.medium,
|
|
33
38
|
lineHeight: primitiveTypographyTokens.lineHeight['48'],
|
|
34
39
|
letterSpacing: primitiveTypographyTokens.letterSpacing['48'],
|
|
35
40
|
},
|
|
36
41
|
heading0SemiBold: {
|
|
42
|
+
fontFamily: primitiveTypographyTokens.fontFamily.sans,
|
|
37
43
|
fontSize: primitiveTypographyTokens.fontSize['48'],
|
|
38
44
|
fontWeight: primitiveTypographyTokens.fontWeight.semiBold,
|
|
39
45
|
lineHeight: primitiveTypographyTokens.lineHeight['48'],
|
|
@@ -43,48 +49,56 @@ export const typographySmTokens = {
|
|
|
43
49
|
* Headings
|
|
44
50
|
*/
|
|
45
51
|
heading1: {
|
|
52
|
+
fontFamily: primitiveTypographyTokens.fontFamily.sans,
|
|
46
53
|
fontSize: primitiveTypographyTokens.fontSize['28'],
|
|
47
54
|
fontWeight: primitiveTypographyTokens.fontWeight.medium,
|
|
48
55
|
lineHeight: primitiveTypographyTokens.lineHeight['28'],
|
|
49
56
|
letterSpacing: primitiveTypographyTokens.letterSpacing['28'],
|
|
50
57
|
},
|
|
51
58
|
heading1SemiBold: {
|
|
59
|
+
fontFamily: primitiveTypographyTokens.fontFamily.sans,
|
|
52
60
|
fontSize: primitiveTypographyTokens.fontSize['28'],
|
|
53
61
|
fontWeight: primitiveTypographyTokens.fontWeight.semiBold,
|
|
54
62
|
lineHeight: primitiveTypographyTokens.lineHeight['28'],
|
|
55
63
|
letterSpacing: primitiveTypographyTokens.letterSpacing['28'],
|
|
56
64
|
},
|
|
57
65
|
heading2: {
|
|
66
|
+
fontFamily: primitiveTypographyTokens.fontFamily.sans,
|
|
58
67
|
fontSize: primitiveTypographyTokens.fontSize['24'],
|
|
59
68
|
fontWeight: primitiveTypographyTokens.fontWeight.medium,
|
|
60
69
|
lineHeight: primitiveTypographyTokens.lineHeight['24'],
|
|
61
70
|
letterSpacing: primitiveTypographyTokens.letterSpacing['24'],
|
|
62
71
|
},
|
|
63
72
|
heading2SemiBold: {
|
|
73
|
+
fontFamily: primitiveTypographyTokens.fontFamily.sans,
|
|
64
74
|
fontSize: primitiveTypographyTokens.fontSize['24'],
|
|
65
75
|
fontWeight: primitiveTypographyTokens.fontWeight.semiBold,
|
|
66
76
|
lineHeight: primitiveTypographyTokens.lineHeight['24'],
|
|
67
77
|
letterSpacing: primitiveTypographyTokens.letterSpacing['24'],
|
|
68
78
|
},
|
|
69
79
|
heading3: {
|
|
80
|
+
fontFamily: primitiveTypographyTokens.fontFamily.sans,
|
|
70
81
|
fontSize: primitiveTypographyTokens.fontSize['20'],
|
|
71
82
|
fontWeight: primitiveTypographyTokens.fontWeight.medium,
|
|
72
83
|
lineHeight: primitiveTypographyTokens.lineHeight['20'],
|
|
73
84
|
letterSpacing: primitiveTypographyTokens.letterSpacing['20'],
|
|
74
85
|
},
|
|
75
86
|
heading3SemiBold: {
|
|
87
|
+
fontFamily: primitiveTypographyTokens.fontFamily.sans,
|
|
76
88
|
fontSize: primitiveTypographyTokens.fontSize['20'],
|
|
77
89
|
fontWeight: primitiveTypographyTokens.fontWeight.semiBold,
|
|
78
90
|
lineHeight: primitiveTypographyTokens.lineHeight['20'],
|
|
79
91
|
letterSpacing: primitiveTypographyTokens.letterSpacing['20'],
|
|
80
92
|
},
|
|
81
93
|
heading4: {
|
|
94
|
+
fontFamily: primitiveTypographyTokens.fontFamily.sans,
|
|
82
95
|
fontSize: primitiveTypographyTokens.fontSize['18'],
|
|
83
96
|
fontWeight: primitiveTypographyTokens.fontWeight.medium,
|
|
84
97
|
lineHeight: primitiveTypographyTokens.lineHeight['18'],
|
|
85
98
|
letterSpacing: primitiveTypographyTokens.letterSpacing['18'],
|
|
86
99
|
},
|
|
87
100
|
heading4SemiBold: {
|
|
101
|
+
fontFamily: primitiveTypographyTokens.fontFamily.sans,
|
|
88
102
|
fontSize: primitiveTypographyTokens.fontSize['18'],
|
|
89
103
|
fontWeight: primitiveTypographyTokens.fontWeight.semiBold,
|
|
90
104
|
lineHeight: primitiveTypographyTokens.lineHeight['18'],
|
|
@@ -94,48 +108,56 @@ export const typographySmTokens = {
|
|
|
94
108
|
* Body
|
|
95
109
|
*/
|
|
96
110
|
body1: {
|
|
111
|
+
fontFamily: primitiveTypographyTokens.fontFamily.sans,
|
|
97
112
|
fontSize: primitiveTypographyTokens.fontSize['16'],
|
|
98
113
|
fontWeight: primitiveTypographyTokens.fontWeight.medium,
|
|
99
114
|
lineHeight: primitiveTypographyTokens.lineHeight['16'],
|
|
100
115
|
letterSpacing: primitiveTypographyTokens.letterSpacing['16'],
|
|
101
116
|
},
|
|
102
117
|
body1SemiBold: {
|
|
118
|
+
fontFamily: primitiveTypographyTokens.fontFamily.sans,
|
|
103
119
|
fontSize: primitiveTypographyTokens.fontSize['16'],
|
|
104
120
|
fontWeight: primitiveTypographyTokens.fontWeight.semiBold,
|
|
105
121
|
lineHeight: primitiveTypographyTokens.lineHeight['16'],
|
|
106
122
|
letterSpacing: primitiveTypographyTokens.letterSpacing['16'],
|
|
107
123
|
},
|
|
108
124
|
body2: {
|
|
125
|
+
fontFamily: primitiveTypographyTokens.fontFamily.sans,
|
|
109
126
|
fontSize: primitiveTypographyTokens.fontSize['14'],
|
|
110
127
|
fontWeight: primitiveTypographyTokens.fontWeight.medium,
|
|
111
128
|
lineHeight: primitiveTypographyTokens.lineHeight['14'],
|
|
112
129
|
letterSpacing: primitiveTypographyTokens.letterSpacing['14'],
|
|
113
130
|
},
|
|
114
131
|
body2SemiBold: {
|
|
132
|
+
fontFamily: primitiveTypographyTokens.fontFamily.sans,
|
|
115
133
|
fontSize: primitiveTypographyTokens.fontSize['14'],
|
|
116
134
|
fontWeight: primitiveTypographyTokens.fontWeight.semiBold,
|
|
117
135
|
lineHeight: primitiveTypographyTokens.lineHeight['14'],
|
|
118
136
|
letterSpacing: primitiveTypographyTokens.letterSpacing['14'],
|
|
119
137
|
},
|
|
120
138
|
body3: {
|
|
139
|
+
fontFamily: primitiveTypographyTokens.fontFamily.sans,
|
|
121
140
|
fontSize: primitiveTypographyTokens.fontSize['12'],
|
|
122
141
|
fontWeight: primitiveTypographyTokens.fontWeight.medium,
|
|
123
142
|
lineHeight: primitiveTypographyTokens.lineHeight['12'],
|
|
124
143
|
letterSpacing: primitiveTypographyTokens.letterSpacing['12'],
|
|
125
144
|
},
|
|
126
145
|
body3SemiBold: {
|
|
146
|
+
fontFamily: primitiveTypographyTokens.fontFamily.sans,
|
|
127
147
|
fontSize: primitiveTypographyTokens.fontSize['12'],
|
|
128
148
|
fontWeight: primitiveTypographyTokens.fontWeight.semiBold,
|
|
129
149
|
lineHeight: primitiveTypographyTokens.lineHeight['12'],
|
|
130
150
|
letterSpacing: primitiveTypographyTokens.letterSpacing['12'],
|
|
131
151
|
},
|
|
132
152
|
body4: {
|
|
153
|
+
fontFamily: primitiveTypographyTokens.fontFamily.sans,
|
|
133
154
|
fontSize: primitiveTypographyTokens.fontSize['10'],
|
|
134
155
|
fontWeight: primitiveTypographyTokens.fontWeight.medium,
|
|
135
156
|
lineHeight: primitiveTypographyTokens.lineHeight['10'],
|
|
136
157
|
letterSpacing: primitiveTypographyTokens.letterSpacing['10'],
|
|
137
158
|
},
|
|
138
159
|
body4SemiBold: {
|
|
160
|
+
fontFamily: primitiveTypographyTokens.fontFamily.sans,
|
|
139
161
|
fontSize: primitiveTypographyTokens.fontSize['10'],
|
|
140
162
|
fontWeight: primitiveTypographyTokens.fontWeight.semiBold,
|
|
141
163
|
lineHeight: primitiveTypographyTokens.lineHeight['10'],
|
|
@@ -1,131 +1,153 @@
|
|
|
1
1
|
export declare const typographyXlTokens: {
|
|
2
2
|
readonly responsiveDisplay1: {
|
|
3
|
+
readonly fontFamily: "Inter";
|
|
3
4
|
readonly fontSize: 112;
|
|
4
5
|
readonly fontWeight: "700";
|
|
5
6
|
readonly lineHeight: 120;
|
|
6
7
|
readonly letterSpacing: -4;
|
|
7
8
|
};
|
|
8
9
|
readonly responsiveDisplay2: {
|
|
10
|
+
readonly fontFamily: "Inter";
|
|
9
11
|
readonly fontSize: 80;
|
|
10
12
|
readonly fontWeight: "600";
|
|
11
13
|
readonly lineHeight: 88;
|
|
12
14
|
readonly letterSpacing: -3;
|
|
13
15
|
};
|
|
14
16
|
readonly responsiveDisplay3: {
|
|
17
|
+
readonly fontFamily: "Inter";
|
|
15
18
|
readonly fontSize: 64;
|
|
16
19
|
readonly fontWeight: "600";
|
|
17
20
|
readonly lineHeight: 72;
|
|
18
21
|
readonly letterSpacing: -2.5;
|
|
19
22
|
};
|
|
20
23
|
readonly responsiveDisplay4: {
|
|
24
|
+
readonly fontFamily: "Inter";
|
|
21
25
|
readonly fontSize: 52;
|
|
22
26
|
readonly fontWeight: "600";
|
|
23
27
|
readonly lineHeight: 60;
|
|
24
28
|
readonly letterSpacing: -2.5;
|
|
25
29
|
};
|
|
26
30
|
readonly heading0: {
|
|
31
|
+
readonly fontFamily: "Inter";
|
|
27
32
|
readonly fontSize: 48;
|
|
28
33
|
readonly fontWeight: "500";
|
|
29
34
|
readonly lineHeight: 56;
|
|
30
35
|
readonly letterSpacing: -2.5;
|
|
31
36
|
};
|
|
32
37
|
readonly heading0SemiBold: {
|
|
38
|
+
readonly fontFamily: "Inter";
|
|
33
39
|
readonly fontSize: 48;
|
|
34
40
|
readonly fontWeight: "600";
|
|
35
41
|
readonly lineHeight: 56;
|
|
36
42
|
readonly letterSpacing: -2.5;
|
|
37
43
|
};
|
|
38
44
|
readonly heading1: {
|
|
45
|
+
readonly fontFamily: "Inter";
|
|
39
46
|
readonly fontSize: 28;
|
|
40
47
|
readonly fontWeight: "500";
|
|
41
48
|
readonly lineHeight: 36;
|
|
42
49
|
readonly letterSpacing: -1.5;
|
|
43
50
|
};
|
|
44
51
|
readonly heading1SemiBold: {
|
|
52
|
+
readonly fontFamily: "Inter";
|
|
45
53
|
readonly fontSize: 28;
|
|
46
54
|
readonly fontWeight: "600";
|
|
47
55
|
readonly lineHeight: 36;
|
|
48
56
|
readonly letterSpacing: -1.5;
|
|
49
57
|
};
|
|
50
58
|
readonly heading2: {
|
|
59
|
+
readonly fontFamily: "Inter";
|
|
51
60
|
readonly fontSize: 24;
|
|
52
61
|
readonly fontWeight: "500";
|
|
53
62
|
readonly lineHeight: 32;
|
|
54
63
|
readonly letterSpacing: -1;
|
|
55
64
|
};
|
|
56
65
|
readonly heading2SemiBold: {
|
|
66
|
+
readonly fontFamily: "Inter";
|
|
57
67
|
readonly fontSize: 24;
|
|
58
68
|
readonly fontWeight: "600";
|
|
59
69
|
readonly lineHeight: 32;
|
|
60
70
|
readonly letterSpacing: -1;
|
|
61
71
|
};
|
|
62
72
|
readonly heading3: {
|
|
73
|
+
readonly fontFamily: "Inter";
|
|
63
74
|
readonly fontSize: 20;
|
|
64
75
|
readonly fontWeight: "500";
|
|
65
76
|
readonly lineHeight: 28;
|
|
66
77
|
readonly letterSpacing: -1;
|
|
67
78
|
};
|
|
68
79
|
readonly heading3SemiBold: {
|
|
80
|
+
readonly fontFamily: "Inter";
|
|
69
81
|
readonly fontSize: 20;
|
|
70
82
|
readonly fontWeight: "600";
|
|
71
83
|
readonly lineHeight: 28;
|
|
72
84
|
readonly letterSpacing: -1;
|
|
73
85
|
};
|
|
74
86
|
readonly heading4: {
|
|
87
|
+
readonly fontFamily: "Inter";
|
|
75
88
|
readonly fontSize: 18;
|
|
76
89
|
readonly fontWeight: "500";
|
|
77
90
|
readonly lineHeight: 26;
|
|
78
91
|
readonly letterSpacing: -0.5;
|
|
79
92
|
};
|
|
80
93
|
readonly heading4SemiBold: {
|
|
94
|
+
readonly fontFamily: "Inter";
|
|
81
95
|
readonly fontSize: 18;
|
|
82
96
|
readonly fontWeight: "600";
|
|
83
97
|
readonly lineHeight: 26;
|
|
84
98
|
readonly letterSpacing: -0.5;
|
|
85
99
|
};
|
|
86
100
|
readonly body1: {
|
|
101
|
+
readonly fontFamily: "Inter";
|
|
87
102
|
readonly fontSize: 16;
|
|
88
103
|
readonly fontWeight: "500";
|
|
89
104
|
readonly lineHeight: 24;
|
|
90
105
|
readonly letterSpacing: 0;
|
|
91
106
|
};
|
|
92
107
|
readonly body1SemiBold: {
|
|
108
|
+
readonly fontFamily: "Inter";
|
|
93
109
|
readonly fontSize: 16;
|
|
94
110
|
readonly fontWeight: "600";
|
|
95
111
|
readonly lineHeight: 24;
|
|
96
112
|
readonly letterSpacing: 0;
|
|
97
113
|
};
|
|
98
114
|
readonly body2: {
|
|
115
|
+
readonly fontFamily: "Inter";
|
|
99
116
|
readonly fontSize: 14;
|
|
100
117
|
readonly fontWeight: "500";
|
|
101
118
|
readonly lineHeight: 20;
|
|
102
119
|
readonly letterSpacing: 0;
|
|
103
120
|
};
|
|
104
121
|
readonly body2SemiBold: {
|
|
122
|
+
readonly fontFamily: "Inter";
|
|
105
123
|
readonly fontSize: 14;
|
|
106
124
|
readonly fontWeight: "600";
|
|
107
125
|
readonly lineHeight: 20;
|
|
108
126
|
readonly letterSpacing: 0;
|
|
109
127
|
};
|
|
110
128
|
readonly body3: {
|
|
129
|
+
readonly fontFamily: "Inter";
|
|
111
130
|
readonly fontSize: 12;
|
|
112
131
|
readonly fontWeight: "500";
|
|
113
132
|
readonly lineHeight: 16;
|
|
114
133
|
readonly letterSpacing: 0;
|
|
115
134
|
};
|
|
116
135
|
readonly body3SemiBold: {
|
|
136
|
+
readonly fontFamily: "Inter";
|
|
117
137
|
readonly fontSize: 12;
|
|
118
138
|
readonly fontWeight: "600";
|
|
119
139
|
readonly lineHeight: 16;
|
|
120
140
|
readonly letterSpacing: 0;
|
|
121
141
|
};
|
|
122
142
|
readonly body4: {
|
|
143
|
+
readonly fontFamily: "Inter";
|
|
123
144
|
readonly fontSize: 10;
|
|
124
145
|
readonly fontWeight: "500";
|
|
125
146
|
readonly lineHeight: 16;
|
|
126
147
|
readonly letterSpacing: 0;
|
|
127
148
|
};
|
|
128
149
|
readonly body4SemiBold: {
|
|
150
|
+
readonly fontFamily: "Inter";
|
|
129
151
|
readonly fontSize: 10;
|
|
130
152
|
readonly fontWeight: "600";
|
|
131
153
|
readonly lineHeight: 16;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.xl.d.ts","sourceRoot":"","sources":["../../../../src/themes/js/typographies/typography.xl.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"typography.xl.d.ts","sourceRoot":"","sources":["../../../../src/themes/js/typographies/typography.xl.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEM,CAAC"}
|