@rescui/tag 0.9.5 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,669 @@
1
+ @define-mixin rs-tag-size-xs{
2
+ &:not(html){
3
+ --_rs-tag-vertical-padding:2px;
4
+ --_rs-tag-base-horizontal-padding:8px;
5
+ --_rs-tag-uppercase-horizontal-padding:var(
6
+ --_rs-tag-base-horizontal-padding
7
+ );
8
+ --_rs-tag-icon-size:20px;
9
+ --_rs-tag-border-radius:4px;
10
+ --_rs-typography-letter-spacing:0.0045em;
11
+ --_rs-typography-text-transform:initial;
12
+ --_rs-typography-font-variant-numeric:initial;
13
+ --_rs-typography-font-family:var(
14
+ --rs-font-family-ui,
15
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
16
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
17
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
18
+ );
19
+ --_rs-typography-font-size:var(--rs-text-3-font-size, 13px);
20
+ --_rs-typography-font-weight:var(
21
+ --rs-font-weight-regular,
22
+ 400
23
+ );
24
+ --_rs-typography-line-height:var(
25
+ --rs-text-3-line-height,
26
+ 20px
27
+ );
28
+ --_rs-typography-base-color:var(
29
+ --_rs-typography-hardness-color,
30
+ var(
31
+ --rs-color-average,
32
+ rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.7)
33
+ )
34
+ );
35
+ --_rs-typography-text-auto-offset:8px;
36
+ --_rs-typography-ul-list-li-padding-left:28px;
37
+ --_rs-typography-ol-list-li-padding-left:21px;
38
+ --_rs-typography-list-li-margin-top-from-text:8px;
39
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
40
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
41
+ --_rs-typography-link-border-bottom-width-from-text:1px;
42
+ }
43
+ }
44
+ @define-mixin rs-tag-size-s{
45
+ &:not(html){
46
+ --_rs-tag-vertical-padding:4px;
47
+ --_rs-tag-base-horizontal-padding:8px;
48
+ --_rs-tag-uppercase-horizontal-padding:10px;
49
+ --_rs-tag-icon-size:20px;
50
+ --_rs-tag-border-radius:4px;
51
+ --_rs-typography-letter-spacing:0.0045em;
52
+ --_rs-typography-text-transform:initial;
53
+ --_rs-typography-font-variant-numeric:initial;
54
+ --_rs-typography-font-family:var(
55
+ --rs-font-family-ui,
56
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
57
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
58
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
59
+ );
60
+ --_rs-typography-font-size:var(--rs-text-3-font-size, 13px);
61
+ --_rs-typography-font-weight:var(
62
+ --rs-font-weight-regular,
63
+ 400
64
+ );
65
+ --_rs-typography-line-height:var(
66
+ --rs-text-3-line-height,
67
+ 20px
68
+ );
69
+ --_rs-typography-base-color:var(
70
+ --_rs-typography-hardness-color,
71
+ var(
72
+ --rs-color-average,
73
+ rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.7)
74
+ )
75
+ );
76
+ --_rs-typography-text-auto-offset:8px;
77
+ --_rs-typography-ul-list-li-padding-left:28px;
78
+ --_rs-typography-ol-list-li-padding-left:21px;
79
+ --_rs-typography-list-li-margin-top-from-text:8px;
80
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
81
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
82
+ --_rs-typography-link-border-bottom-width-from-text:1px;
83
+ }
84
+ }
85
+ @define-mixin rs-tag-size-m{
86
+ &:not(html){
87
+ --_rs-tag-vertical-padding:6px;
88
+ --_rs-tag-base-horizontal-padding:12px;
89
+ --_rs-tag-uppercase-horizontal-padding:var(
90
+ --_rs-tag-base-horizontal-padding
91
+ );
92
+ --_rs-tag-icon-size:24px;
93
+ --_rs-tag-border-radius:6px;
94
+ --_rs-typography-letter-spacing:0.0015em;
95
+ --_rs-typography-text-transform:initial;
96
+ --_rs-typography-font-variant-numeric:initial;
97
+ --_rs-typography-font-family:var(
98
+ --rs-font-family-ui,
99
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
100
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
101
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
102
+ );
103
+ --_rs-typography-font-size:var(--rs-text-2-font-size, 16px);
104
+ --_rs-typography-font-weight:var(
105
+ --rs-font-weight-regular,
106
+ 400
107
+ );
108
+ --_rs-typography-line-height:var(
109
+ --rs-text-2-line-height,
110
+ 24px
111
+ );
112
+ --_rs-typography-base-color:var(
113
+ --_rs-typography-hardness-color,
114
+ var(
115
+ --rs-color-average,
116
+ rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.7)
117
+ )
118
+ );
119
+ --_rs-typography-text-auto-offset:16px;
120
+ --_rs-typography-ul-list-li-padding-left:22px;
121
+ --_rs-typography-ol-list-li-padding-left:26px;
122
+ --_rs-typography-list-li-margin-top-from-text:16px;
123
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
124
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
125
+ --_rs-typography-link-border-bottom-width-from-text:1px;
126
+ }
127
+ @media screen and (max-width: 640px){
128
+ &:not(html){
129
+ --_rs-typography-list-li-margin-top-from-text:12px;
130
+ }
131
+ }
132
+ }
133
+ @define-mixin rs-tag-size-l{
134
+ &:not(html){
135
+ --_rs-tag-vertical-padding:8px;
136
+ --_rs-tag-base-horizontal-padding:16px;
137
+ --_rs-tag-uppercase-horizontal-padding:var(
138
+ --_rs-tag-base-horizontal-padding
139
+ );
140
+ --_rs-tag-icon-size:28px;
141
+ --_rs-tag-border-radius:8px;
142
+ --_rs-typography-letter-spacing:normal;
143
+ --_rs-typography-text-transform:initial;
144
+ --_rs-typography-font-variant-numeric:initial;
145
+ --_rs-typography-font-family:var(
146
+ --rs-font-family-ui,
147
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
148
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
149
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
150
+ );
151
+ --_rs-typography-font-size:var(--rs-text-1-font-size, 20px);
152
+ --_rs-typography-font-weight:var(
153
+ --rs-font-weight-regular,
154
+ 400
155
+ );
156
+ --_rs-typography-line-height:var(
157
+ --rs-text-1-line-height,
158
+ 28px
159
+ );
160
+ --_rs-typography-base-color:var(
161
+ --_rs-typography-hardness-color,
162
+ var(
163
+ --rs-color-average,
164
+ rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.7)
165
+ )
166
+ );
167
+ --_rs-typography-text-auto-offset:32px;
168
+ --_rs-typography-ul-list-li-padding-left:26px;
169
+ --_rs-typography-ol-list-li-padding-left:32px;
170
+ --_rs-typography-list-li-margin-top-from-text:24px;
171
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
172
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
173
+ --_rs-typography-link-border-bottom-width-from-text:1px;
174
+ }
175
+ @media screen and (max-width: 640px){
176
+ &:not(html){
177
+ --_rs-typography-list-li-margin-top-from-text:16px;
178
+ }
179
+ }
180
+ }
181
+ @define-mixin rs-tag-align-icon-left{
182
+ &:not(html){
183
+ --_rs-tag-flex-direction:row;
184
+ }
185
+ }
186
+ @define-mixin rs-tag-align-icon-right{
187
+ &:not(html){
188
+ --_rs-tag-flex-direction:row-reverse;
189
+ }
190
+ }
191
+ @define-mixin rs-tag-uppercase-true{
192
+ &:not(html){
193
+ --_rs-tag-text-transform:uppercase;
194
+ --_rs-tag-horizontal-padding-or-initial:var(
195
+ --_rs-tag-uppercase-horizontal-padding
196
+ );
197
+ }
198
+ }
199
+ @define-mixin rs-tag-uppercase-false{
200
+ &:not(html){
201
+ --_rs-tag-text-transform:initial;
202
+ --_rs-tag-horizontal-padding-or-initial:initial;
203
+ }
204
+ }
205
+ @define-mixin rs-sticky-tag-size-xs{
206
+ &:not(html){
207
+ --_rs-tag-vertical-padding:2px;
208
+ --_rs-tag-base-horizontal-padding:8px;
209
+ --_rs-tag-uppercase-horizontal-padding:var(
210
+ --_rs-tag-base-horizontal-padding
211
+ );
212
+ --_rs-tag-icon-size:20px;
213
+ --_rs-tag-border-radius:4px;
214
+ --_rs-typography-letter-spacing:0.0045em;
215
+ --_rs-typography-text-transform:initial;
216
+ --_rs-typography-font-variant-numeric:initial;
217
+ --_rs-typography-font-family:var(
218
+ --rs-font-family-ui,
219
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
220
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
221
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
222
+ );
223
+ --_rs-typography-font-size:var(--rs-text-3-font-size, 13px);
224
+ --_rs-typography-font-weight:var(
225
+ --rs-font-weight-regular,
226
+ 400
227
+ );
228
+ --_rs-typography-line-height:var(
229
+ --rs-text-3-line-height,
230
+ 20px
231
+ );
232
+ --_rs-typography-base-color:var(
233
+ --_rs-typography-hardness-color,
234
+ var(
235
+ --rs-color-average,
236
+ rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.7)
237
+ )
238
+ );
239
+ --_rs-typography-text-auto-offset:8px;
240
+ --_rs-typography-ul-list-li-padding-left:28px;
241
+ --_rs-typography-ol-list-li-padding-left:21px;
242
+ --_rs-typography-list-li-margin-top-from-text:8px;
243
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
244
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
245
+ --_rs-typography-link-border-bottom-width-from-text:1px;
246
+ }
247
+ }
248
+ @define-mixin rs-sticky-tag-size-s{
249
+ &:not(html){
250
+ --_rs-tag-vertical-padding:4px;
251
+ --_rs-tag-base-horizontal-padding:8px;
252
+ --_rs-tag-uppercase-horizontal-padding:10px;
253
+ --_rs-tag-icon-size:20px;
254
+ --_rs-tag-border-radius:4px;
255
+ --_rs-typography-letter-spacing:0.0045em;
256
+ --_rs-typography-text-transform:initial;
257
+ --_rs-typography-font-variant-numeric:initial;
258
+ --_rs-typography-font-family:var(
259
+ --rs-font-family-ui,
260
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
261
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
262
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
263
+ );
264
+ --_rs-typography-font-size:var(--rs-text-3-font-size, 13px);
265
+ --_rs-typography-font-weight:var(
266
+ --rs-font-weight-regular,
267
+ 400
268
+ );
269
+ --_rs-typography-line-height:var(
270
+ --rs-text-3-line-height,
271
+ 20px
272
+ );
273
+ --_rs-typography-base-color:var(
274
+ --_rs-typography-hardness-color,
275
+ var(
276
+ --rs-color-average,
277
+ rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.7)
278
+ )
279
+ );
280
+ --_rs-typography-text-auto-offset:8px;
281
+ --_rs-typography-ul-list-li-padding-left:28px;
282
+ --_rs-typography-ol-list-li-padding-left:21px;
283
+ --_rs-typography-list-li-margin-top-from-text:8px;
284
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
285
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
286
+ --_rs-typography-link-border-bottom-width-from-text:1px;
287
+ }
288
+ }
289
+ @define-mixin rs-sticky-tag-size-m{
290
+ &:not(html){
291
+ --_rs-tag-vertical-padding:6px;
292
+ --_rs-tag-base-horizontal-padding:12px;
293
+ --_rs-tag-uppercase-horizontal-padding:var(
294
+ --_rs-tag-base-horizontal-padding
295
+ );
296
+ --_rs-tag-icon-size:24px;
297
+ --_rs-tag-border-radius:6px;
298
+ --_rs-typography-letter-spacing:0.0015em;
299
+ --_rs-typography-text-transform:initial;
300
+ --_rs-typography-font-variant-numeric:initial;
301
+ --_rs-typography-font-family:var(
302
+ --rs-font-family-ui,
303
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
304
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
305
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
306
+ );
307
+ --_rs-typography-font-size:var(--rs-text-2-font-size, 16px);
308
+ --_rs-typography-font-weight:var(
309
+ --rs-font-weight-regular,
310
+ 400
311
+ );
312
+ --_rs-typography-line-height:var(
313
+ --rs-text-2-line-height,
314
+ 24px
315
+ );
316
+ --_rs-typography-base-color:var(
317
+ --_rs-typography-hardness-color,
318
+ var(
319
+ --rs-color-average,
320
+ rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.7)
321
+ )
322
+ );
323
+ --_rs-typography-text-auto-offset:16px;
324
+ --_rs-typography-ul-list-li-padding-left:22px;
325
+ --_rs-typography-ol-list-li-padding-left:26px;
326
+ --_rs-typography-list-li-margin-top-from-text:16px;
327
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
328
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
329
+ --_rs-typography-link-border-bottom-width-from-text:1px;
330
+ }
331
+ @media screen and (max-width: 640px){
332
+ &:not(html){
333
+ --_rs-typography-list-li-margin-top-from-text:12px;
334
+ }
335
+ }
336
+ }
337
+ @define-mixin rs-sticky-tag-size-l{
338
+ &:not(html){
339
+ --_rs-tag-vertical-padding:8px;
340
+ --_rs-tag-base-horizontal-padding:16px;
341
+ --_rs-tag-uppercase-horizontal-padding:var(
342
+ --_rs-tag-base-horizontal-padding
343
+ );
344
+ --_rs-tag-icon-size:28px;
345
+ --_rs-tag-border-radius:8px;
346
+ --_rs-typography-letter-spacing:normal;
347
+ --_rs-typography-text-transform:initial;
348
+ --_rs-typography-font-variant-numeric:initial;
349
+ --_rs-typography-font-family:var(
350
+ --rs-font-family-ui,
351
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
352
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
353
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
354
+ );
355
+ --_rs-typography-font-size:var(--rs-text-1-font-size, 20px);
356
+ --_rs-typography-font-weight:var(
357
+ --rs-font-weight-regular,
358
+ 400
359
+ );
360
+ --_rs-typography-line-height:var(
361
+ --rs-text-1-line-height,
362
+ 28px
363
+ );
364
+ --_rs-typography-base-color:var(
365
+ --_rs-typography-hardness-color,
366
+ var(
367
+ --rs-color-average,
368
+ rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.7)
369
+ )
370
+ );
371
+ --_rs-typography-text-auto-offset:32px;
372
+ --_rs-typography-ul-list-li-padding-left:26px;
373
+ --_rs-typography-ol-list-li-padding-left:32px;
374
+ --_rs-typography-list-li-margin-top-from-text:24px;
375
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
376
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
377
+ --_rs-typography-link-border-bottom-width-from-text:1px;
378
+ }
379
+ @media screen and (max-width: 640px){
380
+ &:not(html){
381
+ --_rs-typography-list-li-margin-top-from-text:16px;
382
+ }
383
+ }
384
+ }
385
+ @define-mixin rs-sticky-tag-align-icon-left{
386
+ &:not(html){
387
+ --_rs-tag-flex-direction:row;
388
+ }
389
+ }
390
+ @define-mixin rs-sticky-tag-align-icon-right{
391
+ &:not(html){
392
+ --_rs-tag-flex-direction:row-reverse;
393
+ }
394
+ }
395
+ @define-mixin rs-sticky-tag-uppercase-true{
396
+ &:not(html){
397
+ --_rs-tag-text-transform:uppercase;
398
+ --_rs-tag-horizontal-padding-or-initial:var(
399
+ --_rs-tag-uppercase-horizontal-padding
400
+ );
401
+ }
402
+ }
403
+ @define-mixin rs-sticky-tag-uppercase-false{
404
+ &:not(html){
405
+ --_rs-tag-text-transform:initial;
406
+ --_rs-tag-horizontal-padding-or-initial:initial;
407
+ }
408
+ }
409
+ @define-mixin rs-sticky-tag-offset-16{
410
+ &:not(html){
411
+ --_rs-tag-sticky-side-offset:16px;
412
+ }
413
+ }
414
+ @define-mixin rs-sticky-tag-offset-24{
415
+ &:not(html){
416
+ --_rs-tag-sticky-side-offset:24px;
417
+ }
418
+ }
419
+ @define-mixin rs-sticky-tag-offset-32{
420
+ &:not(html){
421
+ --_rs-tag-sticky-side-offset:32px;
422
+ }
423
+ }
424
+ @define-mixin rs-sticky-tag-align-top{
425
+ &:not(html){
426
+ --_rs-tag-sticky-border-radius:var(--_rs-tag-border-radius) var(--_rs-tag-border-radius) 0 0;
427
+ --_rs-tag-sticky-translate-y:-100%;
428
+ }
429
+ }
430
+ @define-mixin rs-sticky-tag-align-middle{
431
+ &:not(html){
432
+ --_rs-tag-sticky-border-radius:var(--_rs-tag-border-radius);
433
+ --_rs-tag-sticky-translate-y:-50%;
434
+ }
435
+ }
436
+ @define-mixin rs-sticky-tag-placement-top-start{
437
+ &:not(html){
438
+ --_rs-tag-sticky-top:0;
439
+ --_rs-tag-sticky-right:initial;
440
+ --_rs-tag-sticky-left:var(--_rs-tag-sticky-side-offset);
441
+ --_rs-tag-sticky-transform:translate(0, var(--_rs-tag-sticky-translate-y));
442
+ --_rs-tag-sticky-transform-origin:initial;
443
+ }
444
+ }
445
+ @define-mixin rs-sticky-tag-placement-top-end{
446
+ &:not(html){
447
+ --_rs-tag-sticky-top:0;
448
+ --_rs-tag-sticky-right:var(--_rs-tag-sticky-side-offset);
449
+ --_rs-tag-sticky-left:initial;
450
+ --_rs-tag-sticky-transform:translate(0, var(--_rs-tag-sticky-translate-y));
451
+ --_rs-tag-sticky-transform-origin:initial;
452
+ }
453
+ }
454
+ @define-mixin rs-sticky-tag-placement-left-start{
455
+ &:not(html){
456
+ --_rs-tag-sticky-top:var(--_rs-tag-sticky-side-offset);
457
+ --_rs-tag-sticky-right:100%;
458
+ --_rs-tag-sticky-left:initial;
459
+ --_rs-tag-sticky-transform:rotate(270deg) translate(0, var(--_rs-tag-sticky-translate-y));
460
+ --_rs-tag-sticky-transform-origin:100% 0;
461
+ }
462
+ }
463
+ @define-mixin rs-sticky-tag-placement-left-end{
464
+ &:not(html){
465
+ --_rs-tag-sticky-top:calc(100% - var(--_rs-tag-sticky-side-offset));
466
+ --_rs-tag-sticky-right:100%;
467
+ --_rs-tag-sticky-left:initial;
468
+ --_rs-tag-sticky-transform:rotate(270deg) translate(100%, var(--_rs-tag-sticky-translate-y));
469
+ --_rs-tag-sticky-transform-origin:100% 0;
470
+ }
471
+ }
472
+ @define-mixin rs-removable-tag-size-xs{
473
+ &:not(html){
474
+ --_rs-tag-removable-vertical-padding:2px;
475
+ --_rs-tag-removable-left-padding:8px;
476
+ --_rs-tag-removable-right-padding:2px;
477
+ --_rs-tag-removable-border-radius:4px;
478
+ --_rs-tag-removable-close-icon-size:28px;
479
+ --_rs-tag-removable-custom-icon-size:20px;
480
+ }
481
+ &:not(html) [data-rs-internal="removable-tag__close-icon"]:not(html){
482
+ --_rs-icons-height:20px;
483
+ }
484
+ &:not(html){
485
+ --_rs-typography-letter-spacing:0.0045em;
486
+ --_rs-typography-text-transform:initial;
487
+ --_rs-typography-font-variant-numeric:initial;
488
+ --_rs-typography-font-family:var(
489
+ --rs-font-family-ui,
490
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
491
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
492
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
493
+ );
494
+ --_rs-typography-font-size:var(--rs-text-3-font-size, 13px);
495
+ --_rs-typography-font-weight:var(
496
+ --rs-font-weight-regular,
497
+ 400
498
+ );
499
+ --_rs-typography-line-height:var(
500
+ --rs-text-3-line-height,
501
+ 20px
502
+ );
503
+ --_rs-typography-base-color:var(
504
+ --_rs-typography-hardness-color,
505
+ var(
506
+ --rs-color-average,
507
+ rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.7)
508
+ )
509
+ );
510
+ --_rs-typography-text-auto-offset:8px;
511
+ --_rs-typography-ul-list-li-padding-left:28px;
512
+ --_rs-typography-ol-list-li-padding-left:21px;
513
+ --_rs-typography-list-li-margin-top-from-text:8px;
514
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
515
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
516
+ --_rs-typography-link-border-bottom-width-from-text:1px;
517
+ }
518
+ }
519
+ @define-mixin rs-removable-tag-size-s{
520
+ &:not(html){
521
+ --_rs-tag-removable-vertical-padding:4px;
522
+ --_rs-tag-removable-left-padding:8px;
523
+ --_rs-tag-removable-right-padding:2px;
524
+ --_rs-tag-removable-border-radius:4px;
525
+ --_rs-tag-removable-close-icon-size:28px;
526
+ --_rs-tag-removable-custom-icon-size:20px;
527
+ }
528
+ &:not(html) [data-rs-internal="removable-tag__close-icon"]:not(html){
529
+ --_rs-icons-height:20px;
530
+ }
531
+ &:not(html){
532
+ --_rs-typography-letter-spacing:0.0045em;
533
+ --_rs-typography-text-transform:initial;
534
+ --_rs-typography-font-variant-numeric:initial;
535
+ --_rs-typography-font-family:var(
536
+ --rs-font-family-ui,
537
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
538
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
539
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
540
+ );
541
+ --_rs-typography-font-size:var(--rs-text-3-font-size, 13px);
542
+ --_rs-typography-font-weight:var(
543
+ --rs-font-weight-regular,
544
+ 400
545
+ );
546
+ --_rs-typography-line-height:var(
547
+ --rs-text-3-line-height,
548
+ 20px
549
+ );
550
+ --_rs-typography-base-color:var(
551
+ --_rs-typography-hardness-color,
552
+ var(
553
+ --rs-color-average,
554
+ rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.7)
555
+ )
556
+ );
557
+ --_rs-typography-text-auto-offset:8px;
558
+ --_rs-typography-ul-list-li-padding-left:28px;
559
+ --_rs-typography-ol-list-li-padding-left:21px;
560
+ --_rs-typography-list-li-margin-top-from-text:8px;
561
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
562
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
563
+ --_rs-typography-link-border-bottom-width-from-text:1px;
564
+ }
565
+ }
566
+ @define-mixin rs-removable-tag-size-m{
567
+ &:not(html){
568
+ --_rs-tag-removable-vertical-padding:6px;
569
+ --_rs-tag-removable-left-padding:12px;
570
+ --_rs-tag-removable-right-padding:2px;
571
+ --_rs-tag-removable-border-radius:6px;
572
+ --_rs-tag-removable-close-icon-size:36px;
573
+ --_rs-tag-removable-custom-icon-size:24px;
574
+ }
575
+ &:not(html) [data-rs-internal="removable-tag__close-icon"]:not(html){
576
+ --_rs-icons-height:24px;
577
+ }
578
+ &:not(html){
579
+ --_rs-typography-letter-spacing:0.0015em;
580
+ --_rs-typography-text-transform:initial;
581
+ --_rs-typography-font-variant-numeric:initial;
582
+ --_rs-typography-font-family:var(
583
+ --rs-font-family-ui,
584
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
585
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
586
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
587
+ );
588
+ --_rs-typography-font-size:var(--rs-text-2-font-size, 16px);
589
+ --_rs-typography-font-weight:var(
590
+ --rs-font-weight-regular,
591
+ 400
592
+ );
593
+ --_rs-typography-line-height:var(
594
+ --rs-text-2-line-height,
595
+ 24px
596
+ );
597
+ --_rs-typography-base-color:var(
598
+ --_rs-typography-hardness-color,
599
+ var(
600
+ --rs-color-average,
601
+ rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.7)
602
+ )
603
+ );
604
+ --_rs-typography-text-auto-offset:16px;
605
+ --_rs-typography-ul-list-li-padding-left:22px;
606
+ --_rs-typography-ol-list-li-padding-left:26px;
607
+ --_rs-typography-list-li-margin-top-from-text:16px;
608
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
609
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
610
+ --_rs-typography-link-border-bottom-width-from-text:1px;
611
+ }
612
+ @media screen and (max-width: 640px){
613
+ &:not(html){
614
+ --_rs-typography-list-li-margin-top-from-text:12px;
615
+ }
616
+ }
617
+ }
618
+ @define-mixin rs-removable-tag-size-l{
619
+ &:not(html){
620
+ --_rs-tag-removable-vertical-padding:8px;
621
+ --_rs-tag-removable-left-padding:16px;
622
+ --_rs-tag-removable-right-padding:4px;
623
+ --_rs-tag-removable-border-radius:8px;
624
+ --_rs-tag-removable-close-icon-size:44px;
625
+ --_rs-tag-removable-custom-icon-size:28px;
626
+ }
627
+ &:not(html) [data-rs-internal="removable-tag__close-icon"]:not(html){
628
+ --_rs-icons-height:28px;
629
+ }
630
+ &:not(html){
631
+ --_rs-typography-letter-spacing:normal;
632
+ --_rs-typography-text-transform:initial;
633
+ --_rs-typography-font-variant-numeric:initial;
634
+ --_rs-typography-font-family:var(
635
+ --rs-font-family-ui,
636
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
637
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
638
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
639
+ );
640
+ --_rs-typography-font-size:var(--rs-text-1-font-size, 20px);
641
+ --_rs-typography-font-weight:var(
642
+ --rs-font-weight-regular,
643
+ 400
644
+ );
645
+ --_rs-typography-line-height:var(
646
+ --rs-text-1-line-height,
647
+ 28px
648
+ );
649
+ --_rs-typography-base-color:var(
650
+ --_rs-typography-hardness-color,
651
+ var(
652
+ --rs-color-average,
653
+ rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.7)
654
+ )
655
+ );
656
+ --_rs-typography-text-auto-offset:32px;
657
+ --_rs-typography-ul-list-li-padding-left:26px;
658
+ --_rs-typography-ol-list-li-padding-left:32px;
659
+ --_rs-typography-list-li-margin-top-from-text:24px;
660
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
661
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
662
+ --_rs-typography-link-border-bottom-width-from-text:1px;
663
+ }
664
+ @media screen and (max-width: 640px){
665
+ &:not(html){
666
+ --_rs-typography-list-li-margin-top-from-text:16px;
667
+ }
668
+ }
669
+ }