@rescui/typography 0.24.5-RUI-280-Update-select-component-downshift-2f40ef205.67 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/create-text-cn.d.ts +1 -1
- package/lib/create-text-cn.js +1 -1
- package/lib/index-moduled.css +172 -118
- package/lib/index-moduled.p.module.css.js +128 -124
- package/lib/index.css +58 -4
- package/lib/mixins.p.css +155 -2
- package/lib/mixins.pcss +155 -2
- package/lib/public-api.p.css +208 -5
- package/lib/public-api.pcss +208 -5
- package/package.json +6 -6
|
@@ -1,127 +1,131 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"rs-reset-letter-spacing": "_rs-reset-letter-
|
|
3
|
-
"rs-typography_theme_light": "_rs-
|
|
4
|
-
"rs-typography_theme_dark": "_rs-
|
|
5
|
-
"rs-text_hardness_hard": "_rs-
|
|
6
|
-
"rs-text_hardness_average": "_rs-
|
|
7
|
-
"rs-text_hardness_pale": "_rs-
|
|
8
|
-
"rs-text_hardness_auto": "_rs-
|
|
9
|
-
"rs-text_color_hard": "_rs-
|
|
10
|
-
"rs-text_color_average": "_rs-
|
|
11
|
-
"rs-text_color_pale": "_rs-
|
|
12
|
-
"rs-text_color_base": "_rs-
|
|
13
|
-
"rs-digits-1": "_rs-digits-
|
|
14
|
-
"rs-digits-2": "_rs-digits-
|
|
15
|
-
"rs-super-hero": "_rs-super-
|
|
16
|
-
"rs-middle-hero": "_rs-middle-
|
|
17
|
-
"rs-hero": "_rs-
|
|
18
|
-
"rs-h1": "_rs-
|
|
19
|
-
"rs-h2": "_rs-
|
|
20
|
-
"rs-h3": "_rs-
|
|
21
|
-
"rs-
|
|
22
|
-
"rs-
|
|
23
|
-
"rs-
|
|
24
|
-
"rs-subtitle-
|
|
25
|
-
"rs-
|
|
26
|
-
"rs-
|
|
27
|
-
"rs-text-
|
|
28
|
-
"rs-text-
|
|
29
|
-
"rs-
|
|
30
|
-
"rs-digits-
|
|
31
|
-
"rs-
|
|
32
|
-
"rs-
|
|
33
|
-
"rs-hero_theme_light": "_rs-
|
|
34
|
-
"rs-
|
|
35
|
-
"rs-
|
|
36
|
-
"rs-
|
|
37
|
-
"rs-
|
|
38
|
-
"rs-
|
|
39
|
-
"rs-
|
|
40
|
-
"rs-
|
|
41
|
-
"rs-
|
|
42
|
-
"rs-
|
|
43
|
-
"rs-text-
|
|
44
|
-
"rs-
|
|
45
|
-
"rs-
|
|
46
|
-
"rs-
|
|
47
|
-
"rs-
|
|
48
|
-
"rs-
|
|
49
|
-
"rs-hero_theme_dark": "_rs-
|
|
50
|
-
"rs-
|
|
51
|
-
"rs-
|
|
52
|
-
"rs-
|
|
53
|
-
"rs-
|
|
54
|
-
"rs-
|
|
55
|
-
"rs-
|
|
56
|
-
"rs-
|
|
57
|
-
"rs-
|
|
58
|
-
"rs-
|
|
59
|
-
"rs-
|
|
60
|
-
"rs-
|
|
61
|
-
"rs-
|
|
62
|
-
"rs-
|
|
63
|
-
"rs-
|
|
64
|
-
"rs-
|
|
65
|
-
"rs-
|
|
66
|
-
"rs-
|
|
67
|
-
"rs-
|
|
68
|
-
"rs-
|
|
69
|
-
"rs-
|
|
70
|
-
"rs-
|
|
71
|
-
"rs-
|
|
72
|
-
"rs-
|
|
73
|
-
"rs-
|
|
74
|
-
"rs-
|
|
75
|
-
"rs-
|
|
76
|
-
"rs-
|
|
77
|
-
"rs-text-
|
|
78
|
-
"rs-text-
|
|
79
|
-
"rs-text-
|
|
80
|
-
"rs-
|
|
81
|
-
"rs-text-
|
|
82
|
-
"rs-text-
|
|
83
|
-
"rs-text-
|
|
84
|
-
"rs-text-
|
|
85
|
-
"rs-text-
|
|
86
|
-
"rs-text-
|
|
87
|
-
"rs-text-
|
|
88
|
-
"rs-text-
|
|
89
|
-
"rs-
|
|
90
|
-
"rs-
|
|
91
|
-
"rs-
|
|
92
|
-
"rs-
|
|
93
|
-
"rs-
|
|
94
|
-
"rs-
|
|
95
|
-
"rs-
|
|
96
|
-
"rs-
|
|
97
|
-
"rs-
|
|
98
|
-
"rs-ul_offset-
|
|
99
|
-
"rs-ol_offset-
|
|
100
|
-
"rs-ul_offset-
|
|
101
|
-
"rs-ol_offset-
|
|
102
|
-
"rs-ul_offset-
|
|
103
|
-
"rs-ol_offset-
|
|
104
|
-
"rs-
|
|
105
|
-
"rs-
|
|
106
|
-
"rs-
|
|
107
|
-
"rs-
|
|
108
|
-
"rs-
|
|
109
|
-
"rs-
|
|
110
|
-
"rs-
|
|
111
|
-
"rs-
|
|
112
|
-
"rs-
|
|
113
|
-
"rs-
|
|
114
|
-
"rs-
|
|
115
|
-
"rs-
|
|
116
|
-
"rs-
|
|
117
|
-
"rs-
|
|
118
|
-
"rs-
|
|
119
|
-
"rs-
|
|
120
|
-
"rs-
|
|
121
|
-
"rs-
|
|
122
|
-
"rs-
|
|
123
|
-
"rs-
|
|
124
|
-
"rs-
|
|
125
|
-
"rs-
|
|
2
|
+
"rs-reset-letter-spacing": "_rs-reset-letter-spacing_twyr57_1",
|
|
3
|
+
"rs-typography_theme_light": "_rs-typography_theme_light_twyr57_1",
|
|
4
|
+
"rs-typography_theme_dark": "_rs-typography_theme_dark_twyr57_1",
|
|
5
|
+
"rs-text_hardness_hard": "_rs-text_hardness_hard_twyr57_1",
|
|
6
|
+
"rs-text_hardness_average": "_rs-text_hardness_average_twyr57_1",
|
|
7
|
+
"rs-text_hardness_pale": "_rs-text_hardness_pale_twyr57_1",
|
|
8
|
+
"rs-text_hardness_auto": "_rs-text_hardness_auto_twyr57_1",
|
|
9
|
+
"rs-text_color_hard": "_rs-text_color_hard_twyr57_1",
|
|
10
|
+
"rs-text_color_average": "_rs-text_color_average_twyr57_1",
|
|
11
|
+
"rs-text_color_pale": "_rs-text_color_pale_twyr57_1",
|
|
12
|
+
"rs-text_color_base": "_rs-text_color_base_twyr57_1",
|
|
13
|
+
"rs-digits-1": "_rs-digits-1_twyr57_1",
|
|
14
|
+
"rs-digits-2": "_rs-digits-2_twyr57_1",
|
|
15
|
+
"rs-super-hero": "_rs-super-hero_twyr57_1",
|
|
16
|
+
"rs-middle-hero": "_rs-middle-hero_twyr57_1",
|
|
17
|
+
"rs-hero": "_rs-hero_twyr57_1",
|
|
18
|
+
"rs-h1": "_rs-h1_twyr57_1",
|
|
19
|
+
"rs-h2": "_rs-h2_twyr57_1",
|
|
20
|
+
"rs-h3-plus": "_rs-h3-plus_twyr57_1",
|
|
21
|
+
"rs-h3": "_rs-h3_twyr57_1",
|
|
22
|
+
"rs-h4": "_rs-h4_twyr57_1",
|
|
23
|
+
"rs-h5": "_rs-h5_twyr57_1",
|
|
24
|
+
"rs-subtitle-1": "_rs-subtitle-1_twyr57_1",
|
|
25
|
+
"rs-subtitle-2": "_rs-subtitle-2_twyr57_1",
|
|
26
|
+
"rs-overline": "_rs-overline_twyr57_1",
|
|
27
|
+
"rs-text-1": "_rs-text-1_twyr57_1",
|
|
28
|
+
"rs-text-2": "_rs-text-2_twyr57_1",
|
|
29
|
+
"rs-text-3": "_rs-text-3_twyr57_1",
|
|
30
|
+
"rs-digits-1_theme_light": "_rs-digits-1_theme_light_twyr57_1",
|
|
31
|
+
"rs-digits-2_theme_light": "_rs-digits-2_theme_light_twyr57_1",
|
|
32
|
+
"rs-super-hero_theme_light": "_rs-super-hero_theme_light_twyr57_1",
|
|
33
|
+
"rs-middle-hero_theme_light": "_rs-middle-hero_theme_light_twyr57_1",
|
|
34
|
+
"rs-hero_theme_light": "_rs-hero_theme_light_twyr57_1",
|
|
35
|
+
"rs-h1_theme_light": "_rs-h1_theme_light_twyr57_1",
|
|
36
|
+
"rs-h2_theme_light": "_rs-h2_theme_light_twyr57_1",
|
|
37
|
+
"rs-h3-plus_theme_light": "_rs-h3-plus_theme_light_twyr57_1",
|
|
38
|
+
"rs-h3_theme_light": "_rs-h3_theme_light_twyr57_1",
|
|
39
|
+
"rs-h4_theme_light": "_rs-h4_theme_light_twyr57_1",
|
|
40
|
+
"rs-h5_theme_light": "_rs-h5_theme_light_twyr57_1",
|
|
41
|
+
"rs-subtitle-1_theme_light": "_rs-subtitle-1_theme_light_twyr57_1",
|
|
42
|
+
"rs-subtitle-2_theme_light": "_rs-subtitle-2_theme_light_twyr57_1",
|
|
43
|
+
"rs-text-1_theme_light": "_rs-text-1_theme_light_twyr57_1",
|
|
44
|
+
"rs-text-2_theme_light": "_rs-text-2_theme_light_twyr57_1",
|
|
45
|
+
"rs-text-3_theme_light": "_rs-text-3_theme_light_twyr57_1",
|
|
46
|
+
"rs-overline_theme_light": "_rs-overline_theme_light_twyr57_1",
|
|
47
|
+
"rs-digits-1_theme_dark": "_rs-digits-1_theme_dark_twyr57_1",
|
|
48
|
+
"rs-digits-2_theme_dark": "_rs-digits-2_theme_dark_twyr57_1",
|
|
49
|
+
"rs-super-hero_theme_dark": "_rs-super-hero_theme_dark_twyr57_1",
|
|
50
|
+
"rs-middle-hero_theme_dark": "_rs-middle-hero_theme_dark_twyr57_1",
|
|
51
|
+
"rs-hero_theme_dark": "_rs-hero_theme_dark_twyr57_1",
|
|
52
|
+
"rs-h1_theme_dark": "_rs-h1_theme_dark_twyr57_1",
|
|
53
|
+
"rs-h2_theme_dark": "_rs-h2_theme_dark_twyr57_1",
|
|
54
|
+
"rs-h3-plus_theme_dark": "_rs-h3-plus_theme_dark_twyr57_1",
|
|
55
|
+
"rs-h3_theme_dark": "_rs-h3_theme_dark_twyr57_1",
|
|
56
|
+
"rs-h4_theme_dark": "_rs-h4_theme_dark_twyr57_1",
|
|
57
|
+
"rs-h5_theme_dark": "_rs-h5_theme_dark_twyr57_1",
|
|
58
|
+
"rs-subtitle-1_theme_dark": "_rs-subtitle-1_theme_dark_twyr57_1",
|
|
59
|
+
"rs-subtitle-2_theme_dark": "_rs-subtitle-2_theme_dark_twyr57_1",
|
|
60
|
+
"rs-text-1_theme_dark": "_rs-text-1_theme_dark_twyr57_1",
|
|
61
|
+
"rs-text-2_theme_dark": "_rs-text-2_theme_dark_twyr57_1",
|
|
62
|
+
"rs-text-3_theme_dark": "_rs-text-3_theme_dark_twyr57_1",
|
|
63
|
+
"rs-overline_theme_dark": "_rs-overline_theme_dark_twyr57_1",
|
|
64
|
+
"rs-digits-1_theme_auto": "_rs-digits-1_theme_auto_twyr57_1",
|
|
65
|
+
"rs-digits-2_theme_auto": "_rs-digits-2_theme_auto_twyr57_1",
|
|
66
|
+
"rs-super-hero_theme_auto": "_rs-super-hero_theme_auto_twyr57_1",
|
|
67
|
+
"rs-middle-hero_theme_auto": "_rs-middle-hero_theme_auto_twyr57_1",
|
|
68
|
+
"rs-hero_theme_auto": "_rs-hero_theme_auto_twyr57_1",
|
|
69
|
+
"rs-h1_theme_auto": "_rs-h1_theme_auto_twyr57_1",
|
|
70
|
+
"rs-h2_theme_auto": "_rs-h2_theme_auto_twyr57_1",
|
|
71
|
+
"rs-h3-plus_theme_auto": "_rs-h3-plus_theme_auto_twyr57_1",
|
|
72
|
+
"rs-h3_theme_auto": "_rs-h3_theme_auto_twyr57_1",
|
|
73
|
+
"rs-h4_theme_auto": "_rs-h4_theme_auto_twyr57_1",
|
|
74
|
+
"rs-h5_theme_auto": "_rs-h5_theme_auto_twyr57_1",
|
|
75
|
+
"rs-subtitle-1_theme_auto": "_rs-subtitle-1_theme_auto_twyr57_1",
|
|
76
|
+
"rs-subtitle-2_theme_auto": "_rs-subtitle-2_theme_auto_twyr57_1",
|
|
77
|
+
"rs-text-1_theme_auto": "_rs-text-1_theme_auto_twyr57_1",
|
|
78
|
+
"rs-text-2_theme_auto": "_rs-text-2_theme_auto_twyr57_1",
|
|
79
|
+
"rs-text-3_theme_auto": "_rs-text-3_theme_auto_twyr57_1",
|
|
80
|
+
"rs-overline_theme_auto": "_rs-overline_theme_auto_twyr57_1",
|
|
81
|
+
"rs-text-1_hardness_hard": "_rs-text-1_hardness_hard_twyr57_1",
|
|
82
|
+
"rs-text-2_hardness_hard": "_rs-text-2_hardness_hard_twyr57_1",
|
|
83
|
+
"rs-text-3_hardness_hard": "_rs-text-3_hardness_hard_twyr57_1",
|
|
84
|
+
"rs-text-1_hardness_average": "_rs-text-1_hardness_average_twyr57_1",
|
|
85
|
+
"rs-text-2_hardness_average": "_rs-text-2_hardness_average_twyr57_1",
|
|
86
|
+
"rs-text-3_hardness_average": "_rs-text-3_hardness_average_twyr57_1",
|
|
87
|
+
"rs-text-1_hardness_pale": "_rs-text-1_hardness_pale_twyr57_1",
|
|
88
|
+
"rs-text-2_hardness_pale": "_rs-text-2_hardness_pale_twyr57_1",
|
|
89
|
+
"rs-text-3_hardness_pale": "_rs-text-3_hardness_pale_twyr57_1",
|
|
90
|
+
"rs-text-1_paragraph-offset-auto": "_rs-text-1_paragraph-offset-auto_twyr57_1",
|
|
91
|
+
"rs-text-2_paragraph-offset-auto": "_rs-text-2_paragraph-offset-auto_twyr57_1",
|
|
92
|
+
"rs-text-3_paragraph-offset-auto": "_rs-text-3_paragraph-offset-auto_twyr57_1",
|
|
93
|
+
"rs-text_paragraph-offset-auto": "_rs-text_paragraph-offset-auto_twyr57_1",
|
|
94
|
+
"rs-ul": "_rs-ul_twyr57_1",
|
|
95
|
+
"rs-ol": "_rs-ol_twyr57_1",
|
|
96
|
+
"rs-ul_compact": "_rs-ul_compact_twyr57_1",
|
|
97
|
+
"rs-ol_compact": "_rs-ol_compact_twyr57_1",
|
|
98
|
+
"rs-ul_offset-items_4": "_rs-ul_offset-items_4_twyr57_1",
|
|
99
|
+
"rs-ol_offset-items_4": "_rs-ol_offset-items_4_twyr57_1",
|
|
100
|
+
"rs-ul_offset-items_8": "_rs-ul_offset-items_8_twyr57_1",
|
|
101
|
+
"rs-ol_offset-items_8": "_rs-ol_offset-items_8_twyr57_1",
|
|
102
|
+
"rs-ul_offset-items_12": "_rs-ul_offset-items_12_twyr57_1",
|
|
103
|
+
"rs-ol_offset-items_12": "_rs-ol_offset-items_12_twyr57_1",
|
|
104
|
+
"rs-ul_offset-items_16": "_rs-ul_offset-items_16_twyr57_1",
|
|
105
|
+
"rs-ol_offset-items_16": "_rs-ol_offset-items_16_twyr57_1",
|
|
106
|
+
"rs-ul_offset-items_24": "_rs-ul_offset-items_24_twyr57_1",
|
|
107
|
+
"rs-ol_offset-items_24": "_rs-ol_offset-items_24_twyr57_1",
|
|
108
|
+
"rs-ol_alpha_lower": "_rs-ol_alpha_lower_twyr57_1",
|
|
109
|
+
"rs-ol_alpha_upper": "_rs-ol_alpha_upper_twyr57_1",
|
|
110
|
+
"rs-code": "_rs-code_twyr57_1",
|
|
111
|
+
"rs-pre": "_rs-pre_twyr57_1",
|
|
112
|
+
"rs-link_mode_classic": "_rs-link_mode_classic_twyr57_1",
|
|
113
|
+
"rs-link_mode_rock": "_rs-link_mode_rock_twyr57_1",
|
|
114
|
+
"rs-link_mode_standalone": "_rs-link_mode_standalone_twyr57_1",
|
|
115
|
+
"rs-link_mode_clear": "_rs-link_mode_clear_twyr57_1",
|
|
116
|
+
"rs-link_hardness_hard": "_rs-link_hardness_hard_twyr57_1",
|
|
117
|
+
"rs-link_hardness_average": "_rs-link_hardness_average_twyr57_1",
|
|
118
|
+
"rs-link_hardness_pale": "_rs-link_hardness_pale_twyr57_1",
|
|
119
|
+
"rs-link_external": "_rs-link_external_twyr57_1",
|
|
120
|
+
"rs-link": "_rs-link_twyr57_1",
|
|
121
|
+
"rs-code_theme_light": "_rs-code_theme_light_twyr57_1",
|
|
122
|
+
"rs-pre_theme_light": "_rs-pre_theme_light_twyr57_1",
|
|
123
|
+
"rs-link_theme_light": "_rs-link_theme_light_twyr57_1",
|
|
124
|
+
"rs-code_theme_dark": "_rs-code_theme_dark_twyr57_1",
|
|
125
|
+
"rs-pre_theme_dark": "_rs-pre_theme_dark_twyr57_1",
|
|
126
|
+
"rs-link_theme_dark": "_rs-link_theme_dark_twyr57_1",
|
|
127
|
+
"rs-code_theme_auto": "_rs-code_theme_auto_twyr57_1",
|
|
128
|
+
"rs-pre_theme_auto": "_rs-pre_theme_auto_twyr57_1",
|
|
129
|
+
"rs-link_theme_auto": "_rs-link_theme_auto_twyr57_1"
|
|
126
130
|
};
|
|
127
131
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -92,7 +92,10 @@
|
|
|
92
92
|
}
|
|
93
93
|
@media screen and (max-width: 640px){
|
|
94
94
|
.rs-digits-1{
|
|
95
|
-
--_rs-typography-digits-1-sm-font-size:var(
|
|
95
|
+
--_rs-typography-digits-1-sm-font-size:var(
|
|
96
|
+
--rs-digits-2-font-size,
|
|
97
|
+
40px
|
|
98
|
+
);
|
|
96
99
|
--_rs-typography-digits-1-sm-line-height:var(
|
|
97
100
|
--rs-digits-2-line-height,
|
|
98
101
|
44px
|
|
@@ -454,6 +457,56 @@
|
|
|
454
457
|
);
|
|
455
458
|
}
|
|
456
459
|
}
|
|
460
|
+
.rs-h3-plus{
|
|
461
|
+
--_rs-typography-letter-spacing:var(--rs-h3-plus-letter-spacing, normal);
|
|
462
|
+
--_rs-typography-text-transform:initial;
|
|
463
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
464
|
+
--_rs-typography-font-family:var(
|
|
465
|
+
--rs-font-family-ui,
|
|
466
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
467
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
468
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
469
|
+
);
|
|
470
|
+
--_rs-typography-font-size:var(
|
|
471
|
+
--_rs-typography-h3-plus-sm-font-size,
|
|
472
|
+
var(--rs-h3-plus-font-size, 28px)
|
|
473
|
+
);
|
|
474
|
+
--_rs-typography-font-weight:var(
|
|
475
|
+
--rs-font-weight-semi-bold,
|
|
476
|
+
600
|
|
477
|
+
);
|
|
478
|
+
--_rs-typography-line-height:var(
|
|
479
|
+
--_rs-typography-h3-plus-sm-line-height,
|
|
480
|
+
var(--rs-h3-plus-line-height, 34px)
|
|
481
|
+
);
|
|
482
|
+
--_rs-typography-base-color:var(
|
|
483
|
+
--_rs-typography-heading-hardness-color,
|
|
484
|
+
var(
|
|
485
|
+
--rs-color-hard,
|
|
486
|
+
rgb(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))
|
|
487
|
+
)
|
|
488
|
+
);
|
|
489
|
+
--_rs-typography-text-auto-offset:0;
|
|
490
|
+
--_rs-typography-ul-bullet-offset:initial;
|
|
491
|
+
--_rs-typography-list-li-compact-left-offset:initial;
|
|
492
|
+
--_rs-typography-list-li-default-left-offset:initial;
|
|
493
|
+
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
494
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
495
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
496
|
+
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
497
|
+
}
|
|
498
|
+
@media screen and (max-width: 640px){
|
|
499
|
+
.rs-h3-plus{
|
|
500
|
+
--_rs-typography-h3-plus-sm-font-size:var(
|
|
501
|
+
--rs-h3-font-size,
|
|
502
|
+
20px
|
|
503
|
+
);
|
|
504
|
+
--_rs-typography-h3-plus-sm-line-height:var(
|
|
505
|
+
--rs-h3-line-height,
|
|
506
|
+
28px
|
|
507
|
+
);
|
|
508
|
+
}
|
|
509
|
+
}
|
|
457
510
|
.rs-h3{
|
|
458
511
|
--_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
|
|
459
512
|
--_rs-typography-text-transform:initial;
|
|
@@ -816,6 +869,7 @@
|
|
|
816
869
|
.rs-hero,
|
|
817
870
|
.rs-h1,
|
|
818
871
|
.rs-h2,
|
|
872
|
+
.rs-h3-plus,
|
|
819
873
|
.rs-h3,
|
|
820
874
|
.rs-h4,
|
|
821
875
|
.rs-h5,
|
|
@@ -845,13 +899,13 @@
|
|
|
845
899
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
846
900
|
color:var(--_rs-typography-base-color);
|
|
847
901
|
}
|
|
848
|
-
.rs-digits-1_theme_light, .rs-digits-2_theme_light, .rs-super-hero_theme_light, .rs-middle-hero_theme_light, .rs-hero_theme_light, .rs-h1_theme_light, .rs-h2_theme_light, .rs-h3_theme_light, .rs-h4_theme_light, .rs-h5_theme_light, .rs-subtitle-1_theme_light, .rs-subtitle-2_theme_light, .rs-text-1_theme_light, .rs-text-2_theme_light, .rs-text-3_theme_light, .rs-overline_theme_light{
|
|
902
|
+
.rs-digits-1_theme_light, .rs-digits-2_theme_light, .rs-super-hero_theme_light, .rs-middle-hero_theme_light, .rs-hero_theme_light, .rs-h1_theme_light, .rs-h2_theme_light, .rs-h3-plus_theme_light, .rs-h3_theme_light, .rs-h4_theme_light, .rs-h5_theme_light, .rs-subtitle-1_theme_light, .rs-subtitle-2_theme_light, .rs-text-1_theme_light, .rs-text-2_theme_light, .rs-text-3_theme_light, .rs-overline_theme_light{
|
|
849
903
|
--rs-theme-dark:0;
|
|
850
904
|
}
|
|
851
|
-
.rs-digits-1_theme_dark, .rs-digits-2_theme_dark, .rs-super-hero_theme_dark, .rs-middle-hero_theme_dark, .rs-hero_theme_dark, .rs-h1_theme_dark, .rs-h2_theme_dark, .rs-h3_theme_dark, .rs-h4_theme_dark, .rs-h5_theme_dark, .rs-subtitle-1_theme_dark, .rs-subtitle-2_theme_dark, .rs-text-1_theme_dark, .rs-text-2_theme_dark, .rs-text-3_theme_dark, .rs-overline_theme_dark{
|
|
905
|
+
.rs-digits-1_theme_dark, .rs-digits-2_theme_dark, .rs-super-hero_theme_dark, .rs-middle-hero_theme_dark, .rs-hero_theme_dark, .rs-h1_theme_dark, .rs-h2_theme_dark, .rs-h3-plus_theme_dark, .rs-h3_theme_dark, .rs-h4_theme_dark, .rs-h5_theme_dark, .rs-subtitle-1_theme_dark, .rs-subtitle-2_theme_dark, .rs-text-1_theme_dark, .rs-text-2_theme_dark, .rs-text-3_theme_dark, .rs-overline_theme_dark{
|
|
852
906
|
--rs-theme-dark:1;
|
|
853
907
|
}
|
|
854
|
-
[class*='_theme_dark'] .rs-digits-1_theme_auto, [class*='_theme_dark'] .rs-digits-2_theme_auto, [class*='_theme_dark'] .rs-super-hero_theme_auto, [class*='_theme_dark'] .rs-middle-hero_theme_auto, [class*='_theme_dark'] .rs-hero_theme_auto, [class*='_theme_dark'] .rs-h1_theme_auto, [class*='_theme_dark'] .rs-h2_theme_auto, [class*='_theme_dark'] .rs-h3_theme_auto, [class*='_theme_dark'] .rs-h4_theme_auto, [class*='_theme_dark'] .rs-h5_theme_auto, [class*='_theme_dark'] .rs-subtitle-1_theme_auto, [class*='_theme_dark'] .rs-subtitle-2_theme_auto, [class*='_theme_dark'] .rs-text-1_theme_auto, [class*='_theme_dark'] .rs-text-2_theme_auto, [class*='_theme_dark'] .rs-text-3_theme_auto, [class*='_theme_dark'] .rs-overline_theme_auto{
|
|
908
|
+
[class*='_theme_dark'] .rs-digits-1_theme_auto, [class*='_theme_dark'] .rs-digits-2_theme_auto, [class*='_theme_dark'] .rs-super-hero_theme_auto, [class*='_theme_dark'] .rs-middle-hero_theme_auto, [class*='_theme_dark'] .rs-hero_theme_auto, [class*='_theme_dark'] .rs-h1_theme_auto, [class*='_theme_dark'] .rs-h2_theme_auto, [class*='_theme_dark'] .rs-h3-plus_theme_auto, [class*='_theme_dark'] .rs-h3_theme_auto, [class*='_theme_dark'] .rs-h4_theme_auto, [class*='_theme_dark'] .rs-h5_theme_auto, [class*='_theme_dark'] .rs-subtitle-1_theme_auto, [class*='_theme_dark'] .rs-subtitle-2_theme_auto, [class*='_theme_dark'] .rs-text-1_theme_auto, [class*='_theme_dark'] .rs-text-2_theme_auto, [class*='_theme_dark'] .rs-text-3_theme_auto, [class*='_theme_dark'] .rs-overline_theme_auto{
|
|
855
909
|
--rs-theme-dark:1;
|
|
856
910
|
}
|
|
857
911
|
.rs-text-1_hardness_hard, .rs-text-2_hardness_hard, .rs-text-3_hardness_hard{
|
package/lib/mixins.p.css
CHANGED
|
@@ -518,7 +518,10 @@
|
|
|
518
518
|
3px
|
|
519
519
|
);
|
|
520
520
|
@media screen and (max-width: 640px){
|
|
521
|
-
--_rs-typography-digits-1-sm-font-size:var(
|
|
521
|
+
--_rs-typography-digits-1-sm-font-size:var(
|
|
522
|
+
--rs-digits-2-font-size,
|
|
523
|
+
40px
|
|
524
|
+
);
|
|
522
525
|
--_rs-typography-digits-1-sm-line-height:var(
|
|
523
526
|
--rs-digits-2-line-height,
|
|
524
527
|
44px
|
|
@@ -578,7 +581,10 @@
|
|
|
578
581
|
3px
|
|
579
582
|
);
|
|
580
583
|
@media screen and (max-width: 640px){
|
|
581
|
-
--_rs-typography-digits-1-sm-font-size:var(
|
|
584
|
+
--_rs-typography-digits-1-sm-font-size:var(
|
|
585
|
+
--rs-digits-2-font-size,
|
|
586
|
+
40px
|
|
587
|
+
);
|
|
582
588
|
--_rs-typography-digits-1-sm-line-height:var(
|
|
583
589
|
--rs-digits-2-line-height,
|
|
584
590
|
44px
|
|
@@ -1524,6 +1530,153 @@
|
|
|
1524
1530
|
@define-mixin rs-h2-offset-top{
|
|
1525
1531
|
margin-top:calc(var(--rs-flow-unit, 8px)*6);
|
|
1526
1532
|
}
|
|
1533
|
+
@define-mixin rs-h3-plus-base{
|
|
1534
|
+
--_rs-typography-letter-spacing:var(--rs-h3-plus-letter-spacing, normal);
|
|
1535
|
+
--_rs-typography-text-transform:initial;
|
|
1536
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
1537
|
+
--_rs-typography-font-family:var(
|
|
1538
|
+
--rs-font-family-ui,
|
|
1539
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
1540
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
1541
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
1542
|
+
);
|
|
1543
|
+
--_rs-typography-font-size:var(
|
|
1544
|
+
--_rs-typography-h3-plus-sm-font-size,
|
|
1545
|
+
var(--rs-h3-plus-font-size, 28px)
|
|
1546
|
+
);
|
|
1547
|
+
--_rs-typography-font-weight:var(
|
|
1548
|
+
--rs-font-weight-semi-bold,
|
|
1549
|
+
600
|
|
1550
|
+
);
|
|
1551
|
+
--_rs-typography-line-height:var(
|
|
1552
|
+
--_rs-typography-h3-plus-sm-line-height,
|
|
1553
|
+
var(--rs-h3-plus-line-height, 34px)
|
|
1554
|
+
);
|
|
1555
|
+
--_rs-typography-base-color:var(
|
|
1556
|
+
--_rs-typography-heading-hardness-color,
|
|
1557
|
+
var(
|
|
1558
|
+
--rs-color-hard,
|
|
1559
|
+
rgb(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))
|
|
1560
|
+
)
|
|
1561
|
+
);
|
|
1562
|
+
--_rs-typography-text-auto-offset:0;
|
|
1563
|
+
--_rs-typography-ul-bullet-offset:initial;
|
|
1564
|
+
--_rs-typography-list-li-compact-left-offset:initial;
|
|
1565
|
+
--_rs-typography-list-li-default-left-offset:initial;
|
|
1566
|
+
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
1567
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
1568
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
1569
|
+
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
1570
|
+
@media screen and (max-width: 640px){
|
|
1571
|
+
--_rs-typography-h3-plus-sm-font-size:var(
|
|
1572
|
+
--rs-h3-font-size,
|
|
1573
|
+
20px
|
|
1574
|
+
);
|
|
1575
|
+
--_rs-typography-h3-plus-sm-line-height:var(
|
|
1576
|
+
--rs-h3-line-height,
|
|
1577
|
+
28px
|
|
1578
|
+
);
|
|
1579
|
+
}
|
|
1580
|
+
letter-spacing:var(
|
|
1581
|
+
--rs-text-base-letter-spacing,
|
|
1582
|
+
var(--_rs-typography-letter-spacing)
|
|
1583
|
+
);
|
|
1584
|
+
text-transform:var(--_rs-typography-text-transform);
|
|
1585
|
+
font-family:var(--_rs-typography-font-family);
|
|
1586
|
+
font-size:var(--_rs-typography-font-size);
|
|
1587
|
+
font-weight:var(--_rs-typography-font-weight);
|
|
1588
|
+
line-height:var(--_rs-typography-line-height);
|
|
1589
|
+
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
1590
|
+
font-feature-settings:'kern', 'liga', 'calt';
|
|
1591
|
+
}
|
|
1592
|
+
@define-mixin rs-h3-plus{
|
|
1593
|
+
--_rs-typography-letter-spacing:var(--rs-h3-plus-letter-spacing, normal);
|
|
1594
|
+
--_rs-typography-text-transform:initial;
|
|
1595
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
1596
|
+
--_rs-typography-font-family:var(
|
|
1597
|
+
--rs-font-family-ui,
|
|
1598
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
1599
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
1600
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
1601
|
+
);
|
|
1602
|
+
--_rs-typography-font-size:var(
|
|
1603
|
+
--_rs-typography-h3-plus-sm-font-size,
|
|
1604
|
+
var(--rs-h3-plus-font-size, 28px)
|
|
1605
|
+
);
|
|
1606
|
+
--_rs-typography-font-weight:var(
|
|
1607
|
+
--rs-font-weight-semi-bold,
|
|
1608
|
+
600
|
|
1609
|
+
);
|
|
1610
|
+
--_rs-typography-line-height:var(
|
|
1611
|
+
--_rs-typography-h3-plus-sm-line-height,
|
|
1612
|
+
var(--rs-h3-plus-line-height, 34px)
|
|
1613
|
+
);
|
|
1614
|
+
--_rs-typography-base-color:var(
|
|
1615
|
+
--_rs-typography-heading-hardness-color,
|
|
1616
|
+
var(
|
|
1617
|
+
--rs-color-hard,
|
|
1618
|
+
rgb(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))
|
|
1619
|
+
)
|
|
1620
|
+
);
|
|
1621
|
+
--_rs-typography-text-auto-offset:0;
|
|
1622
|
+
--_rs-typography-ul-bullet-offset:initial;
|
|
1623
|
+
--_rs-typography-list-li-compact-left-offset:initial;
|
|
1624
|
+
--_rs-typography-list-li-default-left-offset:initial;
|
|
1625
|
+
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
1626
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
1627
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
1628
|
+
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
1629
|
+
@media screen and (max-width: 640px){
|
|
1630
|
+
--_rs-typography-h3-plus-sm-font-size:var(
|
|
1631
|
+
--rs-h3-font-size,
|
|
1632
|
+
20px
|
|
1633
|
+
);
|
|
1634
|
+
--_rs-typography-h3-plus-sm-line-height:var(
|
|
1635
|
+
--rs-h3-line-height,
|
|
1636
|
+
28px
|
|
1637
|
+
);
|
|
1638
|
+
}
|
|
1639
|
+
letter-spacing:var(
|
|
1640
|
+
--rs-text-base-letter-spacing,
|
|
1641
|
+
var(--_rs-typography-letter-spacing)
|
|
1642
|
+
);
|
|
1643
|
+
text-transform:var(--_rs-typography-text-transform);
|
|
1644
|
+
font-family:var(--_rs-typography-font-family);
|
|
1645
|
+
font-size:var(--_rs-typography-font-size);
|
|
1646
|
+
font-weight:var(--_rs-typography-font-weight);
|
|
1647
|
+
line-height:var(--_rs-typography-line-height);
|
|
1648
|
+
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
1649
|
+
font-feature-settings:'kern', 'liga', 'calt';
|
|
1650
|
+
--rs-theme-dark:0;
|
|
1651
|
+
--_rs-theme-dark:var(
|
|
1652
|
+
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
1653
|
+
var(--rs-theme-dark, 0)
|
|
1654
|
+
);
|
|
1655
|
+
--_rs-theme-flip:var(--rs-theme-flip, 0);
|
|
1656
|
+
--_rs-theme-dark-coefficient:calc(var(--_rs-theme-dark)*(1 - var(--_rs-theme-flip)) + var(--_rs-theme-flip)*(1 - var(--_rs-theme-dark)));
|
|
1657
|
+
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
1658
|
+
color:var(
|
|
1659
|
+
--rs-color-hard,
|
|
1660
|
+
rgb(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))
|
|
1661
|
+
);
|
|
1662
|
+
}
|
|
1663
|
+
@define-mixin rs-h3-plus-theme-dark{
|
|
1664
|
+
--rs-theme-dark:1;
|
|
1665
|
+
--_rs-theme-dark:var(
|
|
1666
|
+
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
1667
|
+
var(--rs-theme-dark, 0)
|
|
1668
|
+
);
|
|
1669
|
+
--_rs-theme-flip:var(--rs-theme-flip, 0);
|
|
1670
|
+
--_rs-theme-dark-coefficient:calc(var(--_rs-theme-dark)*(1 - var(--_rs-theme-flip)) + var(--_rs-theme-flip)*(1 - var(--_rs-theme-dark)));
|
|
1671
|
+
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
1672
|
+
color:var(
|
|
1673
|
+
--rs-color-hard,
|
|
1674
|
+
rgb(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))
|
|
1675
|
+
);
|
|
1676
|
+
}
|
|
1677
|
+
@define-mixin rs-h3-plus-offset-top{
|
|
1678
|
+
margin-top:calc(var(--rs-flow-unit, 8px)*4);
|
|
1679
|
+
}
|
|
1527
1680
|
@define-mixin rs-h3-base{
|
|
1528
1681
|
--_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
|
|
1529
1682
|
--_rs-typography-text-transform:initial;
|