@rescui/typography 0.12.0 → 0.13.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/lib/font-jb-sans-auto-cn-cdn.css +37 -0
- package/lib/font-jb-sans-auto.css +11 -6
- package/lib/font-jb-sans-cn-cdn.css +27 -0
- package/lib/font-jb-sans-variable-cn-cdn.css +9 -0
- package/lib/font-jb-sans-variable.css +4 -3
- package/lib/font-jb-sans.css +9 -3
- package/lib/index.css +24 -24
- package/lib/mixins.p.css +24 -24
- package/lib/mixins.pcss +24 -24
- package/package.json +4 -4
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* Light weight */
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: 'JetBrains Sans';
|
|
4
|
+
src: url('https://resources.jetbrains.com.cn/storage/jetbrains-sans/google-fonts/v1.308/webfonts/JetBrainsSans-Light.woff2') format('woff2'),
|
|
5
|
+
url('https://resources.jetbrains.com.cn/storage/jetbrains-sans/google-fonts/v1.308/webfonts/JetBrainsSans-Light.woff') format('woff');
|
|
6
|
+
font-weight: 300;
|
|
7
|
+
font-style: normal;
|
|
8
|
+
}
|
|
9
|
+
/* Regular weight */
|
|
10
|
+
@font-face {
|
|
11
|
+
font-family: 'JetBrains Sans';
|
|
12
|
+
src: url('https://resources.jetbrains.com.cn/storage/jetbrains-sans/google-fonts/v1.308/webfonts/JetBrainsSans-Regular.woff2') format('woff2'),
|
|
13
|
+
url('https://resources.jetbrains.com.cn/storage/jetbrains-sans/google-fonts/v1.308/webfonts/JetBrainsSans-Regular.woff') format('woff');
|
|
14
|
+
font-weight: 400;
|
|
15
|
+
font-style: normal;
|
|
16
|
+
}
|
|
17
|
+
/* SemiBold weight */
|
|
18
|
+
@font-face {
|
|
19
|
+
font-family: 'JetBrains Sans';
|
|
20
|
+
src: url('https://resources.jetbrains.com.cn/storage/jetbrains-sans/google-fonts/v1.308/webfonts/JetBrainsSans-SemiBold.woff2') format('woff2'),
|
|
21
|
+
url('https://resources.jetbrains.com.cn/storage/jetbrains-sans/google-fonts/v1.308/webfonts/JetBrainsSans-SemiBold.woff') format('woff');
|
|
22
|
+
font-weight: 600;
|
|
23
|
+
font-style: normal;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@supports (font-variation-settings: normal) {
|
|
27
|
+
@font-face {
|
|
28
|
+
font-family: 'JetBrains Sans';
|
|
29
|
+
src: url('https://resources.jetbrains.com.cn/storage/jetbrains-sans/google-fonts/v1.308/variable/JetBrainsSans%5Bwght%5D.woff2') format('woff2 supports variations'),
|
|
30
|
+
url('https://resources.jetbrains.com.cn/storage/jetbrains-sans/google-fonts/v1.308/variable/JetBrainsSans%5Bwght%5D.woff2') format('woff2-variations'),
|
|
31
|
+
url('https://resources.jetbrains.com.cn/storage/jetbrains-sans/google-fonts/v1.308/variable/JetBrainsSans%5Bwght%5D.ttf') format("truetype-variations");
|
|
32
|
+
|
|
33
|
+
font-weight: 100 900;
|
|
34
|
+
font-style: normal;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
}
|
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
/* Light weight */
|
|
2
2
|
@font-face {
|
|
3
3
|
font-family: 'JetBrains Sans';
|
|
4
|
-
src: url('https://resources.jetbrains.com/storage/jetbrains-sans/
|
|
4
|
+
src: url('https://resources.jetbrains.com/storage/jetbrains-sans/google-fonts/v1.308/webfonts/JetBrainsSans-Light.woff2') format('woff2'),
|
|
5
|
+
url('https://resources.jetbrains.com/storage/jetbrains-sans/google-fonts/v1.308/webfonts/JetBrainsSans-Light.woff') format('woff');
|
|
5
6
|
font-weight: 300;
|
|
6
7
|
font-style: normal;
|
|
7
8
|
}
|
|
8
9
|
/* Regular weight */
|
|
9
10
|
@font-face {
|
|
10
11
|
font-family: 'JetBrains Sans';
|
|
11
|
-
src: url('https://resources.jetbrains.com/storage/jetbrains-sans/
|
|
12
|
+
src: url('https://resources.jetbrains.com/storage/jetbrains-sans/google-fonts/v1.308/webfonts/JetBrainsSans-Regular.woff2') format('woff2'),
|
|
13
|
+
url('https://resources.jetbrains.com/storage/jetbrains-sans/google-fonts/v1.308/webfonts/JetBrainsSans-Regular.woff') format('woff');
|
|
12
14
|
font-weight: 400;
|
|
13
15
|
font-style: normal;
|
|
14
16
|
}
|
|
15
17
|
/* SemiBold weight */
|
|
16
18
|
@font-face {
|
|
17
19
|
font-family: 'JetBrains Sans';
|
|
18
|
-
src: url('https://resources.jetbrains.com/storage/jetbrains-sans/
|
|
20
|
+
src: url('https://resources.jetbrains.com/storage/jetbrains-sans/google-fonts/v1.308/webfonts/JetBrainsSans-SemiBold.woff2') format('woff2'),
|
|
21
|
+
url('https://resources.jetbrains.com/storage/jetbrains-sans/google-fonts/v1.308/webfonts/JetBrainsSans-SemiBold.woff') format('woff');
|
|
19
22
|
font-weight: 600;
|
|
20
23
|
font-style: normal;
|
|
21
24
|
}
|
|
@@ -23,10 +26,12 @@
|
|
|
23
26
|
@supports (font-variation-settings: normal) {
|
|
24
27
|
@font-face {
|
|
25
28
|
font-family: 'JetBrains Sans';
|
|
26
|
-
src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff2') format('woff2 supports variations'),
|
|
27
|
-
url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff2')
|
|
28
|
-
url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.
|
|
29
|
+
src: url('https://resources.jetbrains.com/storage/jetbrains-sans/google-fonts/v1.308/variable/JetBrainsSans%5Bwght%5D.woff2') format('woff2 supports variations'),
|
|
30
|
+
url('https://resources.jetbrains.com/storage/jetbrains-sans/google-fonts/v1.308/variable/JetBrainsSans%5Bwght%5D.woff2') format('woff2-variations'),
|
|
31
|
+
url('https://resources.jetbrains.com/storage/jetbrains-sans/google-fonts/v1.308/variable/JetBrainsSans%5Bwght%5D.ttf') format("truetype-variations");
|
|
32
|
+
|
|
29
33
|
font-weight: 100 900;
|
|
30
34
|
font-style: normal;
|
|
31
35
|
}
|
|
36
|
+
|
|
32
37
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* Light weight */
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: 'JetBrains Sans';
|
|
4
|
+
src: url('https://resources.jetbrains.com.cn/storage/jetbrains-sans/google-fonts/v1.308/webfonts/JetBrainsSans-Light.woff2') format('woff2'),
|
|
5
|
+
url('https://resources.jetbrains.com.cn/storage/jetbrains-sans/google-fonts/v1.308/webfonts/JetBrainsSans-Light.woff') format('woff');
|
|
6
|
+
|
|
7
|
+
font-weight: 300;
|
|
8
|
+
font-style: normal;
|
|
9
|
+
}
|
|
10
|
+
/* Regular weight */
|
|
11
|
+
@font-face {
|
|
12
|
+
font-family: 'JetBrains Sans';
|
|
13
|
+
src: url('https://resources.jetbrains.com.cn/storage/jetbrains-sans/google-fonts/v1.308/webfonts/JetBrainsSans-Regular.woff2') format('woff2'),
|
|
14
|
+
url('https://resources.jetbrains.com.cn/storage/jetbrains-sans/google-fonts/v1.308/webfonts/JetBrainsSans-Regular.woff') format('woff');
|
|
15
|
+
|
|
16
|
+
font-weight: 400;
|
|
17
|
+
font-style: normal;
|
|
18
|
+
}
|
|
19
|
+
/* SemiBold weight */
|
|
20
|
+
@font-face {
|
|
21
|
+
font-family: 'JetBrains Sans';
|
|
22
|
+
src: url('https://resources.jetbrains.com.cn/storage/jetbrains-sans/google-fonts/v1.308/webfonts/JetBrainsSans-SemiBold.woff2') format('woff2'),
|
|
23
|
+
url('https://resources.jetbrains.com.cn/storage/jetbrains-sans/google-fonts/v1.308/webfonts/JetBrainsSans-SemiBold.woff') format('woff');
|
|
24
|
+
|
|
25
|
+
font-weight: 600;
|
|
26
|
+
font-style: normal;
|
|
27
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: 'JetBrains Sans';
|
|
3
|
+
src: url('https://resources.jetbrains.com.cn/storage/jetbrains-sans/google-fonts/v1.308/variable/JetBrainsSans%5Bwght%5D.woff2') format('woff2 supports variations'),
|
|
4
|
+
url('https://resources.jetbrains.com.cn/storage/jetbrains-sans/google-fonts/v1.308/variable/JetBrainsSans%5Bwght%5D.woff2') format('woff2-variations'),
|
|
5
|
+
url('https://resources.jetbrains.com.cn/storage/jetbrains-sans/google-fonts/v1.308/variable/JetBrainsSans%5Bwght%5D.ttf') format("truetype-variations");
|
|
6
|
+
|
|
7
|
+
font-weight: 100 900;
|
|
8
|
+
font-style: normal;
|
|
9
|
+
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: 'JetBrains Sans';
|
|
3
|
-
src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff2') format('woff2 supports variations'),
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
src: url('https://resources.jetbrains.com/storage/jetbrains-sans/google-fonts/v1.308/variable/JetBrainsSans%5Bwght%5D.woff2') format('woff2 supports variations'),
|
|
4
|
+
url('https://resources.jetbrains.com/storage/jetbrains-sans/google-fonts/v1.308/variable/JetBrainsSans%5Bwght%5D.woff2') format('woff2-variations'),
|
|
5
|
+
url('https://resources.jetbrains.com/storage/jetbrains-sans/google-fonts/v1.308/variable/JetBrainsSans%5Bwght%5D.ttf') format("truetype-variations");
|
|
6
|
+
|
|
6
7
|
font-weight: 100 900;
|
|
7
8
|
font-style: normal;
|
|
8
9
|
}
|
package/lib/font-jb-sans.css
CHANGED
|
@@ -1,21 +1,27 @@
|
|
|
1
1
|
/* Light weight */
|
|
2
2
|
@font-face {
|
|
3
3
|
font-family: 'JetBrains Sans';
|
|
4
|
-
src: url('https://resources.jetbrains.com/storage/jetbrains-sans/
|
|
4
|
+
src: url('https://resources.jetbrains.com/storage/jetbrains-sans/google-fonts/v1.308/webfonts/JetBrainsSans-Light.woff2') format('woff2'),
|
|
5
|
+
url('https://resources.jetbrains.com/storage/jetbrains-sans/google-fonts/v1.308/webfonts/JetBrainsSans-Light.woff') format('woff');
|
|
6
|
+
|
|
5
7
|
font-weight: 300;
|
|
6
8
|
font-style: normal;
|
|
7
9
|
}
|
|
8
10
|
/* Regular weight */
|
|
9
11
|
@font-face {
|
|
10
12
|
font-family: 'JetBrains Sans';
|
|
11
|
-
src: url('https://resources.jetbrains.com/storage/jetbrains-sans/
|
|
13
|
+
src: url('https://resources.jetbrains.com/storage/jetbrains-sans/google-fonts/v1.308/webfonts/JetBrainsSans-Regular.woff2') format('woff2'),
|
|
14
|
+
url('https://resources.jetbrains.com/storage/jetbrains-sans/google-fonts/v1.308/webfonts/JetBrainsSans-Regular.woff') format('woff');
|
|
15
|
+
|
|
12
16
|
font-weight: 400;
|
|
13
17
|
font-style: normal;
|
|
14
18
|
}
|
|
15
19
|
/* SemiBold weight */
|
|
16
20
|
@font-face {
|
|
17
21
|
font-family: 'JetBrains Sans';
|
|
18
|
-
src: url('https://resources.jetbrains.com/storage/jetbrains-sans/
|
|
22
|
+
src: url('https://resources.jetbrains.com/storage/jetbrains-sans/google-fonts/v1.308/webfonts/JetBrainsSans-SemiBold.woff2') format('woff2'),
|
|
23
|
+
url('https://resources.jetbrains.com/storage/jetbrains-sans/google-fonts/v1.308/webfonts/JetBrainsSans-SemiBold.woff') format('woff');
|
|
24
|
+
|
|
19
25
|
font-weight: 600;
|
|
20
26
|
font-style: normal;
|
|
21
27
|
}
|
package/lib/index.css
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
font-feature-settings:"kern", "liga", "calt";
|
|
12
12
|
font-size:142px;
|
|
13
13
|
font-size:var(--rs-super-hero-font-size, 142px);
|
|
14
|
-
font-weight:
|
|
15
|
-
font-weight:var(--rs-font-weight-semi-bold,
|
|
14
|
+
font-weight:600;
|
|
15
|
+
font-weight:var(--rs-font-weight-semi-bold, 600);
|
|
16
16
|
line-height:142px;
|
|
17
17
|
line-height:var(--rs-super-hero-line-height, 142px);
|
|
18
18
|
}
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
font-feature-settings:"kern", "liga", "calt";
|
|
55
55
|
font-size:69px;
|
|
56
56
|
font-size:var(--rs-digits-1-font-size, 69px);
|
|
57
|
-
font-weight:
|
|
58
|
-
font-weight:var(--rs-font-weight-light,
|
|
57
|
+
font-weight:300;
|
|
58
|
+
font-weight:var(--rs-font-weight-light, 300);
|
|
59
59
|
line-height:71px;
|
|
60
60
|
line-height:var(--rs-digits-1-line-height, 71px);
|
|
61
61
|
}
|
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
font-feature-settings:"kern", "liga", "calt";
|
|
90
90
|
font-size:40px;
|
|
91
91
|
font-size:var(--rs-digits-2-font-size, 40px);
|
|
92
|
-
font-weight:
|
|
93
|
-
font-weight:var(--rs-font-weight-light,
|
|
92
|
+
font-weight:300;
|
|
93
|
+
font-weight:var(--rs-font-weight-light, 300);
|
|
94
94
|
line-height:44px;
|
|
95
95
|
line-height:var(--rs-digits-2-line-height, 44px);
|
|
96
96
|
}
|
|
@@ -117,8 +117,8 @@
|
|
|
117
117
|
font-feature-settings:"kern", "liga", "calt";
|
|
118
118
|
font-size:72px;
|
|
119
119
|
font-size:var(--rs-hero-font-size, 72px);
|
|
120
|
-
font-weight:
|
|
121
|
-
font-weight:var(--rs-font-weight-semi-bold,
|
|
120
|
+
font-weight:600;
|
|
121
|
+
font-weight:var(--rs-font-weight-semi-bold, 600);
|
|
122
122
|
line-height:72px;
|
|
123
123
|
line-height:var(--rs-hero-line-height, 72px);
|
|
124
124
|
}
|
|
@@ -152,8 +152,8 @@
|
|
|
152
152
|
font-feature-settings:"kern", "liga", "calt";
|
|
153
153
|
font-size:39px;
|
|
154
154
|
font-size:var(--rs-subtitle-1-font-size, 39px);
|
|
155
|
-
font-weight:
|
|
156
|
-
font-weight:var(--rs-font-weight-light,
|
|
155
|
+
font-weight:300;
|
|
156
|
+
font-weight:var(--rs-font-weight-light, 300);
|
|
157
157
|
line-height:49px;
|
|
158
158
|
line-height:var(--rs-subtitle-1-line-height, 49px);
|
|
159
159
|
}
|
|
@@ -183,8 +183,8 @@
|
|
|
183
183
|
font-feature-settings:"kern", "liga", "calt";
|
|
184
184
|
font-size:43px;
|
|
185
185
|
font-size:var(--rs-h1-font-size, 43px);
|
|
186
|
-
font-weight:
|
|
187
|
-
font-weight:var(--rs-font-weight-semi-bold,
|
|
186
|
+
font-weight:600;
|
|
187
|
+
font-weight:var(--rs-font-weight-semi-bold, 600);
|
|
188
188
|
line-height:49px;
|
|
189
189
|
line-height:var(--rs-h1-line-height, 49px);
|
|
190
190
|
}
|
|
@@ -215,8 +215,8 @@
|
|
|
215
215
|
font-feature-settings:"kern", "liga", "calt";
|
|
216
216
|
font-size:29px;
|
|
217
217
|
font-size:var(--rs-subtitle-2-font-size, 29px);
|
|
218
|
-
font-weight:
|
|
219
|
-
font-weight:var(--rs-font-weight-light,
|
|
218
|
+
font-weight:300;
|
|
219
|
+
font-weight:var(--rs-font-weight-light, 300);
|
|
220
220
|
line-height:39px;
|
|
221
221
|
line-height:var(--rs-subtitle-2-line-height, 39px);
|
|
222
222
|
}
|
|
@@ -246,8 +246,8 @@
|
|
|
246
246
|
font-feature-settings:"kern", "liga", "calt";
|
|
247
247
|
font-size:35px;
|
|
248
248
|
font-size:var(--rs-h2-font-size, 35px);
|
|
249
|
-
font-weight:
|
|
250
|
-
font-weight:var(--rs-font-weight-semi-bold,
|
|
249
|
+
font-weight:600;
|
|
250
|
+
font-weight:var(--rs-font-weight-semi-bold, 600);
|
|
251
251
|
line-height:42px;
|
|
252
252
|
line-height:var(--rs-h2-line-height, 42px);
|
|
253
253
|
}
|
|
@@ -277,8 +277,8 @@
|
|
|
277
277
|
font-feature-settings:"kern", "liga", "calt";
|
|
278
278
|
font-size:20px;
|
|
279
279
|
font-size:var(--rs-h3-font-size, 20px);
|
|
280
|
-
font-weight:
|
|
281
|
-
font-weight:var(--rs-font-weight-semi-bold,
|
|
280
|
+
font-weight:600;
|
|
281
|
+
font-weight:var(--rs-font-weight-semi-bold, 600);
|
|
282
282
|
line-height:28px;
|
|
283
283
|
line-height:var(--rs-h3-line-height, 28px);
|
|
284
284
|
color:#19191C;
|
|
@@ -353,8 +353,8 @@
|
|
|
353
353
|
font-feature-settings:"kern", "liga", "calt";
|
|
354
354
|
font-size:16px;
|
|
355
355
|
font-size:var(--rs-h4-font-size, 16px);
|
|
356
|
-
font-weight:
|
|
357
|
-
font-weight:var(--rs-font-weight-semi-bold,
|
|
356
|
+
font-weight:600;
|
|
357
|
+
font-weight:var(--rs-font-weight-semi-bold, 600);
|
|
358
358
|
line-height:24px;
|
|
359
359
|
line-height:var(--rs-h4-line-height, 24px);
|
|
360
360
|
color:#19191C;
|
|
@@ -434,8 +434,8 @@
|
|
|
434
434
|
font-feature-settings:"kern", "liga", "calt";
|
|
435
435
|
font-size:13px;
|
|
436
436
|
font-size:var(--rs-h5-font-size, 13px);
|
|
437
|
-
font-weight:
|
|
438
|
-
font-weight:var(--rs-font-weight-semi-bold,
|
|
437
|
+
font-weight:600;
|
|
438
|
+
font-weight:var(--rs-font-weight-semi-bold, 600);
|
|
439
439
|
line-height:20px;
|
|
440
440
|
line-height:var(--rs-h5-line-height, 20px);
|
|
441
441
|
color:#19191C;
|
|
@@ -460,8 +460,8 @@
|
|
|
460
460
|
font-feature-settings:"kern", "liga", "calt";
|
|
461
461
|
font-size:13px;
|
|
462
462
|
font-size:var(--rs-overline-font-size, 13px);
|
|
463
|
-
font-weight:
|
|
464
|
-
font-weight:var(--rs-font-weight-semi-bold,
|
|
463
|
+
font-weight:600;
|
|
464
|
+
font-weight:var(--rs-font-weight-semi-bold, 600);
|
|
465
465
|
line-height:18px;
|
|
466
466
|
line-height:var(--rs-overline-line-height, 18px);
|
|
467
467
|
}
|
package/lib/mixins.p.css
CHANGED
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
font-size:142px;
|
|
58
58
|
|
|
59
59
|
font-size:var(--rs-super-hero-font-size, 142px);
|
|
60
|
-
font-weight:
|
|
61
|
-
font-weight:var(--rs-font-weight-semi-bold,
|
|
60
|
+
font-weight:600;
|
|
61
|
+
font-weight:var(--rs-font-weight-semi-bold, 600);
|
|
62
62
|
|
|
63
63
|
line-height:142px;
|
|
64
64
|
|
|
@@ -105,8 +105,8 @@
|
|
|
105
105
|
font-size:69px;
|
|
106
106
|
|
|
107
107
|
font-size:var(--rs-digits-1-font-size, 69px);
|
|
108
|
-
font-weight:
|
|
109
|
-
font-weight:var(--rs-font-weight-light,
|
|
108
|
+
font-weight:300;
|
|
109
|
+
font-weight:var(--rs-font-weight-light, 300);
|
|
110
110
|
line-height:71px;
|
|
111
111
|
line-height:var(--rs-digits-1-line-height, 71px);
|
|
112
112
|
|
|
@@ -144,8 +144,8 @@
|
|
|
144
144
|
font-size:40px;
|
|
145
145
|
|
|
146
146
|
font-size:var(--rs-digits-2-font-size, 40px);
|
|
147
|
-
font-weight:
|
|
148
|
-
font-weight:var(--rs-font-weight-light,
|
|
147
|
+
font-weight:300;
|
|
148
|
+
font-weight:var(--rs-font-weight-light, 300);
|
|
149
149
|
line-height:44px;
|
|
150
150
|
line-height:var(--rs-digits-2-line-height, 44px);
|
|
151
151
|
|
|
@@ -176,8 +176,8 @@
|
|
|
176
176
|
font-size:72px;
|
|
177
177
|
|
|
178
178
|
font-size:var(--rs-hero-font-size, 72px);
|
|
179
|
-
font-weight:
|
|
180
|
-
font-weight:var(--rs-font-weight-semi-bold,
|
|
179
|
+
font-weight:600;
|
|
180
|
+
font-weight:var(--rs-font-weight-semi-bold, 600);
|
|
181
181
|
|
|
182
182
|
line-height:72px;
|
|
183
183
|
|
|
@@ -216,8 +216,8 @@
|
|
|
216
216
|
font-size:39px;
|
|
217
217
|
|
|
218
218
|
font-size:var(--rs-subtitle-1-font-size, 39px);
|
|
219
|
-
font-weight:
|
|
220
|
-
font-weight:var(--rs-font-weight-light,
|
|
219
|
+
font-weight:300;
|
|
220
|
+
font-weight:var(--rs-font-weight-light, 300);
|
|
221
221
|
line-height:49px;
|
|
222
222
|
line-height:var(--rs-subtitle-1-line-height, 49px);
|
|
223
223
|
|
|
@@ -249,8 +249,8 @@
|
|
|
249
249
|
font-size:43px;
|
|
250
250
|
|
|
251
251
|
font-size:var(--rs-h1-font-size, 43px);
|
|
252
|
-
font-weight:
|
|
253
|
-
font-weight:var(--rs-font-weight-semi-bold,
|
|
252
|
+
font-weight:600;
|
|
253
|
+
font-weight:var(--rs-font-weight-semi-bold, 600);
|
|
254
254
|
|
|
255
255
|
line-height:49px;
|
|
256
256
|
|
|
@@ -285,8 +285,8 @@
|
|
|
285
285
|
font-size:29px;
|
|
286
286
|
|
|
287
287
|
font-size:var(--rs-subtitle-2-font-size, 29px);
|
|
288
|
-
font-weight:
|
|
289
|
-
font-weight:var(--rs-font-weight-light,
|
|
288
|
+
font-weight:300;
|
|
289
|
+
font-weight:var(--rs-font-weight-light, 300);
|
|
290
290
|
line-height:39px;
|
|
291
291
|
line-height:var(--rs-subtitle-2-line-height, 39px);
|
|
292
292
|
|
|
@@ -318,8 +318,8 @@
|
|
|
318
318
|
font-size:35px;
|
|
319
319
|
|
|
320
320
|
font-size:var(--rs-h2-font-size, 35px);
|
|
321
|
-
font-weight:
|
|
322
|
-
font-weight:var(--rs-font-weight-semi-bold,
|
|
321
|
+
font-weight:600;
|
|
322
|
+
font-weight:var(--rs-font-weight-semi-bold, 600);
|
|
323
323
|
|
|
324
324
|
line-height:42px;
|
|
325
325
|
|
|
@@ -353,8 +353,8 @@
|
|
|
353
353
|
font-size:20px;
|
|
354
354
|
|
|
355
355
|
font-size:var(--rs-h3-font-size, 20px);
|
|
356
|
-
font-weight:
|
|
357
|
-
font-weight:var(--rs-font-weight-semi-bold,
|
|
356
|
+
font-weight:600;
|
|
357
|
+
font-weight:var(--rs-font-weight-semi-bold, 600);
|
|
358
358
|
line-height:28px;
|
|
359
359
|
line-height:var(--rs-h3-line-height, 28px);
|
|
360
360
|
}
|
|
@@ -408,8 +408,8 @@
|
|
|
408
408
|
font-size:16px;
|
|
409
409
|
|
|
410
410
|
font-size:var(--rs-h4-font-size, 16px);
|
|
411
|
-
font-weight:
|
|
412
|
-
font-weight:var(--rs-font-weight-semi-bold,
|
|
411
|
+
font-weight:600;
|
|
412
|
+
font-weight:var(--rs-font-weight-semi-bold, 600);
|
|
413
413
|
|
|
414
414
|
line-height:24px;
|
|
415
415
|
|
|
@@ -469,8 +469,8 @@
|
|
|
469
469
|
font-size:13px;
|
|
470
470
|
|
|
471
471
|
font-size:var(--rs-h5-font-size, 13px);
|
|
472
|
-
font-weight:
|
|
473
|
-
font-weight:var(--rs-font-weight-semi-bold,
|
|
472
|
+
font-weight:600;
|
|
473
|
+
font-weight:var(--rs-font-weight-semi-bold, 600);
|
|
474
474
|
|
|
475
475
|
line-height:20px;
|
|
476
476
|
|
|
@@ -505,8 +505,8 @@
|
|
|
505
505
|
font-size:13px;
|
|
506
506
|
|
|
507
507
|
font-size:var(--rs-overline-font-size, 13px);
|
|
508
|
-
font-weight:
|
|
509
|
-
font-weight:var(--rs-font-weight-semi-bold,
|
|
508
|
+
font-weight:600;
|
|
509
|
+
font-weight:var(--rs-font-weight-semi-bold, 600);
|
|
510
510
|
|
|
511
511
|
line-height:18px;
|
|
512
512
|
|
package/lib/mixins.pcss
CHANGED
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
font-size:142px;
|
|
58
58
|
|
|
59
59
|
font-size:var(--rs-super-hero-font-size, 142px);
|
|
60
|
-
font-weight:
|
|
61
|
-
font-weight:var(--rs-font-weight-semi-bold,
|
|
60
|
+
font-weight:600;
|
|
61
|
+
font-weight:var(--rs-font-weight-semi-bold, 600);
|
|
62
62
|
|
|
63
63
|
line-height:142px;
|
|
64
64
|
|
|
@@ -105,8 +105,8 @@
|
|
|
105
105
|
font-size:69px;
|
|
106
106
|
|
|
107
107
|
font-size:var(--rs-digits-1-font-size, 69px);
|
|
108
|
-
font-weight:
|
|
109
|
-
font-weight:var(--rs-font-weight-light,
|
|
108
|
+
font-weight:300;
|
|
109
|
+
font-weight:var(--rs-font-weight-light, 300);
|
|
110
110
|
line-height:71px;
|
|
111
111
|
line-height:var(--rs-digits-1-line-height, 71px);
|
|
112
112
|
|
|
@@ -144,8 +144,8 @@
|
|
|
144
144
|
font-size:40px;
|
|
145
145
|
|
|
146
146
|
font-size:var(--rs-digits-2-font-size, 40px);
|
|
147
|
-
font-weight:
|
|
148
|
-
font-weight:var(--rs-font-weight-light,
|
|
147
|
+
font-weight:300;
|
|
148
|
+
font-weight:var(--rs-font-weight-light, 300);
|
|
149
149
|
line-height:44px;
|
|
150
150
|
line-height:var(--rs-digits-2-line-height, 44px);
|
|
151
151
|
|
|
@@ -176,8 +176,8 @@
|
|
|
176
176
|
font-size:72px;
|
|
177
177
|
|
|
178
178
|
font-size:var(--rs-hero-font-size, 72px);
|
|
179
|
-
font-weight:
|
|
180
|
-
font-weight:var(--rs-font-weight-semi-bold,
|
|
179
|
+
font-weight:600;
|
|
180
|
+
font-weight:var(--rs-font-weight-semi-bold, 600);
|
|
181
181
|
|
|
182
182
|
line-height:72px;
|
|
183
183
|
|
|
@@ -216,8 +216,8 @@
|
|
|
216
216
|
font-size:39px;
|
|
217
217
|
|
|
218
218
|
font-size:var(--rs-subtitle-1-font-size, 39px);
|
|
219
|
-
font-weight:
|
|
220
|
-
font-weight:var(--rs-font-weight-light,
|
|
219
|
+
font-weight:300;
|
|
220
|
+
font-weight:var(--rs-font-weight-light, 300);
|
|
221
221
|
line-height:49px;
|
|
222
222
|
line-height:var(--rs-subtitle-1-line-height, 49px);
|
|
223
223
|
|
|
@@ -249,8 +249,8 @@
|
|
|
249
249
|
font-size:43px;
|
|
250
250
|
|
|
251
251
|
font-size:var(--rs-h1-font-size, 43px);
|
|
252
|
-
font-weight:
|
|
253
|
-
font-weight:var(--rs-font-weight-semi-bold,
|
|
252
|
+
font-weight:600;
|
|
253
|
+
font-weight:var(--rs-font-weight-semi-bold, 600);
|
|
254
254
|
|
|
255
255
|
line-height:49px;
|
|
256
256
|
|
|
@@ -285,8 +285,8 @@
|
|
|
285
285
|
font-size:29px;
|
|
286
286
|
|
|
287
287
|
font-size:var(--rs-subtitle-2-font-size, 29px);
|
|
288
|
-
font-weight:
|
|
289
|
-
font-weight:var(--rs-font-weight-light,
|
|
288
|
+
font-weight:300;
|
|
289
|
+
font-weight:var(--rs-font-weight-light, 300);
|
|
290
290
|
line-height:39px;
|
|
291
291
|
line-height:var(--rs-subtitle-2-line-height, 39px);
|
|
292
292
|
|
|
@@ -318,8 +318,8 @@
|
|
|
318
318
|
font-size:35px;
|
|
319
319
|
|
|
320
320
|
font-size:var(--rs-h2-font-size, 35px);
|
|
321
|
-
font-weight:
|
|
322
|
-
font-weight:var(--rs-font-weight-semi-bold,
|
|
321
|
+
font-weight:600;
|
|
322
|
+
font-weight:var(--rs-font-weight-semi-bold, 600);
|
|
323
323
|
|
|
324
324
|
line-height:42px;
|
|
325
325
|
|
|
@@ -353,8 +353,8 @@
|
|
|
353
353
|
font-size:20px;
|
|
354
354
|
|
|
355
355
|
font-size:var(--rs-h3-font-size, 20px);
|
|
356
|
-
font-weight:
|
|
357
|
-
font-weight:var(--rs-font-weight-semi-bold,
|
|
356
|
+
font-weight:600;
|
|
357
|
+
font-weight:var(--rs-font-weight-semi-bold, 600);
|
|
358
358
|
line-height:28px;
|
|
359
359
|
line-height:var(--rs-h3-line-height, 28px);
|
|
360
360
|
}
|
|
@@ -408,8 +408,8 @@
|
|
|
408
408
|
font-size:16px;
|
|
409
409
|
|
|
410
410
|
font-size:var(--rs-h4-font-size, 16px);
|
|
411
|
-
font-weight:
|
|
412
|
-
font-weight:var(--rs-font-weight-semi-bold,
|
|
411
|
+
font-weight:600;
|
|
412
|
+
font-weight:var(--rs-font-weight-semi-bold, 600);
|
|
413
413
|
|
|
414
414
|
line-height:24px;
|
|
415
415
|
|
|
@@ -469,8 +469,8 @@
|
|
|
469
469
|
font-size:13px;
|
|
470
470
|
|
|
471
471
|
font-size:var(--rs-h5-font-size, 13px);
|
|
472
|
-
font-weight:
|
|
473
|
-
font-weight:var(--rs-font-weight-semi-bold,
|
|
472
|
+
font-weight:600;
|
|
473
|
+
font-weight:var(--rs-font-weight-semi-bold, 600);
|
|
474
474
|
|
|
475
475
|
line-height:20px;
|
|
476
476
|
|
|
@@ -505,8 +505,8 @@
|
|
|
505
505
|
font-size:13px;
|
|
506
506
|
|
|
507
507
|
font-size:var(--rs-overline-font-size, 13px);
|
|
508
|
-
font-weight:
|
|
509
|
-
font-weight:var(--rs-font-weight-semi-bold,
|
|
508
|
+
font-weight:600;
|
|
509
|
+
font-weight:var(--rs-font-weight-semi-bold, 600);
|
|
510
510
|
|
|
511
511
|
line-height:18px;
|
|
512
512
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/typography",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@babel/runtime-corejs3": "^7.14.0",
|
|
22
|
-
"@rescui/colors": "^0.1.
|
|
22
|
+
"@rescui/colors": "^0.1.10",
|
|
23
23
|
"bem-cn-fast": "^1.0.2",
|
|
24
24
|
"inter-ui": "^3.15.1"
|
|
25
25
|
},
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@rescui/postcss-preset-library": "^0.1.1",
|
|
32
32
|
"@rescui/scripts": "^0.2.2",
|
|
33
|
-
"@rescui/visual-regression": "^0.1.
|
|
33
|
+
"@rescui/visual-regression": "^0.1.1",
|
|
34
34
|
"case": "^1.6.3",
|
|
35
35
|
"fs-extra": "^7.0.1",
|
|
36
36
|
"postcss": "^8.2.13",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"build": "rescui-scripts build --no-css-modules && yarn run build-mixins && shx cp src/font-*.css lib",
|
|
41
41
|
"build-mixins": "rescui-scripts postcss --glob mixins.p.css --config ./.postcssrc-mixins.js --no-clean-out && shx mv lib/mixins.css lib/mixins.p.css && shx cp lib/mixins.p.css lib/mixins.pcss && shx rm lib/mixins.css.map"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "498f4f71458e1323b14f9182713a7bf213e4333a"
|
|
44
44
|
}
|