@rescui/typography 0.11.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.
@@ -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/JetBrainsSans-Light.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff') format('woff');
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/JetBrainsSans-Regular.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff') format('woff');
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/JetBrainsSans-SemiBold.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff') format('woff');
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') format('woff2-variations'),
28
- url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff') format('woff-variations');
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
- url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff2') format('woff2-variations'),
5
- url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff') format('woff-variations');
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
  }
@@ -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/JetBrainsSans-Light.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff') format('woff');
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/JetBrainsSans-Regular.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff') format('woff');
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/JetBrainsSans-SemiBold.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff') format('woff');
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:530;
15
- font-weight:var(--rs-font-weight-semi-bold, 530);
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:320;
58
- font-weight:var(--rs-font-weight-light, 320);
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:320;
93
- font-weight:var(--rs-font-weight-light, 320);
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:530;
121
- font-weight:var(--rs-font-weight-semi-bold, 530);
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
  }
@@ -145,14 +145,15 @@
145
145
  color:var(--rs-typography-color-hard, #FFFFFF);
146
146
  }
147
147
  .rs-subtitle-1{
148
+ letter-spacing:normal;
148
149
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
149
150
  font-family:var(--rs-font-family-headers, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
150
151
  -webkit-font-feature-settings:"kern", "liga", "calt";
151
152
  font-feature-settings:"kern", "liga", "calt";
152
153
  font-size:39px;
153
154
  font-size:var(--rs-subtitle-1-font-size, 39px);
154
- font-weight:320;
155
- font-weight:var(--rs-font-weight-light, 320);
155
+ font-weight:300;
156
+ font-weight:var(--rs-font-weight-light, 300);
156
157
  line-height:49px;
157
158
  line-height:var(--rs-subtitle-1-line-height, 49px);
158
159
  }
@@ -182,8 +183,8 @@
182
183
  font-feature-settings:"kern", "liga", "calt";
183
184
  font-size:43px;
184
185
  font-size:var(--rs-h1-font-size, 43px);
185
- font-weight:530;
186
- font-weight:var(--rs-font-weight-semi-bold, 530);
186
+ font-weight:600;
187
+ font-weight:var(--rs-font-weight-semi-bold, 600);
187
188
  line-height:49px;
188
189
  line-height:var(--rs-h1-line-height, 49px);
189
190
  }
@@ -207,14 +208,15 @@
207
208
  color:var(--rs-typography-color-hard, #FFFFFF);
208
209
  }
209
210
  .rs-subtitle-2{
211
+ letter-spacing:normal;
210
212
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
211
213
  font-family:var(--rs-font-family-headers, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
212
214
  -webkit-font-feature-settings:"kern", "liga", "calt";
213
215
  font-feature-settings:"kern", "liga", "calt";
214
216
  font-size:29px;
215
217
  font-size:var(--rs-subtitle-2-font-size, 29px);
216
- font-weight:320;
217
- font-weight:var(--rs-font-weight-light, 320);
218
+ font-weight:300;
219
+ font-weight:var(--rs-font-weight-light, 300);
218
220
  line-height:39px;
219
221
  line-height:var(--rs-subtitle-2-line-height, 39px);
220
222
  }
@@ -237,14 +239,15 @@
237
239
  color:var(--rs-typography-color-hard, #FFFFFF);
238
240
  }
239
241
  .rs-h2{
242
+ letter-spacing:normal;
240
243
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
241
244
  font-family:var(--rs-font-family-headers, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
242
245
  -webkit-font-feature-settings:"kern", "liga", "calt";
243
246
  font-feature-settings:"kern", "liga", "calt";
244
247
  font-size:35px;
245
248
  font-size:var(--rs-h2-font-size, 35px);
246
- font-weight:530;
247
- font-weight:var(--rs-font-weight-semi-bold, 530);
249
+ font-weight:600;
250
+ font-weight:var(--rs-font-weight-semi-bold, 600);
248
251
  line-height:42px;
249
252
  line-height:var(--rs-h2-line-height, 42px);
250
253
  }
@@ -274,8 +277,8 @@
274
277
  font-feature-settings:"kern", "liga", "calt";
275
278
  font-size:20px;
276
279
  font-size:var(--rs-h3-font-size, 20px);
277
- font-weight:530;
278
- font-weight:var(--rs-font-weight-semi-bold, 530);
280
+ font-weight:600;
281
+ font-weight:var(--rs-font-weight-semi-bold, 600);
279
282
  line-height:28px;
280
283
  line-height:var(--rs-h3-line-height, 28px);
281
284
  color:#19191C;
@@ -290,6 +293,7 @@
290
293
  color:var(--rs-typography-color-hard, #FFFFFF);
291
294
  }
292
295
  .rs-text-1{
296
+ letter-spacing:normal;
293
297
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
294
298
  font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
295
299
  -webkit-font-feature-settings:"kern", "liga", "calt";
@@ -342,14 +346,15 @@
342
346
  color:var(--rs-typography-color-pale, rgba(255,255,255,0.5));
343
347
  }
344
348
  .rs-h4{
349
+ letter-spacing:normal;
345
350
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
346
351
  font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
347
352
  -webkit-font-feature-settings:"kern", "liga", "calt";
348
353
  font-feature-settings:"kern", "liga", "calt";
349
354
  font-size:16px;
350
355
  font-size:var(--rs-h4-font-size, 16px);
351
- font-weight:530;
352
- font-weight:var(--rs-font-weight-semi-bold, 530);
356
+ font-weight:600;
357
+ font-weight:var(--rs-font-weight-semi-bold, 600);
353
358
  line-height:24px;
354
359
  line-height:var(--rs-h4-line-height, 24px);
355
360
  color:#19191C;
@@ -422,14 +427,15 @@
422
427
  color:var(--rs-typography-color-pale, rgba(255,255,255,0.5));
423
428
  }
424
429
  .rs-h5{
430
+ letter-spacing:normal;
425
431
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
426
432
  font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
427
433
  -webkit-font-feature-settings:"kern", "liga", "calt";
428
434
  font-feature-settings:"kern", "liga", "calt";
429
435
  font-size:13px;
430
436
  font-size:var(--rs-h5-font-size, 13px);
431
- font-weight:530;
432
- font-weight:var(--rs-font-weight-semi-bold, 530);
437
+ font-weight:600;
438
+ font-weight:var(--rs-font-weight-semi-bold, 600);
433
439
  line-height:20px;
434
440
  line-height:var(--rs-h5-line-height, 20px);
435
441
  color:#19191C;
@@ -454,8 +460,8 @@
454
460
  font-feature-settings:"kern", "liga", "calt";
455
461
  font-size:13px;
456
462
  font-size:var(--rs-overline-font-size, 13px);
457
- font-weight:530;
458
- font-weight:var(--rs-font-weight-semi-bold, 530);
463
+ font-weight:600;
464
+ font-weight:var(--rs-font-weight-semi-bold, 600);
459
465
  line-height:18px;
460
466
  line-height:var(--rs-overline-line-height, 18px);
461
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:530;
61
- font-weight:var(--rs-font-weight-semi-bold, 530);
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:320;
109
- font-weight:var(--rs-font-weight-light, 320);
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:320;
148
- font-weight:var(--rs-font-weight-light, 320);
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:530;
180
- font-weight:var(--rs-font-weight-semi-bold, 530);
179
+ font-weight:600;
180
+ font-weight:var(--rs-font-weight-semi-bold, 600);
181
181
 
182
182
  line-height:72px;
183
183
 
@@ -205,7 +205,10 @@
205
205
  margin-top:calc(var(--rs-flow-unit, 8px)*12);
206
206
  }
207
207
  @define-mixin rs-subtitle-1-base{
208
+ letter-spacing:normal;
209
+
208
210
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
211
+
209
212
  font-family:var(--rs-font-family-headers, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
210
213
  -webkit-font-feature-settings:"kern", "liga", "calt";
211
214
  font-feature-settings:"kern", "liga", "calt";
@@ -213,8 +216,8 @@
213
216
  font-size:39px;
214
217
 
215
218
  font-size:var(--rs-subtitle-1-font-size, 39px);
216
- font-weight:320;
217
- font-weight:var(--rs-font-weight-light, 320);
219
+ font-weight:300;
220
+ font-weight:var(--rs-font-weight-light, 300);
218
221
  line-height:49px;
219
222
  line-height:var(--rs-subtitle-1-line-height, 49px);
220
223
 
@@ -246,8 +249,8 @@
246
249
  font-size:43px;
247
250
 
248
251
  font-size:var(--rs-h1-font-size, 43px);
249
- font-weight:530;
250
- font-weight:var(--rs-font-weight-semi-bold, 530);
252
+ font-weight:600;
253
+ font-weight:var(--rs-font-weight-semi-bold, 600);
251
254
 
252
255
  line-height:49px;
253
256
 
@@ -271,7 +274,10 @@
271
274
  margin-top:calc(var(--rs-flow-unit, 8px)*8);
272
275
  }
273
276
  @define-mixin rs-subtitle-2-base{
277
+ letter-spacing:normal;
278
+
274
279
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
280
+
275
281
  font-family:var(--rs-font-family-headers, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
276
282
  -webkit-font-feature-settings:"kern", "liga", "calt";
277
283
  font-feature-settings:"kern", "liga", "calt";
@@ -279,8 +285,8 @@
279
285
  font-size:29px;
280
286
 
281
287
  font-size:var(--rs-subtitle-2-font-size, 29px);
282
- font-weight:320;
283
- font-weight:var(--rs-font-weight-light, 320);
288
+ font-weight:300;
289
+ font-weight:var(--rs-font-weight-light, 300);
284
290
  line-height:39px;
285
291
  line-height:var(--rs-subtitle-2-line-height, 39px);
286
292
 
@@ -301,7 +307,10 @@
301
307
  margin-top:calc(var(--rs-flow-unit, 8px)*4);
302
308
  }
303
309
  @define-mixin rs-h2-base{
310
+ letter-spacing:normal;
311
+
304
312
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
313
+
305
314
  font-family:var(--rs-font-family-headers, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
306
315
  -webkit-font-feature-settings:"kern", "liga", "calt";
307
316
  font-feature-settings:"kern", "liga", "calt";
@@ -309,8 +318,8 @@
309
318
  font-size:35px;
310
319
 
311
320
  font-size:var(--rs-h2-font-size, 35px);
312
- font-weight:530;
313
- font-weight:var(--rs-font-weight-semi-bold, 530);
321
+ font-weight:600;
322
+ font-weight:var(--rs-font-weight-semi-bold, 600);
314
323
 
315
324
  line-height:42px;
316
325
 
@@ -344,8 +353,8 @@
344
353
  font-size:20px;
345
354
 
346
355
  font-size:var(--rs-h3-font-size, 20px);
347
- font-weight:530;
348
- font-weight:var(--rs-font-weight-semi-bold, 530);
356
+ font-weight:600;
357
+ font-weight:var(--rs-font-weight-semi-bold, 600);
349
358
  line-height:28px;
350
359
  line-height:var(--rs-h3-line-height, 28px);
351
360
  }
@@ -361,7 +370,10 @@
361
370
  margin-top:calc(var(--rs-flow-unit, 8px)*4);
362
371
  }
363
372
  @define-mixin rs-text-1-base{
373
+ letter-spacing:normal;
374
+
364
375
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
376
+
365
377
  font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
366
378
  -webkit-font-feature-settings:"kern", "liga", "calt";
367
379
  font-feature-settings:"kern", "liga", "calt";
@@ -385,7 +397,10 @@
385
397
  margin-top:calc(var(--rs-flow-unit, 8px)*4);
386
398
  }
387
399
  @define-mixin rs-h4-base{
400
+ letter-spacing:normal;
401
+
388
402
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
403
+
389
404
  font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
390
405
  -webkit-font-feature-settings:"kern", "liga", "calt";
391
406
  font-feature-settings:"kern", "liga", "calt";
@@ -393,8 +408,8 @@
393
408
  font-size:16px;
394
409
 
395
410
  font-size:var(--rs-h4-font-size, 16px);
396
- font-weight:530;
397
- font-weight:var(--rs-font-weight-semi-bold, 530);
411
+ font-weight:600;
412
+ font-weight:var(--rs-font-weight-semi-bold, 600);
398
413
 
399
414
  line-height:24px;
400
415
 
@@ -443,7 +458,10 @@
443
458
  margin-top:calc(var(--rs-flow-unit, 8px)*2);
444
459
  }
445
460
  @define-mixin rs-h5-base{
461
+ letter-spacing:normal;
462
+
446
463
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
464
+
447
465
  font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
448
466
  -webkit-font-feature-settings:"kern", "liga", "calt";
449
467
  font-feature-settings:"kern", "liga", "calt";
@@ -451,8 +469,8 @@
451
469
  font-size:13px;
452
470
 
453
471
  font-size:var(--rs-h5-font-size, 13px);
454
- font-weight:530;
455
- font-weight:var(--rs-font-weight-semi-bold, 530);
472
+ font-weight:600;
473
+ font-weight:var(--rs-font-weight-semi-bold, 600);
456
474
 
457
475
  line-height:20px;
458
476
 
@@ -487,8 +505,8 @@
487
505
  font-size:13px;
488
506
 
489
507
  font-size:var(--rs-overline-font-size, 13px);
490
- font-weight:530;
491
- font-weight:var(--rs-font-weight-semi-bold, 530);
508
+ font-weight:600;
509
+ font-weight:var(--rs-font-weight-semi-bold, 600);
492
510
 
493
511
  line-height:18px;
494
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:530;
61
- font-weight:var(--rs-font-weight-semi-bold, 530);
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:320;
109
- font-weight:var(--rs-font-weight-light, 320);
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:320;
148
- font-weight:var(--rs-font-weight-light, 320);
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:530;
180
- font-weight:var(--rs-font-weight-semi-bold, 530);
179
+ font-weight:600;
180
+ font-weight:var(--rs-font-weight-semi-bold, 600);
181
181
 
182
182
  line-height:72px;
183
183
 
@@ -205,7 +205,10 @@
205
205
  margin-top:calc(var(--rs-flow-unit, 8px)*12);
206
206
  }
207
207
  @define-mixin rs-subtitle-1-base{
208
+ letter-spacing:normal;
209
+
208
210
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
211
+
209
212
  font-family:var(--rs-font-family-headers, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
210
213
  -webkit-font-feature-settings:"kern", "liga", "calt";
211
214
  font-feature-settings:"kern", "liga", "calt";
@@ -213,8 +216,8 @@
213
216
  font-size:39px;
214
217
 
215
218
  font-size:var(--rs-subtitle-1-font-size, 39px);
216
- font-weight:320;
217
- font-weight:var(--rs-font-weight-light, 320);
219
+ font-weight:300;
220
+ font-weight:var(--rs-font-weight-light, 300);
218
221
  line-height:49px;
219
222
  line-height:var(--rs-subtitle-1-line-height, 49px);
220
223
 
@@ -246,8 +249,8 @@
246
249
  font-size:43px;
247
250
 
248
251
  font-size:var(--rs-h1-font-size, 43px);
249
- font-weight:530;
250
- font-weight:var(--rs-font-weight-semi-bold, 530);
252
+ font-weight:600;
253
+ font-weight:var(--rs-font-weight-semi-bold, 600);
251
254
 
252
255
  line-height:49px;
253
256
 
@@ -271,7 +274,10 @@
271
274
  margin-top:calc(var(--rs-flow-unit, 8px)*8);
272
275
  }
273
276
  @define-mixin rs-subtitle-2-base{
277
+ letter-spacing:normal;
278
+
274
279
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
280
+
275
281
  font-family:var(--rs-font-family-headers, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
276
282
  -webkit-font-feature-settings:"kern", "liga", "calt";
277
283
  font-feature-settings:"kern", "liga", "calt";
@@ -279,8 +285,8 @@
279
285
  font-size:29px;
280
286
 
281
287
  font-size:var(--rs-subtitle-2-font-size, 29px);
282
- font-weight:320;
283
- font-weight:var(--rs-font-weight-light, 320);
288
+ font-weight:300;
289
+ font-weight:var(--rs-font-weight-light, 300);
284
290
  line-height:39px;
285
291
  line-height:var(--rs-subtitle-2-line-height, 39px);
286
292
 
@@ -301,7 +307,10 @@
301
307
  margin-top:calc(var(--rs-flow-unit, 8px)*4);
302
308
  }
303
309
  @define-mixin rs-h2-base{
310
+ letter-spacing:normal;
311
+
304
312
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
313
+
305
314
  font-family:var(--rs-font-family-headers, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
306
315
  -webkit-font-feature-settings:"kern", "liga", "calt";
307
316
  font-feature-settings:"kern", "liga", "calt";
@@ -309,8 +318,8 @@
309
318
  font-size:35px;
310
319
 
311
320
  font-size:var(--rs-h2-font-size, 35px);
312
- font-weight:530;
313
- font-weight:var(--rs-font-weight-semi-bold, 530);
321
+ font-weight:600;
322
+ font-weight:var(--rs-font-weight-semi-bold, 600);
314
323
 
315
324
  line-height:42px;
316
325
 
@@ -344,8 +353,8 @@
344
353
  font-size:20px;
345
354
 
346
355
  font-size:var(--rs-h3-font-size, 20px);
347
- font-weight:530;
348
- font-weight:var(--rs-font-weight-semi-bold, 530);
356
+ font-weight:600;
357
+ font-weight:var(--rs-font-weight-semi-bold, 600);
349
358
  line-height:28px;
350
359
  line-height:var(--rs-h3-line-height, 28px);
351
360
  }
@@ -361,7 +370,10 @@
361
370
  margin-top:calc(var(--rs-flow-unit, 8px)*4);
362
371
  }
363
372
  @define-mixin rs-text-1-base{
373
+ letter-spacing:normal;
374
+
364
375
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
376
+
365
377
  font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
366
378
  -webkit-font-feature-settings:"kern", "liga", "calt";
367
379
  font-feature-settings:"kern", "liga", "calt";
@@ -385,7 +397,10 @@
385
397
  margin-top:calc(var(--rs-flow-unit, 8px)*4);
386
398
  }
387
399
  @define-mixin rs-h4-base{
400
+ letter-spacing:normal;
401
+
388
402
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
403
+
389
404
  font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
390
405
  -webkit-font-feature-settings:"kern", "liga", "calt";
391
406
  font-feature-settings:"kern", "liga", "calt";
@@ -393,8 +408,8 @@
393
408
  font-size:16px;
394
409
 
395
410
  font-size:var(--rs-h4-font-size, 16px);
396
- font-weight:530;
397
- font-weight:var(--rs-font-weight-semi-bold, 530);
411
+ font-weight:600;
412
+ font-weight:var(--rs-font-weight-semi-bold, 600);
398
413
 
399
414
  line-height:24px;
400
415
 
@@ -443,7 +458,10 @@
443
458
  margin-top:calc(var(--rs-flow-unit, 8px)*2);
444
459
  }
445
460
  @define-mixin rs-h5-base{
461
+ letter-spacing:normal;
462
+
446
463
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
464
+
447
465
  font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
448
466
  -webkit-font-feature-settings:"kern", "liga", "calt";
449
467
  font-feature-settings:"kern", "liga", "calt";
@@ -451,8 +469,8 @@
451
469
  font-size:13px;
452
470
 
453
471
  font-size:var(--rs-h5-font-size, 13px);
454
- font-weight:530;
455
- font-weight:var(--rs-font-weight-semi-bold, 530);
472
+ font-weight:600;
473
+ font-weight:var(--rs-font-weight-semi-bold, 600);
456
474
 
457
475
  line-height:20px;
458
476
 
@@ -487,8 +505,8 @@
487
505
  font-size:13px;
488
506
 
489
507
  font-size:var(--rs-overline-font-size, 13px);
490
- font-weight:530;
491
- font-weight:var(--rs-font-weight-semi-bold, 530);
508
+ font-weight:600;
509
+ font-weight:var(--rs-font-weight-semi-bold, 600);
492
510
 
493
511
  line-height:18px;
494
512
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rescui/typography",
3
- "version": "0.11.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.9",
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.0",
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": "2a57f292fde136628c5ed31a9da9149fd41d404f"
43
+ "gitHead": "498f4f71458e1323b14f9182713a7bf213e4333a"
44
44
  }