@rescui/typography 0.18.2 → 0.19.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.
- package/lib/create-text-cn.js +18 -31
- package/lib/index-moduled.css +183 -145
- package/lib/index-moduled.p.module.css.js +120 -120
- package/lib/index.css +68 -30
- package/lib/mixins.p.css +68 -61
- package/lib/mixins.pcss +68 -61
- package/lib/public-api.p.css +167 -83
- package/lib/public-api.pcss +167 -83
- package/package.json +5 -5
|
@@ -1,123 +1,123 @@
|
|
|
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-h4": "_rs-
|
|
22
|
-
"rs-h5": "_rs-
|
|
23
|
-
"rs-subtitle-1": "_rs-subtitle-
|
|
24
|
-
"rs-subtitle-2": "_rs-subtitle-
|
|
25
|
-
"rs-overline": "_rs-
|
|
26
|
-
"rs-text-1": "_rs-text-
|
|
27
|
-
"rs-text-2": "_rs-text-
|
|
28
|
-
"rs-text-3": "_rs-text-
|
|
29
|
-
"rs-digits-1_theme_light": "_rs-digits-
|
|
30
|
-
"rs-digits-2_theme_light": "_rs-digits-
|
|
31
|
-
"rs-super-hero_theme_light": "_rs-super-
|
|
32
|
-
"rs-middle-hero_theme_light": "_rs-middle-
|
|
33
|
-
"rs-hero_theme_light": "_rs-
|
|
34
|
-
"rs-h1_theme_light": "_rs-
|
|
35
|
-
"rs-h2_theme_light": "_rs-
|
|
36
|
-
"rs-h3_theme_light": "_rs-
|
|
37
|
-
"rs-h4_theme_light": "_rs-
|
|
38
|
-
"rs-h5_theme_light": "_rs-
|
|
39
|
-
"rs-subtitle-1_theme_light": "_rs-subtitle-
|
|
40
|
-
"rs-subtitle-2_theme_light": "_rs-subtitle-
|
|
41
|
-
"rs-text-1_theme_light": "_rs-text-
|
|
42
|
-
"rs-text-2_theme_light": "_rs-text-
|
|
43
|
-
"rs-text-3_theme_light": "_rs-text-
|
|
44
|
-
"rs-overline_theme_light": "_rs-
|
|
45
|
-
"rs-digits-1_theme_dark": "_rs-digits-
|
|
46
|
-
"rs-digits-2_theme_dark": "_rs-digits-
|
|
47
|
-
"rs-super-hero_theme_dark": "_rs-super-
|
|
48
|
-
"rs-middle-hero_theme_dark": "_rs-middle-
|
|
49
|
-
"rs-hero_theme_dark": "_rs-
|
|
50
|
-
"rs-h1_theme_dark": "_rs-
|
|
51
|
-
"rs-h2_theme_dark": "_rs-
|
|
52
|
-
"rs-h3_theme_dark": "_rs-
|
|
53
|
-
"rs-h4_theme_dark": "_rs-
|
|
54
|
-
"rs-h5_theme_dark": "_rs-
|
|
55
|
-
"rs-subtitle-1_theme_dark": "_rs-subtitle-
|
|
56
|
-
"rs-subtitle-2_theme_dark": "_rs-subtitle-
|
|
57
|
-
"rs-text-1_theme_dark": "_rs-text-
|
|
58
|
-
"rs-text-2_theme_dark": "_rs-text-
|
|
59
|
-
"rs-text-3_theme_dark": "_rs-text-
|
|
60
|
-
"rs-overline_theme_dark": "_rs-
|
|
61
|
-
"rs-digits-1_theme_auto": "_rs-digits-
|
|
62
|
-
"rs-digits-2_theme_auto": "_rs-digits-
|
|
63
|
-
"rs-super-hero_theme_auto": "_rs-super-
|
|
64
|
-
"rs-middle-hero_theme_auto": "_rs-middle-
|
|
65
|
-
"rs-hero_theme_auto": "_rs-
|
|
66
|
-
"rs-h1_theme_auto": "_rs-
|
|
67
|
-
"rs-h2_theme_auto": "_rs-
|
|
68
|
-
"rs-h3_theme_auto": "_rs-
|
|
69
|
-
"rs-h4_theme_auto": "_rs-
|
|
70
|
-
"rs-h5_theme_auto": "_rs-
|
|
71
|
-
"rs-subtitle-1_theme_auto": "_rs-subtitle-
|
|
72
|
-
"rs-subtitle-2_theme_auto": "_rs-subtitle-
|
|
73
|
-
"rs-text-1_theme_auto": "_rs-text-
|
|
74
|
-
"rs-text-2_theme_auto": "_rs-text-
|
|
75
|
-
"rs-text-3_theme_auto": "_rs-text-
|
|
76
|
-
"rs-overline_theme_auto": "_rs-
|
|
77
|
-
"rs-text-1_hardness_hard": "_rs-text-
|
|
78
|
-
"rs-text-2_hardness_hard": "_rs-text-
|
|
79
|
-
"rs-text-3_hardness_hard": "_rs-text-
|
|
80
|
-
"rs-text-1_hardness_average": "_rs-text-
|
|
81
|
-
"rs-text-2_hardness_average": "_rs-text-
|
|
82
|
-
"rs-text-3_hardness_average": "_rs-text-
|
|
83
|
-
"rs-text-1_hardness_pale": "_rs-text-
|
|
84
|
-
"rs-text-2_hardness_pale": "_rs-text-
|
|
85
|
-
"rs-text-3_hardness_pale": "_rs-text-
|
|
86
|
-
"rs-text-1_paragraph-offset-auto": "_rs-text-1_paragraph-offset-
|
|
87
|
-
"rs-text-2_paragraph-offset-auto": "_rs-text-2_paragraph-offset-
|
|
88
|
-
"rs-text-3_paragraph-offset-auto": "_rs-text-3_paragraph-offset-
|
|
89
|
-
"rs-text_paragraph-offset-auto": "_rs-text_paragraph-offset-
|
|
90
|
-
"rs-ul": "_rs-
|
|
91
|
-
"rs-ol": "_rs-
|
|
92
|
-
"rs-ul_offset-items_8": "_rs-ul_offset-
|
|
93
|
-
"rs-ol_offset-items_8": "_rs-ol_offset-
|
|
94
|
-
"rs-ul_offset-items_12": "_rs-ul_offset-
|
|
95
|
-
"rs-ol_offset-items_12": "_rs-ol_offset-
|
|
96
|
-
"rs-ul_offset-items_16": "_rs-ul_offset-
|
|
97
|
-
"rs-ol_offset-items_16": "_rs-ol_offset-
|
|
98
|
-
"rs-ul_offset-items_24": "_rs-ul_offset-
|
|
99
|
-
"rs-ol_offset-items_24": "_rs-ol_offset-
|
|
100
|
-
"rs-ol_alpha_lower": "_rs-
|
|
101
|
-
"rs-ol_alpha_upper": "_rs-
|
|
102
|
-
"rs-code": "_rs-
|
|
103
|
-
"rs-pre": "_rs-
|
|
104
|
-
"rs-link_mode_classic": "_rs-
|
|
105
|
-
"rs-link_mode_rock": "_rs-
|
|
106
|
-
"rs-link_mode_standalone": "_rs-
|
|
107
|
-
"rs-link_mode_clear": "_rs-
|
|
108
|
-
"rs-link_hardness_hard": "_rs-
|
|
109
|
-
"rs-link_hardness_average": "_rs-
|
|
110
|
-
"rs-link_hardness_pale": "_rs-
|
|
111
|
-
"rs-link_external": "_rs-
|
|
112
|
-
"rs-link": "_rs-
|
|
113
|
-
"rs-code_theme_light": "_rs-
|
|
114
|
-
"rs-pre_theme_light": "_rs-
|
|
115
|
-
"rs-link_theme_light": "_rs-
|
|
116
|
-
"rs-code_theme_dark": "_rs-
|
|
117
|
-
"rs-pre_theme_dark": "_rs-
|
|
118
|
-
"rs-link_theme_dark": "_rs-
|
|
119
|
-
"rs-code_theme_auto": "_rs-
|
|
120
|
-
"rs-pre_theme_auto": "_rs-
|
|
121
|
-
"rs-link_theme_auto": "_rs-
|
|
2
|
+
"rs-reset-letter-spacing": "_rs-reset-letter-spacing_14armd7_1",
|
|
3
|
+
"rs-typography_theme_light": "_rs-typography_theme_light_14armd7_1",
|
|
4
|
+
"rs-typography_theme_dark": "_rs-typography_theme_dark_14armd7_1",
|
|
5
|
+
"rs-text_hardness_hard": "_rs-text_hardness_hard_14armd7_1",
|
|
6
|
+
"rs-text_hardness_average": "_rs-text_hardness_average_14armd7_1",
|
|
7
|
+
"rs-text_hardness_pale": "_rs-text_hardness_pale_14armd7_1",
|
|
8
|
+
"rs-text_hardness_auto": "_rs-text_hardness_auto_14armd7_1",
|
|
9
|
+
"rs-text_color_hard": "_rs-text_color_hard_14armd7_1",
|
|
10
|
+
"rs-text_color_average": "_rs-text_color_average_14armd7_1",
|
|
11
|
+
"rs-text_color_pale": "_rs-text_color_pale_14armd7_1",
|
|
12
|
+
"rs-text_color_base": "_rs-text_color_base_14armd7_1",
|
|
13
|
+
"rs-digits-1": "_rs-digits-1_14armd7_1",
|
|
14
|
+
"rs-digits-2": "_rs-digits-2_14armd7_1",
|
|
15
|
+
"rs-super-hero": "_rs-super-hero_14armd7_1",
|
|
16
|
+
"rs-middle-hero": "_rs-middle-hero_14armd7_1",
|
|
17
|
+
"rs-hero": "_rs-hero_14armd7_1",
|
|
18
|
+
"rs-h1": "_rs-h1_14armd7_1",
|
|
19
|
+
"rs-h2": "_rs-h2_14armd7_1",
|
|
20
|
+
"rs-h3": "_rs-h3_14armd7_1",
|
|
21
|
+
"rs-h4": "_rs-h4_14armd7_1",
|
|
22
|
+
"rs-h5": "_rs-h5_14armd7_1",
|
|
23
|
+
"rs-subtitle-1": "_rs-subtitle-1_14armd7_1",
|
|
24
|
+
"rs-subtitle-2": "_rs-subtitle-2_14armd7_1",
|
|
25
|
+
"rs-overline": "_rs-overline_14armd7_1",
|
|
26
|
+
"rs-text-1": "_rs-text-1_14armd7_1",
|
|
27
|
+
"rs-text-2": "_rs-text-2_14armd7_1",
|
|
28
|
+
"rs-text-3": "_rs-text-3_14armd7_1",
|
|
29
|
+
"rs-digits-1_theme_light": "_rs-digits-1_theme_light_14armd7_1",
|
|
30
|
+
"rs-digits-2_theme_light": "_rs-digits-2_theme_light_14armd7_1",
|
|
31
|
+
"rs-super-hero_theme_light": "_rs-super-hero_theme_light_14armd7_1",
|
|
32
|
+
"rs-middle-hero_theme_light": "_rs-middle-hero_theme_light_14armd7_1",
|
|
33
|
+
"rs-hero_theme_light": "_rs-hero_theme_light_14armd7_1",
|
|
34
|
+
"rs-h1_theme_light": "_rs-h1_theme_light_14armd7_1",
|
|
35
|
+
"rs-h2_theme_light": "_rs-h2_theme_light_14armd7_1",
|
|
36
|
+
"rs-h3_theme_light": "_rs-h3_theme_light_14armd7_1",
|
|
37
|
+
"rs-h4_theme_light": "_rs-h4_theme_light_14armd7_1",
|
|
38
|
+
"rs-h5_theme_light": "_rs-h5_theme_light_14armd7_1",
|
|
39
|
+
"rs-subtitle-1_theme_light": "_rs-subtitle-1_theme_light_14armd7_1",
|
|
40
|
+
"rs-subtitle-2_theme_light": "_rs-subtitle-2_theme_light_14armd7_1",
|
|
41
|
+
"rs-text-1_theme_light": "_rs-text-1_theme_light_14armd7_1",
|
|
42
|
+
"rs-text-2_theme_light": "_rs-text-2_theme_light_14armd7_1",
|
|
43
|
+
"rs-text-3_theme_light": "_rs-text-3_theme_light_14armd7_1",
|
|
44
|
+
"rs-overline_theme_light": "_rs-overline_theme_light_14armd7_1",
|
|
45
|
+
"rs-digits-1_theme_dark": "_rs-digits-1_theme_dark_14armd7_1",
|
|
46
|
+
"rs-digits-2_theme_dark": "_rs-digits-2_theme_dark_14armd7_1",
|
|
47
|
+
"rs-super-hero_theme_dark": "_rs-super-hero_theme_dark_14armd7_1",
|
|
48
|
+
"rs-middle-hero_theme_dark": "_rs-middle-hero_theme_dark_14armd7_1",
|
|
49
|
+
"rs-hero_theme_dark": "_rs-hero_theme_dark_14armd7_1",
|
|
50
|
+
"rs-h1_theme_dark": "_rs-h1_theme_dark_14armd7_1",
|
|
51
|
+
"rs-h2_theme_dark": "_rs-h2_theme_dark_14armd7_1",
|
|
52
|
+
"rs-h3_theme_dark": "_rs-h3_theme_dark_14armd7_1",
|
|
53
|
+
"rs-h4_theme_dark": "_rs-h4_theme_dark_14armd7_1",
|
|
54
|
+
"rs-h5_theme_dark": "_rs-h5_theme_dark_14armd7_1",
|
|
55
|
+
"rs-subtitle-1_theme_dark": "_rs-subtitle-1_theme_dark_14armd7_1",
|
|
56
|
+
"rs-subtitle-2_theme_dark": "_rs-subtitle-2_theme_dark_14armd7_1",
|
|
57
|
+
"rs-text-1_theme_dark": "_rs-text-1_theme_dark_14armd7_1",
|
|
58
|
+
"rs-text-2_theme_dark": "_rs-text-2_theme_dark_14armd7_1",
|
|
59
|
+
"rs-text-3_theme_dark": "_rs-text-3_theme_dark_14armd7_1",
|
|
60
|
+
"rs-overline_theme_dark": "_rs-overline_theme_dark_14armd7_1",
|
|
61
|
+
"rs-digits-1_theme_auto": "_rs-digits-1_theme_auto_14armd7_1",
|
|
62
|
+
"rs-digits-2_theme_auto": "_rs-digits-2_theme_auto_14armd7_1",
|
|
63
|
+
"rs-super-hero_theme_auto": "_rs-super-hero_theme_auto_14armd7_1",
|
|
64
|
+
"rs-middle-hero_theme_auto": "_rs-middle-hero_theme_auto_14armd7_1",
|
|
65
|
+
"rs-hero_theme_auto": "_rs-hero_theme_auto_14armd7_1",
|
|
66
|
+
"rs-h1_theme_auto": "_rs-h1_theme_auto_14armd7_1",
|
|
67
|
+
"rs-h2_theme_auto": "_rs-h2_theme_auto_14armd7_1",
|
|
68
|
+
"rs-h3_theme_auto": "_rs-h3_theme_auto_14armd7_1",
|
|
69
|
+
"rs-h4_theme_auto": "_rs-h4_theme_auto_14armd7_1",
|
|
70
|
+
"rs-h5_theme_auto": "_rs-h5_theme_auto_14armd7_1",
|
|
71
|
+
"rs-subtitle-1_theme_auto": "_rs-subtitle-1_theme_auto_14armd7_1",
|
|
72
|
+
"rs-subtitle-2_theme_auto": "_rs-subtitle-2_theme_auto_14armd7_1",
|
|
73
|
+
"rs-text-1_theme_auto": "_rs-text-1_theme_auto_14armd7_1",
|
|
74
|
+
"rs-text-2_theme_auto": "_rs-text-2_theme_auto_14armd7_1",
|
|
75
|
+
"rs-text-3_theme_auto": "_rs-text-3_theme_auto_14armd7_1",
|
|
76
|
+
"rs-overline_theme_auto": "_rs-overline_theme_auto_14armd7_1",
|
|
77
|
+
"rs-text-1_hardness_hard": "_rs-text-1_hardness_hard_14armd7_1",
|
|
78
|
+
"rs-text-2_hardness_hard": "_rs-text-2_hardness_hard_14armd7_1",
|
|
79
|
+
"rs-text-3_hardness_hard": "_rs-text-3_hardness_hard_14armd7_1",
|
|
80
|
+
"rs-text-1_hardness_average": "_rs-text-1_hardness_average_14armd7_1",
|
|
81
|
+
"rs-text-2_hardness_average": "_rs-text-2_hardness_average_14armd7_1",
|
|
82
|
+
"rs-text-3_hardness_average": "_rs-text-3_hardness_average_14armd7_1",
|
|
83
|
+
"rs-text-1_hardness_pale": "_rs-text-1_hardness_pale_14armd7_1",
|
|
84
|
+
"rs-text-2_hardness_pale": "_rs-text-2_hardness_pale_14armd7_1",
|
|
85
|
+
"rs-text-3_hardness_pale": "_rs-text-3_hardness_pale_14armd7_1",
|
|
86
|
+
"rs-text-1_paragraph-offset-auto": "_rs-text-1_paragraph-offset-auto_14armd7_1",
|
|
87
|
+
"rs-text-2_paragraph-offset-auto": "_rs-text-2_paragraph-offset-auto_14armd7_1",
|
|
88
|
+
"rs-text-3_paragraph-offset-auto": "_rs-text-3_paragraph-offset-auto_14armd7_1",
|
|
89
|
+
"rs-text_paragraph-offset-auto": "_rs-text_paragraph-offset-auto_14armd7_1",
|
|
90
|
+
"rs-ul": "_rs-ul_14armd7_1",
|
|
91
|
+
"rs-ol": "_rs-ol_14armd7_1",
|
|
92
|
+
"rs-ul_offset-items_8": "_rs-ul_offset-items_8_14armd7_1",
|
|
93
|
+
"rs-ol_offset-items_8": "_rs-ol_offset-items_8_14armd7_1",
|
|
94
|
+
"rs-ul_offset-items_12": "_rs-ul_offset-items_12_14armd7_1",
|
|
95
|
+
"rs-ol_offset-items_12": "_rs-ol_offset-items_12_14armd7_1",
|
|
96
|
+
"rs-ul_offset-items_16": "_rs-ul_offset-items_16_14armd7_1",
|
|
97
|
+
"rs-ol_offset-items_16": "_rs-ol_offset-items_16_14armd7_1",
|
|
98
|
+
"rs-ul_offset-items_24": "_rs-ul_offset-items_24_14armd7_1",
|
|
99
|
+
"rs-ol_offset-items_24": "_rs-ol_offset-items_24_14armd7_1",
|
|
100
|
+
"rs-ol_alpha_lower": "_rs-ol_alpha_lower_14armd7_1",
|
|
101
|
+
"rs-ol_alpha_upper": "_rs-ol_alpha_upper_14armd7_1",
|
|
102
|
+
"rs-code": "_rs-code_14armd7_1",
|
|
103
|
+
"rs-pre": "_rs-pre_14armd7_1",
|
|
104
|
+
"rs-link_mode_classic": "_rs-link_mode_classic_14armd7_1",
|
|
105
|
+
"rs-link_mode_rock": "_rs-link_mode_rock_14armd7_1",
|
|
106
|
+
"rs-link_mode_standalone": "_rs-link_mode_standalone_14armd7_1",
|
|
107
|
+
"rs-link_mode_clear": "_rs-link_mode_clear_14armd7_1",
|
|
108
|
+
"rs-link_hardness_hard": "_rs-link_hardness_hard_14armd7_1",
|
|
109
|
+
"rs-link_hardness_average": "_rs-link_hardness_average_14armd7_1",
|
|
110
|
+
"rs-link_hardness_pale": "_rs-link_hardness_pale_14armd7_1",
|
|
111
|
+
"rs-link_external": "_rs-link_external_14armd7_1",
|
|
112
|
+
"rs-link": "_rs-link_14armd7_1",
|
|
113
|
+
"rs-code_theme_light": "_rs-code_theme_light_14armd7_1",
|
|
114
|
+
"rs-pre_theme_light": "_rs-pre_theme_light_14armd7_1",
|
|
115
|
+
"rs-link_theme_light": "_rs-link_theme_light_14armd7_1",
|
|
116
|
+
"rs-code_theme_dark": "_rs-code_theme_dark_14armd7_1",
|
|
117
|
+
"rs-pre_theme_dark": "_rs-pre_theme_dark_14armd7_1",
|
|
118
|
+
"rs-link_theme_dark": "_rs-link_theme_dark_14armd7_1",
|
|
119
|
+
"rs-code_theme_auto": "_rs-code_theme_auto_14armd7_1",
|
|
120
|
+
"rs-pre_theme_auto": "_rs-pre_theme_auto_14armd7_1",
|
|
121
|
+
"rs-link_theme_auto": "_rs-link_theme_auto_14armd7_1"
|
|
122
122
|
};
|
|
123
123
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -759,7 +759,6 @@
|
|
|
759
759
|
font-weight:var(--_rs-typography-font-weight);
|
|
760
760
|
line-height:var(--_rs-typography-line-height);
|
|
761
761
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
762
|
-
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
763
762
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
764
763
|
color:var(--_rs-typography-base-color);
|
|
765
764
|
}
|
|
@@ -849,7 +848,6 @@
|
|
|
849
848
|
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
850
849
|
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
851
850
|
);
|
|
852
|
-
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
853
851
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
854
852
|
}
|
|
855
853
|
.rs-ul > li, .rs-ol > li{
|
|
@@ -931,7 +929,6 @@
|
|
|
931
929
|
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),
|
|
932
930
|
0.1
|
|
933
931
|
);
|
|
934
|
-
-webkit-box-sizing:border-box;
|
|
935
932
|
box-sizing:border-box;
|
|
936
933
|
padding:0.11111em 0.44444em;
|
|
937
934
|
border-radius:4px;
|
|
@@ -960,7 +957,6 @@
|
|
|
960
957
|
);
|
|
961
958
|
display:block;
|
|
962
959
|
overflow:auto;
|
|
963
|
-
-webkit-box-sizing:border-box;
|
|
964
960
|
box-sizing:border-box;
|
|
965
961
|
width:100%;
|
|
966
962
|
max-width:100%;
|
|
@@ -1246,39 +1242,86 @@
|
|
|
1246
1242
|
--_rs-typography-link-transition,
|
|
1247
1243
|
none
|
|
1248
1244
|
);
|
|
1249
|
-
padding-bottom:
|
|
1250
|
-
|
|
1245
|
+
--_rs-typography-link-padding-bottom-final:var(
|
|
1246
|
+
--_rs-typography-link-padding-bottom-from-state-hover,
|
|
1247
|
+
1px
|
|
1248
|
+
);
|
|
1249
|
+
--_rs-typography-link-border-bottom-width-final:var(
|
|
1250
|
+
--_rs-typography-link-border-bottom-width-from-state-hover,
|
|
1251
|
+
var(--_rs-typography-link-border-bottom-width-wf)
|
|
1252
|
+
);
|
|
1253
|
+
--_rs-typography-link-border-bottom-color-final:var(
|
|
1254
|
+
--_rs-typography-link-border-bottom-color-from-state-hover,
|
|
1255
|
+
var(--_rs-typography-link-underline-color-wf)
|
|
1256
|
+
);
|
|
1257
|
+
--_rs-typography-link-border-image-final:var(
|
|
1258
|
+
--_rs-typography-link-border-image-from-state-hover,
|
|
1259
|
+
initial
|
|
1260
|
+
);
|
|
1261
|
+
--_rs-typography-link-color-final:var(
|
|
1262
|
+
--_rs-typography-link-color-from-state-hover,
|
|
1263
|
+
var(--_rs-typography-link-color-wf)
|
|
1264
|
+
);
|
|
1265
|
+
--_rs-typography-link-background-size-final:var(
|
|
1266
|
+
--_rs-typography-link-background-size-from-state-hover,
|
|
1267
|
+
auto 0
|
|
1268
|
+
);
|
|
1269
|
+
--_rs-typography-link-after-margin-right-final:var(
|
|
1270
|
+
--_rs-typography-link-after-margin-right-from-state-hover,
|
|
1271
|
+
var(--_rs-typography-link-after-offset-right-wf)
|
|
1272
|
+
);
|
|
1273
|
+
--_rs-typography-link-after-margin-left-final:var(
|
|
1274
|
+
--_rs-typography-link-after-margin-left-from-state-hover,
|
|
1275
|
+
var(--_rs-typography-link-after-offset-left-wf)
|
|
1276
|
+
);
|
|
1277
|
+
--_rs-typography-link-box-shadow-final:var(
|
|
1278
|
+
--_rs-typography-link-box-shadow-from-state-focus-visible,
|
|
1279
|
+
initial
|
|
1280
|
+
);
|
|
1281
|
+
padding-bottom:var(--_rs-typography-link-padding-bottom-final);
|
|
1282
|
+
border-bottom-width:var(--_rs-typography-link-border-bottom-width-final);
|
|
1251
1283
|
border-bottom-style:solid;
|
|
1252
|
-
border-bottom-color:var(--_rs-typography-link-
|
|
1284
|
+
border-bottom-color:var(--_rs-typography-link-border-bottom-color-final);
|
|
1285
|
+
-o-border-image:var(--_rs-typography-link-border-image-final);
|
|
1286
|
+
border-image:var(--_rs-typography-link-border-image-final);
|
|
1253
1287
|
outline:none;
|
|
1254
1288
|
cursor:pointer;
|
|
1255
1289
|
text-decoration:none;
|
|
1256
|
-
color:var(--_rs-typography-link-color-
|
|
1290
|
+
color:var(--_rs-typography-link-color-final);
|
|
1257
1291
|
background-image:var(--_rs-typography-link-background-image-wf);
|
|
1258
1292
|
background-repeat:repeat-x;
|
|
1259
1293
|
background-position:left calc(100% + 4px);
|
|
1260
|
-
background-size:
|
|
1294
|
+
background-size:var(--_rs-typography-link-background-size-final);
|
|
1295
|
+
box-shadow:var(--_rs-typography-link-box-shadow-final);
|
|
1261
1296
|
font-size:inherit;
|
|
1262
1297
|
line-height:inherit;
|
|
1263
|
-
-webkit-transition:var(--_rs-typography-link-transition-wf);
|
|
1264
1298
|
transition:var(--_rs-typography-link-transition-wf);
|
|
1265
1299
|
}
|
|
1266
1300
|
.rs-link:active,
|
|
1267
1301
|
.rs-link:focus{
|
|
1268
|
-
color:var(--_rs-typography-link-color-
|
|
1302
|
+
color:var(--_rs-typography-link-color-final);
|
|
1269
1303
|
}
|
|
1270
1304
|
.rs-link:hover{
|
|
1271
|
-
padding-bottom:calc(1px - var(--_rs-typography-link-hover-underline-width-difference-wf));
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1305
|
+
--_rs-typography-link-padding-bottom-from-state-hover:calc(1px - var(--_rs-typography-link-hover-underline-width-difference-wf));
|
|
1306
|
+
--_rs-typography-link-border-bottom-width-from-state-hover:calc(var(--_rs-typography-link-border-bottom-width-wf) + var(--_rs-typography-link-hover-underline-width-difference-wf));
|
|
1307
|
+
--_rs-typography-link-border-bottom-color-from-state-hover:var(
|
|
1308
|
+
--_rs-typography-link-hover-underline-color-wf
|
|
1309
|
+
);
|
|
1310
|
+
--_rs-typography-link-border-image-from-state-hover:var(
|
|
1311
|
+
--_rs-typography-link-hover-border-image-wf
|
|
1312
|
+
);
|
|
1313
|
+
--_rs-typography-link-color-from-state-hover:var(
|
|
1314
|
+
--_rs-typography-link-hover-color-wf
|
|
1315
|
+
);
|
|
1316
|
+
--_rs-typography-link-background-size-from-state-hover:auto calc(100% + 4px);
|
|
1317
|
+
--_rs-typography-link-after-margin-right-from-state-hover:var(
|
|
1318
|
+
--_rs-typography-link-hover-after-offset-right-wf
|
|
1319
|
+
);
|
|
1320
|
+
--_rs-typography-link-after-margin-left-from-state-hover:var(
|
|
1321
|
+
--_rs-typography-link-hover-after-offset-left-wf
|
|
1322
|
+
);
|
|
1277
1323
|
|
|
1278
1324
|
text-decoration:none;
|
|
1279
|
-
|
|
1280
|
-
color:var(--_rs-typography-link-hover-color-wf);
|
|
1281
|
-
background-size:auto calc(100% + 4px);
|
|
1282
1325
|
}
|
|
1283
1326
|
.rs-link:after{
|
|
1284
1327
|
display:var(
|
|
@@ -1286,22 +1329,17 @@
|
|
|
1286
1329
|
var(--_rs-typography-link-after-display-wf)
|
|
1287
1330
|
);
|
|
1288
1331
|
|
|
1289
|
-
margin-right:var(--_rs-typography-link-after-
|
|
1290
|
-
margin-left:var(--_rs-typography-link-after-
|
|
1332
|
+
margin-right:var(--_rs-typography-link-after-margin-right-final);
|
|
1333
|
+
margin-left:var(--_rs-typography-link-after-margin-left-final);
|
|
1291
1334
|
|
|
1292
1335
|
content:var(--_rs-typography-link-after-content-or-initial, '\2192');
|
|
1293
1336
|
|
|
1294
|
-
-webkit-transition:margin-right 300ms, margin-left 300ms;
|
|
1295
|
-
|
|
1296
1337
|
transition:margin-right 300ms, margin-left 300ms;
|
|
1297
1338
|
}
|
|
1298
|
-
.rs-link:hover:after{
|
|
1299
|
-
margin-right:var(--_rs-typography-link-hover-after-offset-right-wf);
|
|
1300
|
-
margin-left:var(--_rs-typography-link-hover-after-offset-left-wf);
|
|
1301
|
-
}
|
|
1302
1339
|
.rs-link:focus[data-focus-method='key']{
|
|
1303
|
-
-
|
|
1304
|
-
|
|
1340
|
+
--_rs-typography-link-box-shadow-from-state-focus-visible:var(
|
|
1341
|
+
--_rs-color-primary
|
|
1342
|
+
) 0 0 0 4px;
|
|
1305
1343
|
}
|
|
1306
1344
|
.rs-code_theme_light, .rs-pre_theme_light, .rs-link_theme_light{
|
|
1307
1345
|
--rs-theme-dark:0;
|