@rescui/typography 0.7.2 → 0.7.4

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.
Files changed (2) hide show
  1. package/lib/mixins.p.css +1115 -0
  2. package/package.json +8 -8
@@ -0,0 +1,1115 @@
1
+ @define-mixin rs-typography-light{
2
+ --rs-typography-color-hard:#19191C;
3
+ --rs-typography-color-average:rgba(25,25,28,0.7);
4
+ --rs-typography-color-pale:rgba(25,25,28,0.5);
5
+ --rs-typography-pre-color:#19191C;
6
+ --rs-typography-pre-bg-color:rgba(25,25,28,0.1);
7
+ --rs-typography-classic-link-underline-color:rgba(25,25,28,0.4);
8
+ --rs-typography-rock-link-hover-color:#FFFFFF;
9
+ }
10
+ @define-mixin rs-typography-dark{
11
+ --rs-typography-color-hard:#FFFFFF;
12
+ --rs-typography-color-average:rgba(255,255,255,0.7);
13
+ --rs-typography-color-pale:rgba(255,255,255,0.5);
14
+ --rs-typography-pre-color:rgba(255,255,255,0.7);
15
+ --rs-typography-pre-bg-color:rgba(255,255,255,0.1);
16
+ --rs-typography-classic-link-underline-color:rgba(255,255,255,0.4);
17
+ --rs-typography-rock-link-hover-color:#19191C;
18
+ }
19
+ @define-mixin rs-text-hardness-hard{
20
+ color:#19191C;
21
+ color:var(--rs-typography-color-hard, #19191C);
22
+ }
23
+ @define-mixin rs-text-hardness-average{
24
+ color:rgba(25,25,28,0.7);
25
+ color:var(--rs-typography-color-average, rgba(25,25,28,0.7));
26
+ }
27
+ @define-mixin rs-text-hardness-pale{
28
+ color:rgba(25,25,28,0.5);
29
+ color:var(--rs-typography-color-pale, rgba(25,25,28,0.5));
30
+ }
31
+ @define-mixin rs-text-hardness-hard-theme-dark{
32
+ color:#FFFFFF;
33
+ color:var(--rs-typography-color-hard, #FFFFFF);
34
+ }
35
+ @define-mixin rs-text-hardness-average-theme-dark{
36
+ color:rgba(255,255,255,0.7);
37
+ color:var(--rs-typography-color-average, rgba(255,255,255,0.7));
38
+ }
39
+ @define-mixin rs-text-hardness-pale-theme-dark{
40
+ color:rgba(255,255,255,0.5);
41
+ color:var(--rs-typography-color-pale, rgba(255,255,255,0.5));
42
+ }
43
+ @define-mixin rs-font-smoothing{
44
+ text-rendering:optimizeLegibility;
45
+ -webkit-font-smoothing:antialiased;
46
+ -moz-osx-font-smoothing:grayscale;
47
+ }
48
+ @define-mixin rs-super-hero-base{
49
+ letter-spacing:-0.02em;
50
+
51
+ font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
52
+
53
+ 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));
54
+
55
+ font-size:142px;
56
+
57
+ font-size:var(--rs-super-hero-font-size, 142px);
58
+ font-weight:530;
59
+ font-weight:var(--rs-font-weight-semi-bold, 530);
60
+
61
+ line-height:142px;
62
+
63
+ line-height:var(--rs-super-hero-line-height, 142px);
64
+
65
+ @media screen and (max-width: 1000px){
66
+ --rs-super-hero-font-size:var(--rs-hero-font-size, 72px);
67
+ --rs-super-hero-line-height:var(--rs-hero-line-height, 72px);
68
+ letter-spacing:-0.005em;
69
+ }
70
+
71
+ @media screen and (max-width: 640px){
72
+ --rs-super-hero-font-size:var(--rs-hero-font-size-mobile, 42px);
73
+ --rs-super-hero-line-height:var(--rs-hero-line-height-mobile, 50px);
74
+ letter-spacing:-0.001em;
75
+ }
76
+
77
+ .rs-reset-letter-spacing &{
78
+ letter-spacing:normal;
79
+ }
80
+ }
81
+ @define-mixin rs-super-hero{
82
+ @mixin rs-super-hero-base;
83
+ @mixin rs-text-hardness-hard;
84
+ }
85
+ @define-mixin rs-super-hero-theme-dark{
86
+ @mixin rs-text-hardness-hard-theme-dark;
87
+ }
88
+ @define-mixin rs-super-hero-offset-top{
89
+ margin-top:96px;
90
+ margin-top:calc(var(--rs-flow-unit, 8px)*12);
91
+ }
92
+ @define-mixin rs-digits-1-base{
93
+ letter-spacing:-0.005em;
94
+
95
+ font-variant-numeric:tabular-nums;
96
+
97
+ font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
98
+
99
+ 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));
100
+
101
+ font-size:69px;
102
+
103
+ font-size:var(--rs-digits-1-font-size, 69px);
104
+ font-weight:320;
105
+ font-weight:var(--rs-font-weight-light, 320);
106
+ line-height:71px;
107
+ line-height:var(--rs-digits-1-line-height, 71px);
108
+
109
+ @media screen and (max-width: 640px){
110
+ --rs-digits-1-font-size:var(--rs-digits-2-font-size, 40px);
111
+ --rs-digits-1-line-height:var(--rs-digits-2-line-height, 44px);
112
+ }
113
+
114
+ .rs-reset-letter-spacing &{
115
+ letter-spacing:normal;
116
+ }
117
+ }
118
+ @define-mixin rs-digits-1{
119
+ @mixin rs-digits-1-base;
120
+ @mixin rs-text-hardness-hard;
121
+ }
122
+ @define-mixin rs-digits-1-theme-dark{
123
+ @mixin rs-text-hardness-hard-theme-dark;
124
+ }
125
+ @define-mixin rs-digits-1-offset-top{
126
+ margin-top:32px;
127
+ margin-top:calc(var(--rs-flow-unit, 8px)*4);
128
+ }
129
+ @define-mixin rs-digits-2-base{
130
+ letter-spacing:-0.005em;
131
+
132
+ font-variant-numeric:tabular-nums;
133
+
134
+ font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
135
+
136
+ 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));
137
+
138
+ font-size:40px;
139
+
140
+ font-size:var(--rs-digits-2-font-size, 40px);
141
+ font-weight:320;
142
+ font-weight:var(--rs-font-weight-light, 320);
143
+ line-height:44px;
144
+ line-height:var(--rs-digits-2-line-height, 44px);
145
+
146
+ .rs-reset-letter-spacing &{
147
+ letter-spacing:normal;
148
+ }
149
+ }
150
+ @define-mixin rs-digits-2{
151
+ @mixin rs-digits-2-base;
152
+ @mixin rs-text-hardness-hard;
153
+ }
154
+ @define-mixin rs-digits-2-theme-dark{
155
+ @mixin rs-text-hardness-hard-theme-dark;
156
+ }
157
+ @define-mixin rs-digits-2-offset-top{
158
+ margin-top:32px;
159
+ margin-top:calc(var(--rs-flow-unit, 8px)*4);
160
+ }
161
+ @define-mixin rs-hero-base{
162
+ letter-spacing:-0.005em;
163
+
164
+ font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
165
+
166
+ 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));
167
+
168
+ font-size:72px;
169
+
170
+ font-size:var(--rs-hero-font-size, 72px);
171
+ font-weight:530;
172
+ font-weight:var(--rs-font-weight-semi-bold, 530);
173
+
174
+ line-height:72px;
175
+
176
+ line-height:var(--rs-hero-line-height, 72px);
177
+
178
+ @media screen and (max-width: 640px){
179
+ --rs-hero-font-size:var(--rs-hero-font-size-mobile, 42px);
180
+ --rs-hero-line-height:var(--rs-hero-font-size-mobile, 50px);
181
+ letter-spacing:-0.001em;
182
+ }
183
+
184
+ .rs-reset-letter-spacing &{
185
+ letter-spacing:normal;
186
+ }
187
+ }
188
+ @define-mixin rs-hero{
189
+ @mixin rs-hero-base;
190
+ @mixin rs-text-hardness-hard;
191
+ }
192
+ @define-mixin rs-hero-theme-dark{
193
+ @mixin rs-text-hardness-hard-theme-dark;
194
+ }
195
+ @define-mixin rs-hero-offset-top{
196
+ margin-top:96px;
197
+ margin-top:calc(var(--rs-flow-unit, 8px)*12);
198
+ }
199
+ @define-mixin rs-subtitle-1-base{
200
+ font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
201
+ 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));
202
+
203
+ font-size:39px;
204
+
205
+ font-size:var(--rs-subtitle-1-font-size, 39px);
206
+ font-weight:320;
207
+ font-weight:var(--rs-font-weight-light, 320);
208
+ line-height:49px;
209
+ line-height:var(--rs-subtitle-1-line-height, 49px);
210
+
211
+ @media screen and (max-width: 640px){
212
+ --rs-subtitle-1-font-size:var(--rs-subtitle-2-font-size-mobile, 23px);
213
+ --rs-subtitle-1-line-height:var(--rs-subtitle-2-line-height-mobile, 30px);
214
+ }
215
+ }
216
+ @define-mixin rs-subtitle-1{
217
+ @mixin rs-subtitle-1-base;
218
+ @mixin rs-text-hardness-hard;
219
+ }
220
+ @define-mixin rs-subtitle-1-theme-dark{
221
+ @mixin rs-text-hardness-hard-theme-dark;
222
+ }
223
+ @define-mixin rs-subtitle-1-offset-top{
224
+ margin-top:32px;
225
+ margin-top:calc(var(--rs-flow-unit, 8px)*4);
226
+ }
227
+ @define-mixin rs-h1-base{
228
+ letter-spacing:-0.001em;
229
+
230
+ font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
231
+
232
+ 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));
233
+
234
+ font-size:43px;
235
+
236
+ font-size:var(--rs-h1-font-size, 43px);
237
+ font-weight:530;
238
+ font-weight:var(--rs-font-weight-semi-bold, 530);
239
+
240
+ line-height:49px;
241
+
242
+ line-height:var(--rs-h1-line-height, 49px);
243
+
244
+ @media screen and (max-width: 640px){
245
+ --rs-h1-font-size:var(--rs-h1-font-size-mobile, 35px);
246
+ --rs-h1-line-height:var(--rs-h1-line-height-mobile, 39px);
247
+ letter-spacing:normal;
248
+ }
249
+ }
250
+ @define-mixin rs-h1{
251
+ @mixin rs-h1-base;
252
+ @mixin rs-text-hardness-hard;
253
+ }
254
+ @define-mixin rs-h1-theme-dark{
255
+ @mixin rs-text-hardness-hard-theme-dark;
256
+ }
257
+ @define-mixin rs-h1-offset-top{
258
+ margin-top:64px;
259
+ margin-top:calc(var(--rs-flow-unit, 8px)*8);
260
+ }
261
+ @define-mixin rs-subtitle-2-base{
262
+ font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
263
+ 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));
264
+
265
+ font-size:29px;
266
+
267
+ font-size:var(--rs-subtitle-2-font-size, 29px);
268
+ font-weight:320;
269
+ font-weight:var(--rs-font-weight-light, 320);
270
+ line-height:39px;
271
+ line-height:var(--rs-subtitle-2-line-height, 39px);
272
+
273
+ @media screen and (max-width: 640px){
274
+ --rs-subtitle-2-font-size:var(--rs-subtitle-2-font-size-mobile, 23px);
275
+ --rs-subtitle-2-line-height:var(--rs-subtitle-2-line-height-mobile, 30px);
276
+ }
277
+ }
278
+ @define-mixin rs-subtitle-2{
279
+ @mixin rs-subtitle-2-base;
280
+ @mixin rs-text-hardness-hard;
281
+ }
282
+ @define-mixin rs-subtitle-2-theme-dark{
283
+ @mixin rs-text-hardness-hard-theme-dark;
284
+ }
285
+ @define-mixin rs-subtitle-2-offset-top{
286
+ margin-top:32px;
287
+ margin-top:calc(var(--rs-flow-unit, 8px)*4);
288
+ }
289
+ @define-mixin rs-h2-base{
290
+ font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
291
+ 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));
292
+
293
+ font-size:35px;
294
+
295
+ font-size:var(--rs-h2-font-size, 35px);
296
+ font-weight:530;
297
+ font-weight:var(--rs-font-weight-semi-bold, 530);
298
+
299
+ line-height:42px;
300
+
301
+ line-height:var(--rs-h2-line-height, 42px);
302
+
303
+ @media screen and (max-width: 640px){
304
+ --rs-h2-font-size:var(--rs-h2-font-size-mobile, 28px);
305
+ --rs-h2-line-height:var(--rs-h2-line-height-mobile, 32px);
306
+ }
307
+ }
308
+ @define-mixin rs-h2{
309
+ @mixin rs-h2-base;
310
+ @mixin rs-text-hardness-hard;
311
+ }
312
+ @define-mixin rs-h2-theme-dark{
313
+ @mixin rs-text-hardness-hard-theme-dark;
314
+ }
315
+ @define-mixin rs-h2-offset-top{
316
+ margin-top:48px;
317
+ margin-top:calc(var(--rs-flow-unit, 8px)*6);
318
+ }
319
+ @define-mixin rs-h3-base{
320
+ letter-spacing:normal;
321
+
322
+ font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
323
+
324
+ 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));
325
+
326
+ font-size:20px;
327
+
328
+ font-size:var(--rs-h3-font-size, 20px);
329
+ font-weight:530;
330
+ font-weight:var(--rs-font-weight-semi-bold, 530);
331
+ line-height:28px;
332
+ line-height:var(--rs-h3-line-height, 28px);
333
+ }
334
+ @define-mixin rs-h3{
335
+ @mixin rs-h3-base;
336
+ @mixin rs-text-hardness-hard;
337
+ }
338
+ @define-mixin rs-h3-theme-dark{
339
+ @mixin rs-text-hardness-hard-theme-dark;
340
+ }
341
+ @define-mixin rs-h3-offset-top{
342
+ margin-top:32px;
343
+ margin-top:calc(var(--rs-flow-unit, 8px)*4);
344
+ }
345
+ @define-mixin rs-text-1-base{
346
+ font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
347
+ 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));
348
+
349
+ font-size:19px;
350
+
351
+ font-size:var(--rs-text-1-font-size, 19px);
352
+ font-weight:normal;
353
+ line-height:28px;
354
+ line-height:var(--rs-text-1-line-height, 28px);
355
+ }
356
+ @define-mixin rs-text-1{
357
+ @mixin rs-text-1-base;
358
+ @mixin rs-text-hardness-average;
359
+ }
360
+ @define-mixin rs-text-1-theme-dark{
361
+ @mixin rs-text-hardness-average-theme-dark;
362
+ }
363
+ @define-mixin rs-text-1-offset-top{
364
+ margin-top:32px;
365
+ margin-top:calc(var(--rs-flow-unit, 8px)*4);
366
+ }
367
+ @define-mixin rs-h4-base{
368
+ font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
369
+ 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));
370
+
371
+ font-size:17px;
372
+
373
+ font-size:var(--rs-h4-font-size, 17px);
374
+ font-weight:530;
375
+ font-weight:var(--rs-font-weight-semi-bold, 530);
376
+
377
+ line-height:24px;
378
+
379
+ line-height:var(--rs-h4-line-height, 24px);
380
+ }
381
+ @define-mixin rs-h4{
382
+ @mixin rs-h4-base;
383
+ @mixin rs-text-hardness-hard;
384
+ }
385
+ @define-mixin rs-h4-theme-dark{
386
+ @mixin rs-text-hardness-hard-theme-dark;
387
+ }
388
+ @define-mixin rs-h4-offset-top{
389
+ margin-top:16px;
390
+ margin-top:calc(var(--rs-flow-unit, 8px)*2);
391
+ }
392
+ @define-mixin rs-text-2-base{
393
+ letter-spacing:0.0015em;
394
+
395
+ font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
396
+
397
+ 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));
398
+
399
+ font-size:16px;
400
+
401
+ font-size:var(--rs-text-2-font-size, 16px);
402
+ font-weight:400;
403
+ line-height:24px;
404
+ line-height:var(--rs-text-2-line-height, 24px);
405
+
406
+ .rs-reset-letter-spacing &{
407
+ letter-spacing:normal;
408
+ }
409
+ }
410
+ @define-mixin rs-text-2{
411
+ @mixin rs-text-2-base;
412
+ @mixin rs-text-hardness-average;
413
+ }
414
+ @define-mixin rs-text-2-theme-dark{
415
+ @mixin rs-text-hardness-average-theme-dark;
416
+ }
417
+ @define-mixin rs-text-2-offset-top{
418
+ margin-top:16px;
419
+ margin-top:calc(var(--rs-flow-unit, 8px)*2);
420
+ }
421
+ @define-mixin rs-h5-base{
422
+ font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
423
+ 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));
424
+
425
+ font-size:14px;
426
+
427
+ font-size:var(--rs-h5-font-size, 14px);
428
+ font-weight:530;
429
+ font-weight:var(--rs-font-weight-semi-bold, 530);
430
+
431
+ line-height:20px;
432
+
433
+ line-height:var(--rs-h5-line-height, 20px);
434
+ }
435
+ @define-mixin rs-h5{
436
+ @mixin rs-h5-base;
437
+ @mixin rs-text-hardness-hard;
438
+ }
439
+ @define-mixin rs-h5-theme-dark{
440
+ @mixin rs-text-hardness-hard-theme-dark;
441
+ }
442
+ @define-mixin rs-h5-offset-top{
443
+ margin-top:16px;
444
+ margin-top:calc(var(--rs-flow-unit, 8px)*2);
445
+ }
446
+ @define-mixin rs-overline{
447
+ letter-spacing:0.1em;
448
+
449
+ text-transform:uppercase;
450
+
451
+ color:#19191C;
452
+
453
+ color:var(--rs-typography-color-hard, #19191C);
454
+
455
+ font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
456
+
457
+ 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));
458
+
459
+ font-size:13px;
460
+
461
+ font-size:var(--rs-overline-font-size, 13px);
462
+ font-weight:530;
463
+ font-weight:var(--rs-font-weight-semi-bold, 530);
464
+
465
+ line-height:18px;
466
+
467
+ line-height:var(--rs-overline-line-height, 18px);
468
+ }
469
+ @define-mixin rs-overline-theme-dark{
470
+ color:#FFFFFF;
471
+ color:var(--rs-typography-color-hard, #FFFFFF);
472
+ }
473
+ @define-mixin rs-overline-offset-top{
474
+ margin-top:16px;
475
+ margin-top:calc(var(--rs-flow-unit, 8px)*2);
476
+ }
477
+ @define-mixin rs-text-3-base{
478
+ letter-spacing:0.0045em;
479
+
480
+ font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
481
+
482
+ 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));
483
+
484
+ font-size:13px;
485
+
486
+ font-size:var(--rs-text-3-font-size, 13px);
487
+ line-height:20px;
488
+ line-height:var(--rs-text-3-line-height, 20px);
489
+
490
+ .rs-reset-letter-spacing &{
491
+ letter-spacing:normal;
492
+ }
493
+ }
494
+ @define-mixin rs-text-3{
495
+ @mixin rs-text-3-base;
496
+ @mixin rs-text-hardness-average;
497
+ }
498
+ @define-mixin rs-text-3-theme-dark{
499
+ @mixin rs-text-hardness-average-theme-dark;
500
+ }
501
+ @define-mixin rs-text-3-offset-top{
502
+ margin-top:8px;
503
+ margin-top:var(--rs-flow-unit, 8px);
504
+ }
505
+ @define-mixin rs-core-list-offset-items-8{
506
+ & > li{
507
+ margin-top:8px;
508
+ }
509
+
510
+ @media screen and (max-width: 640px){
511
+ & > li{
512
+ margin-top:8px
513
+ }
514
+ }
515
+ }
516
+ @define-mixin rs-core-list-offset-items-12{
517
+ & > li{
518
+ margin-top:12px;
519
+ }
520
+
521
+ @media screen and (max-width: 640px){
522
+ & > li{
523
+ margin-top:12px
524
+ }
525
+ }
526
+ }
527
+ @define-mixin rs-core-list-offset-items-16{
528
+ & > li{
529
+ margin-top:16px;
530
+ }
531
+
532
+ @media screen and (max-width: 640px){
533
+ & > li{
534
+ margin-top:12px
535
+ }
536
+ }
537
+ }
538
+ @define-mixin rs-core-list-offset-items-24{
539
+ & > li{
540
+ margin-top:24px;
541
+ }
542
+
543
+ @media screen and (max-width: 640px){
544
+ & > li{
545
+ margin-top:16px
546
+ }
547
+ }
548
+ }
549
+ @define-mixin rs-ul-text-1{
550
+ & > li{
551
+ padding-left:26px;
552
+ }
553
+ }
554
+ @define-mixin rs-ul-text-2{
555
+ & > li{
556
+ padding-left:22px;
557
+ }
558
+ }
559
+ @define-mixin rs-ul-text-3{
560
+ & > li{
561
+ padding-left:28px;
562
+ }
563
+ }
564
+ @define-mixin rs-core-list{
565
+ font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
566
+ 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));
567
+ list-style-type:none;
568
+ padding-left:0;
569
+ @mixin rs-core-list-offset-items-16;
570
+ @mixin rs-ul-text-2;
571
+
572
+ > li{
573
+ position:relative;
574
+
575
+ list-style-type:none;
576
+ }
577
+
578
+ > li::before{
579
+ position:absolute;
580
+
581
+ top:0;
582
+
583
+ display:block;
584
+
585
+ line-height:inherit;
586
+
587
+ color:inherit;
588
+
589
+ left:0;
590
+ text-align:left;
591
+ }
592
+ &_offset-items_8{
593
+ @mixin rs-core-list-offset-items-8;
594
+ }
595
+ &_offset-items_12{
596
+ @mixin rs-core-list-offset-items-12;
597
+ }
598
+ &_offset-items_16{
599
+ @mixin rs-core-list-offset-items-16;
600
+ }
601
+ &_offset-items_24{
602
+ @mixin rs-core-list-offset-items-24;
603
+ }
604
+ &:not([class*="_offset-items_"]).rs-text-2,
605
+ .rs-text-2 &:not([class*="_offset-items_"]){
606
+ @mixin rs-core-list-offset-items-16;
607
+ }
608
+
609
+ &:not([class*="_offset-items_"]).rs-text-1,
610
+ .rs-text-1 &:not([class*="_offset-items_"]){
611
+ @mixin rs-core-list-offset-items-24;
612
+ }
613
+
614
+ &:not([class*="_offset-items_"]).rs-text-3,
615
+ .rs-text-3 &:not([class*="_offset-items_"]){
616
+ @mixin rs-core-list-offset-items-8;
617
+ }
618
+ }
619
+ @define-mixin rs-ul{
620
+ @mixin rs-core-list;
621
+
622
+ &.rs-text-1,
623
+ .rs-text-1 &{
624
+ @mixin rs-ul-text-1;
625
+ }
626
+
627
+ &.rs-text-3,
628
+ .rs-text-3 &{
629
+ @mixin rs-ul-text-3;
630
+ }
631
+
632
+ > li::before{
633
+ content:'•';
634
+ }
635
+ }
636
+ @define-mixin rs-ol-text-1{
637
+ & > li{
638
+ padding-left:32px;
639
+ }
640
+ }
641
+ @define-mixin rs-ol-text-2{
642
+ & > li{
643
+ padding-left:26px;
644
+ }
645
+ }
646
+ @define-mixin rs-ol-text-3{
647
+ & > li{
648
+ padding-left:21px;
649
+ }
650
+ }
651
+ @define-mixin rs-ol{
652
+ @mixin rs-core-list;
653
+
654
+ counter-reset:ol-counter;
655
+
656
+ &.rs-text-2,
657
+ .rs-text-2 &{
658
+ @mixin rs-ol-text-2;
659
+ }
660
+
661
+ &.rs-text-1,
662
+ .rs-text-1 &{
663
+ @mixin rs-ol-text-1;
664
+ }
665
+
666
+ &.rs-text-3,
667
+ .rs-text-3 &{
668
+ @mixin rs-ol-text-3;
669
+ }
670
+
671
+ > li::before{
672
+ content:counter(ol-counter) '.';
673
+ counter-increment:ol-counter;
674
+ }
675
+ }
676
+ @define-mixin rs-ol-alpha-lower{
677
+ > li::before{
678
+ content:counter(ol-counter, lower-alpha) '.';
679
+ }
680
+ }
681
+ @define-mixin rs-ol-alpha-upper{
682
+ > li::before{
683
+ content:counter(ol-counter, upper-alpha) '.';
684
+ }
685
+ }
686
+ @define-mixin rs-pre-child-code-direct{
687
+ border:0;
688
+
689
+ white-space:pre;
690
+ word-break:normal;
691
+ }
692
+ @define-mixin rs-pre-child-code{
693
+ display:inline;
694
+ overflow:visible;
695
+
696
+ max-width:none;
697
+ margin:0;
698
+ padding:0 !important;
699
+
700
+ word-wrap:normal;
701
+
702
+ background:transparent !important;
703
+ color:inherit !important;
704
+
705
+ font-family:'JetBrains Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace;
706
+
707
+ font-family:var(--rs-font-family-mono, 'JetBrains Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace);
708
+ line-height:inherit;
709
+ }
710
+ @define-mixin rs-pre{
711
+ overflow:auto;
712
+
713
+ -webkit-box-sizing:border-box;
714
+
715
+ box-sizing:border-box;
716
+
717
+ max-width:100%;
718
+ width:100%;
719
+
720
+ padding:12px 16px;
721
+
722
+ word-wrap:normal;
723
+
724
+ font-family:'JetBrains Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace;
725
+
726
+ font-family:var(--rs-font-family-mono, 'JetBrains Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace);
727
+
728
+ font-size:16px;
729
+ line-height:24px;
730
+ color:#19191C;
731
+ color:var(--rs-typography-pre-color, #19191C);
732
+ background-color:rgba(25,25,28,0.1);
733
+ background-color:var(--rs-typography-pre-bg-color, rgba(25,25,28,0.1));
734
+ border-radius:8px;
735
+
736
+ display:block;
737
+
738
+ > code,
739
+ > .rs-code{
740
+ @mixin rs-pre-child-code-direct;
741
+ }
742
+
743
+ code,
744
+ .rs-code{
745
+ @mixin rs-pre-child-code;
746
+ }
747
+ }
748
+ @define-mixin rs-pre-theme-dark{
749
+ color:rgba(255,255,255,0.7);
750
+ color:var(--rs-typography-pre-color, rgba(255,255,255,0.7));
751
+ background-color:rgba(255,255,255,0.1);
752
+ background-color:var(--rs-typography-pre-bg-color, rgba(255,255,255,0.1));
753
+ }
754
+ @define-mixin rs-pre-offset-top{
755
+ margin-top:16px;
756
+ }
757
+ @define-mixin rs-code{
758
+ -webkit-box-sizing:border-box;
759
+ box-sizing:border-box;
760
+ padding:0.11111em 0.44444em;
761
+
762
+ color:#19191C;
763
+
764
+ color:var(--rs-typography-pre-color, #19191C);
765
+ background-color:rgba(25,25,28,0.1);
766
+ background-color:var(--rs-typography-pre-bg-color, rgba(25,25,28,0.1));
767
+
768
+ font-family:'JetBrains Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace;
769
+
770
+ font-family:var(--rs-font-family-mono, 'JetBrains Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace);
771
+
772
+ font-size:90%;
773
+ line-height:inherit;
774
+
775
+ border-radius:4px;
776
+ }
777
+ @define-mixin rs-code-theme-dark{
778
+ color:rgba(255,255,255,0.7);
779
+ color:var(--rs-typography-pre-color, rgba(255,255,255,0.7));
780
+ background-color:rgba(255,255,255,0.1);
781
+ background-color:var(--rs-typography-pre-bg-color, rgba(255,255,255,0.1));
782
+ }
783
+ @define-mixin rs-link-hardness-hard{
784
+ --rs-link-color:var(--rs-typography-color-hard, #19191C);
785
+ }
786
+ @define-mixin rs-link-hardness-average{
787
+ --rs-link-color:var(--rs-typography-color-average, rgba(25,25,28,0.7));
788
+ }
789
+ @define-mixin rs-link-hardness-pale{
790
+ --rs-link-color:var(--rs-typography-color-pale, rgba(25,25,28,0.5));
791
+ }
792
+ @define-mixin rs-link{
793
+ --rs-link-color:var(--rs-typography-color-hard, #19191C);
794
+
795
+ color:#19191C;
796
+ color:var(--rs-link-color);
797
+
798
+ padding-bottom:1px;
799
+
800
+ outline:none;
801
+
802
+ cursor:pointer;
803
+ text-decoration:none;
804
+
805
+ font-size:inherit;
806
+ line-height:inherit;
807
+ border-bottom-style:solid;
808
+ border-bottom-width:1px;
809
+
810
+ &:active,
811
+ &:focus{
812
+ color:#19191C;
813
+ color:var(--rs-link-color);
814
+ }
815
+
816
+ &:hover{
817
+ text-decoration:none;
818
+ }
819
+
820
+ &:focus[data-focus-method='key']{
821
+ -webkit-box-shadow:#8979ff 0 0 0 4px;
822
+ -webkit-box-shadow:var(--rs-color-primary-dim-light-theme, #8979ff) 0 0 0 4px;
823
+ box-shadow:#8979ff 0 0 0 4px;
824
+ box-shadow:var(--rs-color-primary-dim-light-theme, #8979ff) 0 0 0 4px;
825
+ }
826
+
827
+ [class*="rs-super-hero"] &{
828
+ border-bottom-width:4px;
829
+ }
830
+
831
+ @media screen and (max-width: 1000px){
832
+
833
+ [class*="rs-super-hero"] &{
834
+ border-bottom-width:3px
835
+ }
836
+ }
837
+
838
+ @media screen and (max-width: 640px){
839
+
840
+ [class*="rs-super-hero"] &{
841
+ border-bottom-width:2px
842
+ }
843
+ }
844
+
845
+ [class*="rs-hero"] &{
846
+ border-bottom-width:3px;
847
+ }
848
+
849
+ @media screen and (max-width: 640px){
850
+
851
+ [class*="rs-hero"] &{
852
+ border-bottom-width:2px
853
+ }
854
+ }
855
+
856
+ [class*="rs-h1"] &,
857
+ [class*="rs-h2"] &,
858
+ [class*="rs-h3"] &,
859
+ [class*="rs-h4"] &,
860
+ [class*="rs-h5"] &,
861
+ [class*="rs-overline"] &,
862
+ [class*="rs-subtitle-1"] &,
863
+ [class*="rs-subtitle-2"] &{
864
+ border-bottom-width:2px;
865
+ }
866
+ }
867
+ @define-mixin rs-link-external{
868
+ &:after{
869
+ content:'\2197';
870
+ display:inline;
871
+ margin-right:0;
872
+ margin-left:0;
873
+ }
874
+ }
875
+ @define-mixin rs-link-mode-classic{
876
+ --rs-link-color-hover:var(--rs-typography-color-hard, #19191C);
877
+ --rs-underline-color:var(--rs-typography-classic-link-underline-color, rgba(25,25,28,0.4));
878
+ --rs-underline-color-hover:var(--rs-typography-color-hard, #19191C);
879
+
880
+ border-bottom-color:rgba(25,25,28,0.4);
881
+ border-bottom-color:var(--rs-underline-color);
882
+
883
+ &:hover{
884
+ color:#19191C;
885
+ color:var(--rs-link-color-hover);
886
+ border-bottom-color:#19191C;
887
+ border-bottom-color:var(--rs-underline-color-hover);
888
+ border-bottom-width:2px;
889
+ padding-bottom:0;
890
+ }
891
+ [class*="rs-super-hero"] &:hover{
892
+ border-bottom-width:5px;
893
+ }
894
+
895
+ @media screen and (max-width: 1000px){
896
+ [class*="rs-super-hero"] &:hover{
897
+ border-bottom-width:4px
898
+ }
899
+ }
900
+
901
+ @media screen and (max-width: 640px){
902
+ [class*="rs-super-hero"] &:hover{
903
+ border-bottom-width:3px
904
+ }
905
+ }
906
+ [class*="rs-hero"] &:hover{
907
+ border-bottom-width:4px;
908
+ }
909
+
910
+ @media screen and (max-width: 640px){
911
+ [class*="rs-hero"] &:hover{
912
+ border-bottom-width:3px
913
+ }
914
+ }
915
+ [class*="rs-h1"] &:hover, [class*="rs-h2"] &:hover, [class*="rs-h3"] &:hover, [class*="rs-h4"] &:hover, [class*="rs-h5"] &:hover, [class*="rs-overline"] &:hover, [class*="rs-subtitle-1"] &:hover, [class*="rs-subtitle-2"] &:hover{
916
+ border-bottom-width:3px;
917
+ }
918
+ }
919
+ @define-mixin rs-link-mode-rock{
920
+ --rs-link-color-hover:var(--rs-typography-rock-link-hover-color, #FFFFFF);
921
+ --rs-underline-color:var(--rs-typography-color-pale, #19191C);
922
+
923
+ border-bottom-color:#19191C;
924
+ border-bottom-color:var(--rs-underline-color);
925
+ background-image:-webkit-gradient(linear, left top, left bottom, color-stop(100%, #19191C), color-stop(0, transparent));
926
+ background-image:linear-gradient(to bottom, #19191C 100%, transparent 0);
927
+ background-image:-webkit-gradient(linear, left top, left bottom, color-stop(100%, var(--rs-underline-color)), color-stop(0, transparent));
928
+ background-image:linear-gradient(to bottom, var(--rs-underline-color) 100%, transparent 0);
929
+ background-size:auto 0;
930
+ background-repeat:repeat-x;
931
+ background-position:left calc(100% + 4px);
932
+ -webkit-transition:background-size 300ms, color 300ms;
933
+ transition:background-size 300ms, color 300ms;
934
+ @media all and (-ms-high-contrast: none){
935
+ -webkit-transition:none;
936
+ transition:none;
937
+ }
938
+
939
+ &:hover{
940
+ color:#FFFFFF;
941
+ color:var(--rs-link-color-hover);
942
+ background-size:auto calc(100% + 4px);
943
+ }
944
+ }
945
+ @define-mixin rs-link-mode-standalone{
946
+ --rs-link-standalone-border-offset:1.15em;
947
+ --rs-link-color-hover:var(--rs-typography-color-hard, #19191C);
948
+ --rs-underline-color:transparent;
949
+ --rs-underline-color-hover:var(--rs-typography-color-hard, #19191C);
950
+
951
+ border-bottom-color:transparent;
952
+ border-bottom-color:var(--rs-underline-color);
953
+
954
+ &:after{
955
+ content:'\2192';
956
+ display:inline;
957
+ margin-right:0.15em;
958
+ margin-left:0.15em;
959
+ -webkit-transition:margin-right 300ms, margin-left 300ms;
960
+ transition:margin-right 300ms, margin-left 300ms;
961
+ }
962
+
963
+ &:hover{
964
+ color:#19191C;
965
+ color:var(--rs-link-color-hover);
966
+ border-bottom-color:#19191C;
967
+ border-bottom-color:var(--rs-underline-color-hover);
968
+ -o-border-image:linear-gradient(to right, #19191C calc(100% - 1.1em), transparent 1.1em) 1;
969
+ border-image:-webkit-gradient(linear, left top, right top, from(#19191C), color-stop(1.1em, transparent)) 1;
970
+ border-image:linear-gradient(to right, #19191C calc(100% - 1.1em), transparent 1.1em) 1;
971
+ -o-border-image:linear-gradient(to right, var(--rs-underline-color-hover) calc(100% - var(--rs-link-standalone-border-offset)), transparent var(--rs-link-standalone-border-offset)) 1;
972
+ border-image:-webkit-gradient(linear, left top, right top, from(var(--rs-underline-color-hover)), to(transparent)) 1;
973
+ border-image:linear-gradient(to right, var(--rs-underline-color-hover) calc(100% - var(--rs-link-standalone-border-offset)), transparent var(--rs-link-standalone-border-offset)) 1;
974
+ }
975
+
976
+ &:hover:after{
977
+ margin-right:0;
978
+ margin-left:0.3em;
979
+ }
980
+ }
981
+ @define-mixin rs-link-mode-standalone-external{
982
+ --rs-link-standalone-border-offset:1.02em;
983
+ &:after{
984
+ content:'\2197';
985
+ }
986
+ }
987
+ @define-mixin rs-link-mode-standalone-big-heading{
988
+ --rs-link-standalone-border-offset:1.12em;
989
+ }
990
+ @define-mixin rs-link-mode-standalone-external-big-heading{
991
+ --rs-link-standalone-border-offset:1em;
992
+ }
993
+ @define-mixin rs-link-mode-standalone-overline{
994
+ --rs-link-standalone-border-offset:1.3em;
995
+ }
996
+ @define-mixin rs-link-mode-standalone-external-overline{
997
+ --rs-link-standalone-border-offset:1.15em;
998
+ }
999
+ @define-mixin rs-link-mode-clear{
1000
+ --rs-link-color:var(--rs-typography-color-average, rgba(25,25,28,0.7));
1001
+ --rs-link-color-hover:var(--rs-typography-color-hard, #19191C);
1002
+ --rs-underline-color:transparent;
1003
+ --rs-underline-color-hover:var(--rs-typography-color-hard, #19191C);
1004
+
1005
+ border-bottom-color:transparent;
1006
+ border-bottom-color:var(--rs-underline-color);
1007
+
1008
+ color:rgba(25,25,28,0.7);
1009
+ color:var(--rs-link-color);
1010
+
1011
+ &:hover{
1012
+ border-bottom-color:#19191C;
1013
+ border-bottom-color:var(--rs-underline-color-hover);
1014
+
1015
+ color:#19191C;
1016
+ color:var(--rs-link-color-hover);
1017
+ }
1018
+ }
1019
+ @define-mixin rs-link-hardness-hard-theme-dark{
1020
+ --rs-link-color:var(--rs-typography-color-hard, #FFFFFF);
1021
+ }
1022
+ @define-mixin rs-link-hardness-average-theme-dark{
1023
+ --rs-link-color:var(--rs-typography-color-average, rgba(255,255,255,0.7));
1024
+ }
1025
+ @define-mixin rs-link-hardness-pale-theme-dark{
1026
+ --rs-link-color:var(--rs-typography-color-pale, rgba(255,255,255,0.5));
1027
+ }
1028
+ @define-mixin rs-link-theme-dark{
1029
+ --rs-link-color:var(--rs-typography-color-hard, #FFFFFF);
1030
+ color:#FFFFFF;
1031
+ color:var(--rs-link-color);
1032
+
1033
+ &:active,
1034
+ &:focus{
1035
+ color:#FFFFFF;
1036
+ color:var(--rs-link-color);
1037
+ }
1038
+
1039
+ &:focus[data-focus-method='key']{
1040
+ -webkit-box-shadow:#6f61d2 0 0 0 4px;
1041
+ -webkit-box-shadow:var(--rs-color-primary-dim-dark-theme, #6f61d2) 0 0 0 4px;
1042
+ box-shadow:#6f61d2 0 0 0 4px;
1043
+ box-shadow:var(--rs-color-primary-dim-dark-theme, #6f61d2) 0 0 0 4px;
1044
+ }
1045
+ }
1046
+ @define-mixin rs-link-mode-classic-theme-dark{
1047
+ --rs-link-color-hover:var(--rs-typography-color-hard, #FFFFFF);
1048
+ --rs-underline-color:var(--rs-typography-classic-link-underline-color, rgba(255,255,255,0.4));
1049
+ --rs-underline-color-hover:var(--rs-typography-color-hard, #FFFFFF);
1050
+
1051
+ border-bottom-color:rgba(255,255,255,0.4);
1052
+ border-bottom-color:var(--rs-underline-color);
1053
+
1054
+ &:hover{
1055
+ color:#FFFFFF;
1056
+ color:var(--rs-link-color-hover);
1057
+ border-bottom-color:#FFFFFF;
1058
+ border-bottom-color:var(--rs-underline-color-hover);
1059
+ }
1060
+ }
1061
+ @define-mixin rs-link-mode-rock-theme-dark{
1062
+ --rs-link-color-hover:var(--rs-typography-rock-link-hover-color, #19191C);
1063
+ --rs-underline-color:var(--rs-typography-color-hard, #FFFFFF);
1064
+
1065
+ border-bottom-color:#FFFFFF;
1066
+ border-bottom-color:var(--rs-underline-color);
1067
+
1068
+ background-image:-webkit-gradient(linear, left top, left bottom, color-stop(100%, #FFFFFF), color-stop(0, transparent));
1069
+
1070
+ background-image:linear-gradient(to bottom, #FFFFFF 100%, transparent 0);
1071
+ background-image:-webkit-gradient(linear, left top, left bottom, color-stop(100%, var(--rs-underline-color)), color-stop(0, transparent));
1072
+ background-image:linear-gradient(to bottom, var(--rs-underline-color) 100%, transparent 0);
1073
+
1074
+ &:hover{
1075
+ color:#19191C;
1076
+ color:var(--rs-link-color-hover);
1077
+ }
1078
+ }
1079
+ @define-mixin rs-link-mode-standalone-theme-dark{
1080
+ --rs-link-color-hover:var(--rs-typography-color-hard, #FFFFFF);
1081
+ --rs-underline-color-hover:var(--rs-typography-color-hard, #FFFFFF);
1082
+
1083
+ background-image:none;
1084
+ border-bottom-color:transparent;
1085
+
1086
+ &:hover{
1087
+ color:#FFFFFF;
1088
+ color:var(--rs-link-color-hover);
1089
+ border-bottom-color:#FFFFFF;
1090
+ border-bottom-color:var(--rs-underline-color-hover);
1091
+ -o-border-image:linear-gradient(to right, #FFFFFF calc(100% - 1.3em), transparent 1.3em) 1;
1092
+ border-image:-webkit-gradient(linear, left top, right top, from(#FFFFFF), color-stop(1.3em, transparent)) 1;
1093
+ border-image:linear-gradient(to right, #FFFFFF calc(100% - 1.3em), transparent 1.3em) 1;
1094
+ -o-border-image:linear-gradient(to right, var(--rs-underline-color-hover) calc(100% - var(--rs-link-standalone-border-offset)), transparent var(--rs-link-standalone-border-offset)) 1;
1095
+ border-image:-webkit-gradient(linear, left top, right top, from(var(--rs-underline-color-hover)), to(transparent)) 1;
1096
+ border-image:linear-gradient(to right, var(--rs-underline-color-hover) calc(100% - var(--rs-link-standalone-border-offset)), transparent var(--rs-link-standalone-border-offset)) 1;
1097
+ }
1098
+ }
1099
+ @define-mixin rs-link-mode-clear-theme-dark{
1100
+ --rs-link-color:var(--rs-typography-color-average, rgba(255,255,255,0.7));
1101
+ --rs-link-color-hover:var(--rs-typography-color-hard, #FFFFFF);
1102
+ --rs-underline-color-hover:var(--rs-typography-color-hard, #FFFFFF);
1103
+
1104
+ color:rgba(255,255,255,0.7);
1105
+ color:var(--rs-link-color);
1106
+
1107
+ &:hover{
1108
+ color:#FFFFFF;
1109
+ color:var(--rs-link-color-hover);
1110
+ border-bottom-color:#FFFFFF;
1111
+ border-bottom-color:var(--rs-underline-color-hover);
1112
+ }
1113
+ }
1114
+
1115
+ /*# sourceMappingURL=mixins.css.map */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rescui/typography",
3
- "version": "0.7.2",
3
+ "version": "0.7.4",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JetBrains",
@@ -19,18 +19,18 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "@babel/runtime-corejs3": "^7.14.0",
22
- "@rescui/colors": "^0.1.1",
22
+ "@rescui/colors": "^0.1.2",
23
23
  "bem-cn-fast": "^1.0.2",
24
24
  "inter-ui": "^3.15.1"
25
25
  },
26
26
  "peerDependencies": {
27
- "@rescui/ui-contexts": "<0.3.0",
27
+ "@rescui/ui-contexts": "<0.4.0",
28
28
  "react": ">=16.8.0 <18"
29
29
  },
30
30
  "devDependencies": {
31
- "@rescui/postcss-preset-library": "^0.0.5",
32
- "@rescui/scripts": "^0.1.5",
33
- "@rescui/visual-regression": "^0.0.1",
31
+ "@rescui/postcss-preset-library": "^0.0.6",
32
+ "@rescui/scripts": "^0.1.6",
33
+ "@rescui/visual-regression": "^0.0.2",
34
34
  "case": "^1.6.3",
35
35
  "fs-extra": "^7.0.1",
36
36
  "postcss": "^8.2.13",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "scripts": {
40
40
  "build": "rescui-scripts build --no-css-modules && yarn run build-mixins && shx cp src/font-*.css lib",
41
- "build-mixins": "rescui-scripts postcss --glob mixins.pcss --config ./.postcssrc-mixins.js --no-clean-out && shx mv lib/mixins.css lib/mixins.pcss && shx rm lib/mixins.css.map"
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": "67f695b72d13fd8445542c48f096b65656fdd7d9"
43
+ "gitHead": "c5b48e321608ae1755e691238aa5db5977318c75"
44
44
  }