@deskpro/deskpro-ui 7.1.0 → 7.2.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.
|
@@ -9,55 +9,56 @@ exports.common = (0, styled_components_1.css) `
|
|
|
9
9
|
// Heading Text
|
|
10
10
|
const h0 = (0, styled_components_1.css) `
|
|
11
11
|
font-size: 14px;
|
|
12
|
-
font-weight:
|
|
13
|
-
font-family: ${(props) => props.theme.fonts.
|
|
14
|
-
line-height:
|
|
12
|
+
font-weight: 600;
|
|
13
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
14
|
+
line-height: 112%;
|
|
15
15
|
`;
|
|
16
16
|
const h1 = (0, styled_components_1.css) `
|
|
17
|
-
font-size:
|
|
18
|
-
font-weight:
|
|
19
|
-
font-family: ${(props) => props.theme.fonts.
|
|
20
|
-
line-height:
|
|
17
|
+
font-size: 14px;
|
|
18
|
+
font-weight: 550;
|
|
19
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
20
|
+
line-height: 112%;
|
|
21
|
+
letter-spacing: 0.1px;
|
|
21
22
|
`;
|
|
22
23
|
const h2 = (0, styled_components_1.css) `
|
|
23
24
|
font-size: 12px;
|
|
24
|
-
font-weight:
|
|
25
|
-
font-family: ${(props) => props.theme.fonts.
|
|
26
|
-
line-height:
|
|
25
|
+
font-weight: 500;
|
|
26
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
27
|
+
line-height: 112%;
|
|
27
28
|
`;
|
|
28
29
|
const h3 = (0, styled_components_1.css) `
|
|
29
30
|
font-size: 11px;
|
|
30
31
|
font-weight: 500;
|
|
31
|
-
font-family: ${(props) => props.theme.fonts.
|
|
32
|
-
line-height:
|
|
32
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
33
|
+
line-height: 112%;
|
|
33
34
|
`;
|
|
34
35
|
const h4 = (0, styled_components_1.css) `
|
|
35
|
-
font-size:
|
|
36
|
-
font-weight:
|
|
37
|
-
font-family: ${(props) => props.theme.fonts.
|
|
38
|
-
line-height:
|
|
36
|
+
font-size: 12px;
|
|
37
|
+
font-weight: 600;
|
|
38
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
39
|
+
line-height: 126%;
|
|
39
40
|
`;
|
|
40
41
|
const h5 = (0, styled_components_1.css) `
|
|
41
42
|
font-size: 10px;
|
|
42
43
|
font-weight: 500;
|
|
43
|
-
font-family: ${(props) => props.theme.fonts.
|
|
44
|
-
line-height:
|
|
44
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
45
|
+
line-height: 140%;
|
|
45
46
|
`;
|
|
46
47
|
const h6 = (0, styled_components_1.css) `
|
|
47
|
-
font-size:
|
|
48
|
+
font-size: 10px;
|
|
48
49
|
font-weight: 500;
|
|
49
|
-
font-family: ${(props) => props.theme.fonts.
|
|
50
|
-
line-height:
|
|
50
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
51
|
+
line-height: 140%;
|
|
51
52
|
`;
|
|
52
53
|
const h7 = (0, styled_components_1.css) `
|
|
53
54
|
font-size: 11px;
|
|
54
55
|
font-weight: 600;
|
|
55
|
-
font-family: ${(props) => props.theme.fonts.
|
|
56
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
56
57
|
line-height: 150%;
|
|
57
58
|
`;
|
|
58
59
|
const h8 = (0, styled_components_1.css) `
|
|
59
60
|
font-size: 11px;
|
|
60
|
-
font-weight:
|
|
61
|
+
font-weight: 500;
|
|
61
62
|
font-family: ${(props) => props.theme.fonts.inter};
|
|
62
63
|
line-height: 150%;
|
|
63
64
|
`;
|
|
@@ -65,18 +66,18 @@ const h9 = (0, styled_components_1.css) `
|
|
|
65
66
|
font-size: 14px;
|
|
66
67
|
font-weight: 500;
|
|
67
68
|
font-family: ${(props) => props.theme.fonts.inter};
|
|
68
|
-
line-height:
|
|
69
|
+
line-height: 120%;
|
|
69
70
|
`;
|
|
70
71
|
const h10 = (0, styled_components_1.css) `
|
|
71
72
|
font-size: 16px;
|
|
72
73
|
font-weight: 600;
|
|
73
74
|
font-family: ${(props) => props.theme.fonts.inter};
|
|
74
|
-
line-height:
|
|
75
|
+
line-height: 120%;
|
|
75
76
|
`;
|
|
76
77
|
const h11 = (0, styled_components_1.css) `
|
|
77
78
|
font-size: 16px;
|
|
78
|
-
font-weight:
|
|
79
|
-
font-family: ${(props) => props.theme.fonts.
|
|
79
|
+
font-weight: 600;
|
|
80
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
80
81
|
line-height: 120%;
|
|
81
82
|
`;
|
|
82
83
|
/**
|
|
@@ -99,94 +100,96 @@ exports.headingStyles = {
|
|
|
99
100
|
};
|
|
100
101
|
// Paragraph Text
|
|
101
102
|
const p1 = (0, styled_components_1.css) `
|
|
102
|
-
font-size:
|
|
103
|
-
font-weight:
|
|
104
|
-
font-family: ${(props) => props.theme.fonts.
|
|
103
|
+
font-size: 14px;
|
|
104
|
+
font-weight: 400;
|
|
105
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
105
106
|
line-height: 150%;
|
|
106
107
|
`;
|
|
107
108
|
const p2 = (0, styled_components_1.css) `
|
|
108
|
-
font-size:
|
|
109
|
-
font-weight:
|
|
110
|
-
font-family: ${(props) => props.theme.fonts.
|
|
111
|
-
line-height:
|
|
109
|
+
font-size: 14px;
|
|
110
|
+
font-weight: 400;
|
|
111
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
112
|
+
line-height: 120%;
|
|
112
113
|
`;
|
|
113
114
|
const p3 = (0, styled_components_1.css) `
|
|
114
115
|
font-size: 12px;
|
|
115
|
-
font-weight:
|
|
116
|
-
font-family: ${(props) => props.theme.fonts.
|
|
116
|
+
font-weight: 500;
|
|
117
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
117
118
|
line-height: 150%;
|
|
118
119
|
`;
|
|
119
120
|
const p4 = (0, styled_components_1.css) `
|
|
120
121
|
font-size: 12px;
|
|
121
|
-
font-weight:
|
|
122
|
-
font-family: ${(props) => props.theme.fonts.
|
|
122
|
+
font-weight: 600;
|
|
123
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
123
124
|
line-height: 150%;
|
|
124
125
|
`;
|
|
125
126
|
const p5 = (0, styled_components_1.css) `
|
|
126
|
-
font-size:
|
|
127
|
-
font-weight:
|
|
128
|
-
font-family: ${(props) => props.theme.fonts.
|
|
127
|
+
font-size: 14px;
|
|
128
|
+
font-weight: 400;
|
|
129
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
129
130
|
line-height: 150%;
|
|
130
131
|
`;
|
|
131
132
|
const p6 = (0, styled_components_1.css) `
|
|
132
|
-
font-size:
|
|
133
|
-
font-weight:
|
|
134
|
-
font-family: ${(props) => props.theme.fonts.
|
|
135
|
-
line-height:
|
|
133
|
+
font-size: 12px;
|
|
134
|
+
font-weight: 550;
|
|
135
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
136
|
+
line-height: 126%;
|
|
137
|
+
color: #566672;
|
|
136
138
|
`;
|
|
137
139
|
const p7 = (0, styled_components_1.css) `
|
|
138
140
|
font-size: 11px;
|
|
139
141
|
font-weight: 600;
|
|
140
|
-
font-family: ${(props) => props.theme.fonts.
|
|
142
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
141
143
|
line-height: 150%;
|
|
142
144
|
`;
|
|
143
145
|
const p8 = (0, styled_components_1.css) `
|
|
144
|
-
font-size:
|
|
145
|
-
font-weight:
|
|
146
|
-
font-family: ${(props) => props.theme.fonts.
|
|
146
|
+
font-size: 11px;
|
|
147
|
+
font-weight: 550;
|
|
148
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
147
149
|
line-height: 150%;
|
|
150
|
+
color: #566672;
|
|
148
151
|
`;
|
|
149
152
|
const p9 = (0, styled_components_1.css) `
|
|
150
153
|
font-size: 10px;
|
|
151
154
|
font-weight: bold;
|
|
152
|
-
font-family: ${(props) => props.theme.fonts.
|
|
153
|
-
line-height:
|
|
155
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
156
|
+
line-height: 140%;
|
|
154
157
|
`;
|
|
155
158
|
const p10 = (0, styled_components_1.css) `
|
|
156
|
-
font-size:
|
|
159
|
+
font-size: 10px;
|
|
157
160
|
font-weight: 600;
|
|
158
|
-
font-family: ${(props) => props.theme.fonts.
|
|
159
|
-
line-height:
|
|
161
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
162
|
+
line-height: 140%;
|
|
160
163
|
`;
|
|
161
164
|
const p11 = (0, styled_components_1.css) `
|
|
162
|
-
font-size:
|
|
165
|
+
font-size: 10px;
|
|
163
166
|
font-weight: 500;
|
|
164
|
-
font-family: ${(props) => props.theme.fonts.
|
|
165
|
-
line-height:
|
|
167
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
168
|
+
line-height: 140%;
|
|
166
169
|
`;
|
|
167
170
|
const p12 = (0, styled_components_1.css) `
|
|
168
|
-
font-size:
|
|
169
|
-
font-weight:
|
|
170
|
-
font-family: ${(props) => props.theme.fonts.
|
|
171
|
+
font-size: 11px;
|
|
172
|
+
font-weight: 500;
|
|
173
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
171
174
|
line-height: 150%;
|
|
172
175
|
`;
|
|
173
176
|
const p13 = (0, styled_components_1.css) `
|
|
174
177
|
font-size: 11px;
|
|
175
|
-
font-weight:
|
|
178
|
+
font-weight: 400;
|
|
176
179
|
font-family: ${(props) => props.theme.fonts.monospace};
|
|
177
180
|
line-height: 150%;
|
|
178
181
|
`;
|
|
179
182
|
const p14 = (0, styled_components_1.css) `
|
|
180
|
-
font-size:
|
|
183
|
+
font-size: 11px;
|
|
181
184
|
font-weight: 600;
|
|
182
185
|
font-family: ${(props) => props.theme.fonts.monospace};
|
|
183
|
-
line-height:
|
|
186
|
+
line-height: 120%;
|
|
184
187
|
`;
|
|
185
188
|
const p15 = (0, styled_components_1.css) `
|
|
186
|
-
font-size:
|
|
189
|
+
font-size: 11px;
|
|
187
190
|
font-weight: 400;
|
|
188
|
-
font-family: ${(props) => props.theme.fonts.
|
|
189
|
-
line-height:
|
|
191
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
192
|
+
line-height: 140%;
|
|
190
193
|
`;
|
|
191
194
|
const p16 = (0, styled_components_1.css) `
|
|
192
195
|
font-size: 12px;
|
|
@@ -195,16 +198,16 @@ const p16 = (0, styled_components_1.css) `
|
|
|
195
198
|
line-height: 150%;
|
|
196
199
|
`;
|
|
197
200
|
const p17 = (0, styled_components_1.css) `
|
|
198
|
-
font-size:
|
|
201
|
+
font-size: 12px;
|
|
199
202
|
font-weight: 600;
|
|
200
203
|
font-family: ${(props) => props.theme.fonts.inter};
|
|
201
|
-
line-height:
|
|
204
|
+
line-height: 112%;
|
|
202
205
|
`;
|
|
203
206
|
const p18 = (0, styled_components_1.css) `
|
|
204
207
|
font-size: 11px;
|
|
205
208
|
font-weight: 500;
|
|
206
|
-
font-family: ${(props) => props.theme.fonts.
|
|
207
|
-
line-height:
|
|
209
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
210
|
+
line-height: 126%;
|
|
208
211
|
`;
|
|
209
212
|
/**
|
|
210
213
|
* @public
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/components/Typography/v1/styles.ts"],"names":[],"mappings":";;;AAAA,yDAAwC;AAE3B,QAAA,MAAM,GAAG,IAAA,uBAAG,EAAA;;;CAGxB,CAAC;AAEF,eAAe;AAEf,MAAM,EAAE,GAAG,IAAA,uBAAG,EAAA;;;iBAGG,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/components/Typography/v1/styles.ts"],"names":[],"mappings":";;;AAAA,yDAAwC;AAE3B,QAAA,MAAM,GAAG,IAAA,uBAAG,EAAA;;;CAGxB,CAAC;AAEF,eAAe;AAEf,MAAM,EAAE,GAAG,IAAA,uBAAG,EAAA;;;iBAGG,CA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K,CAAC,KAAK,CAAC,KAAK,CAAC,SAAS;;CAEtD,CAAC;AAEF,MAAM,GAAG,GAAG,IAAA,uBAAG,EAAA;;;iBAGE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK;;CAElD,CAAC;AAEF,MAAM,GAAG,GAAG,IAAA,uBAAG,EAAA;;;iBAGE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK;;CAElD,CAAC;AAEF,MAAM,GAAG,GAAG,IAAA,uBAAG,EAAA;;;iBAGE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK;;CAElD,CAAC;AAEF,MAAM,GAAG,GAAG,IAAA,uBAAG,EAAA;;;iBAGE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK;;CAElD,CAAC;AAEF;;;GAGG;AACU,QAAA,eAAe,GAAG;IAC7B,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;CACJ,CAAC"}
|
|
@@ -6,55 +6,56 @@ export const common = css `
|
|
|
6
6
|
// Heading Text
|
|
7
7
|
const h0 = css `
|
|
8
8
|
font-size: 14px;
|
|
9
|
-
font-weight:
|
|
10
|
-
font-family: ${(props) => props.theme.fonts.
|
|
11
|
-
line-height:
|
|
9
|
+
font-weight: 600;
|
|
10
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
11
|
+
line-height: 112%;
|
|
12
12
|
`;
|
|
13
13
|
const h1 = css `
|
|
14
|
-
font-size:
|
|
15
|
-
font-weight:
|
|
16
|
-
font-family: ${(props) => props.theme.fonts.
|
|
17
|
-
line-height:
|
|
14
|
+
font-size: 14px;
|
|
15
|
+
font-weight: 550;
|
|
16
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
17
|
+
line-height: 112%;
|
|
18
|
+
letter-spacing: 0.1px;
|
|
18
19
|
`;
|
|
19
20
|
const h2 = css `
|
|
20
21
|
font-size: 12px;
|
|
21
|
-
font-weight:
|
|
22
|
-
font-family: ${(props) => props.theme.fonts.
|
|
23
|
-
line-height:
|
|
22
|
+
font-weight: 500;
|
|
23
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
24
|
+
line-height: 112%;
|
|
24
25
|
`;
|
|
25
26
|
const h3 = css `
|
|
26
27
|
font-size: 11px;
|
|
27
28
|
font-weight: 500;
|
|
28
|
-
font-family: ${(props) => props.theme.fonts.
|
|
29
|
-
line-height:
|
|
29
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
30
|
+
line-height: 112%;
|
|
30
31
|
`;
|
|
31
32
|
const h4 = css `
|
|
32
|
-
font-size:
|
|
33
|
-
font-weight:
|
|
34
|
-
font-family: ${(props) => props.theme.fonts.
|
|
35
|
-
line-height:
|
|
33
|
+
font-size: 12px;
|
|
34
|
+
font-weight: 600;
|
|
35
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
36
|
+
line-height: 126%;
|
|
36
37
|
`;
|
|
37
38
|
const h5 = css `
|
|
38
39
|
font-size: 10px;
|
|
39
40
|
font-weight: 500;
|
|
40
|
-
font-family: ${(props) => props.theme.fonts.
|
|
41
|
-
line-height:
|
|
41
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
42
|
+
line-height: 140%;
|
|
42
43
|
`;
|
|
43
44
|
const h6 = css `
|
|
44
|
-
font-size:
|
|
45
|
+
font-size: 10px;
|
|
45
46
|
font-weight: 500;
|
|
46
|
-
font-family: ${(props) => props.theme.fonts.
|
|
47
|
-
line-height:
|
|
47
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
48
|
+
line-height: 140%;
|
|
48
49
|
`;
|
|
49
50
|
const h7 = css `
|
|
50
51
|
font-size: 11px;
|
|
51
52
|
font-weight: 600;
|
|
52
|
-
font-family: ${(props) => props.theme.fonts.
|
|
53
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
53
54
|
line-height: 150%;
|
|
54
55
|
`;
|
|
55
56
|
const h8 = css `
|
|
56
57
|
font-size: 11px;
|
|
57
|
-
font-weight:
|
|
58
|
+
font-weight: 500;
|
|
58
59
|
font-family: ${(props) => props.theme.fonts.inter};
|
|
59
60
|
line-height: 150%;
|
|
60
61
|
`;
|
|
@@ -62,18 +63,18 @@ const h9 = css `
|
|
|
62
63
|
font-size: 14px;
|
|
63
64
|
font-weight: 500;
|
|
64
65
|
font-family: ${(props) => props.theme.fonts.inter};
|
|
65
|
-
line-height:
|
|
66
|
+
line-height: 120%;
|
|
66
67
|
`;
|
|
67
68
|
const h10 = css `
|
|
68
69
|
font-size: 16px;
|
|
69
70
|
font-weight: 600;
|
|
70
71
|
font-family: ${(props) => props.theme.fonts.inter};
|
|
71
|
-
line-height:
|
|
72
|
+
line-height: 120%;
|
|
72
73
|
`;
|
|
73
74
|
const h11 = css `
|
|
74
75
|
font-size: 16px;
|
|
75
|
-
font-weight:
|
|
76
|
-
font-family: ${(props) => props.theme.fonts.
|
|
76
|
+
font-weight: 600;
|
|
77
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
77
78
|
line-height: 120%;
|
|
78
79
|
`;
|
|
79
80
|
/**
|
|
@@ -96,94 +97,96 @@ export const headingStyles = {
|
|
|
96
97
|
};
|
|
97
98
|
// Paragraph Text
|
|
98
99
|
const p1 = css `
|
|
99
|
-
font-size:
|
|
100
|
-
font-weight:
|
|
101
|
-
font-family: ${(props) => props.theme.fonts.
|
|
100
|
+
font-size: 14px;
|
|
101
|
+
font-weight: 400;
|
|
102
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
102
103
|
line-height: 150%;
|
|
103
104
|
`;
|
|
104
105
|
const p2 = css `
|
|
105
|
-
font-size:
|
|
106
|
-
font-weight:
|
|
107
|
-
font-family: ${(props) => props.theme.fonts.
|
|
108
|
-
line-height:
|
|
106
|
+
font-size: 14px;
|
|
107
|
+
font-weight: 400;
|
|
108
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
109
|
+
line-height: 120%;
|
|
109
110
|
`;
|
|
110
111
|
const p3 = css `
|
|
111
112
|
font-size: 12px;
|
|
112
|
-
font-weight:
|
|
113
|
-
font-family: ${(props) => props.theme.fonts.
|
|
113
|
+
font-weight: 500;
|
|
114
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
114
115
|
line-height: 150%;
|
|
115
116
|
`;
|
|
116
117
|
const p4 = css `
|
|
117
118
|
font-size: 12px;
|
|
118
|
-
font-weight:
|
|
119
|
-
font-family: ${(props) => props.theme.fonts.
|
|
119
|
+
font-weight: 600;
|
|
120
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
120
121
|
line-height: 150%;
|
|
121
122
|
`;
|
|
122
123
|
const p5 = css `
|
|
123
|
-
font-size:
|
|
124
|
-
font-weight:
|
|
125
|
-
font-family: ${(props) => props.theme.fonts.
|
|
124
|
+
font-size: 14px;
|
|
125
|
+
font-weight: 400;
|
|
126
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
126
127
|
line-height: 150%;
|
|
127
128
|
`;
|
|
128
129
|
const p6 = css `
|
|
129
|
-
font-size:
|
|
130
|
-
font-weight:
|
|
131
|
-
font-family: ${(props) => props.theme.fonts.
|
|
132
|
-
line-height:
|
|
130
|
+
font-size: 12px;
|
|
131
|
+
font-weight: 550;
|
|
132
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
133
|
+
line-height: 126%;
|
|
134
|
+
color: #566672;
|
|
133
135
|
`;
|
|
134
136
|
const p7 = css `
|
|
135
137
|
font-size: 11px;
|
|
136
138
|
font-weight: 600;
|
|
137
|
-
font-family: ${(props) => props.theme.fonts.
|
|
139
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
138
140
|
line-height: 150%;
|
|
139
141
|
`;
|
|
140
142
|
const p8 = css `
|
|
141
|
-
font-size:
|
|
142
|
-
font-weight:
|
|
143
|
-
font-family: ${(props) => props.theme.fonts.
|
|
143
|
+
font-size: 11px;
|
|
144
|
+
font-weight: 550;
|
|
145
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
144
146
|
line-height: 150%;
|
|
147
|
+
color: #566672;
|
|
145
148
|
`;
|
|
146
149
|
const p9 = css `
|
|
147
150
|
font-size: 10px;
|
|
148
151
|
font-weight: bold;
|
|
149
|
-
font-family: ${(props) => props.theme.fonts.
|
|
150
|
-
line-height:
|
|
152
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
153
|
+
line-height: 140%;
|
|
151
154
|
`;
|
|
152
155
|
const p10 = css `
|
|
153
|
-
font-size:
|
|
156
|
+
font-size: 10px;
|
|
154
157
|
font-weight: 600;
|
|
155
|
-
font-family: ${(props) => props.theme.fonts.
|
|
156
|
-
line-height:
|
|
158
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
159
|
+
line-height: 140%;
|
|
157
160
|
`;
|
|
158
161
|
const p11 = css `
|
|
159
|
-
font-size:
|
|
162
|
+
font-size: 10px;
|
|
160
163
|
font-weight: 500;
|
|
161
|
-
font-family: ${(props) => props.theme.fonts.
|
|
162
|
-
line-height:
|
|
164
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
165
|
+
line-height: 140%;
|
|
163
166
|
`;
|
|
164
167
|
const p12 = css `
|
|
165
|
-
font-size:
|
|
166
|
-
font-weight:
|
|
167
|
-
font-family: ${(props) => props.theme.fonts.
|
|
168
|
+
font-size: 11px;
|
|
169
|
+
font-weight: 500;
|
|
170
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
168
171
|
line-height: 150%;
|
|
169
172
|
`;
|
|
170
173
|
const p13 = css `
|
|
171
174
|
font-size: 11px;
|
|
172
|
-
font-weight:
|
|
175
|
+
font-weight: 400;
|
|
173
176
|
font-family: ${(props) => props.theme.fonts.monospace};
|
|
174
177
|
line-height: 150%;
|
|
175
178
|
`;
|
|
176
179
|
const p14 = css `
|
|
177
|
-
font-size:
|
|
180
|
+
font-size: 11px;
|
|
178
181
|
font-weight: 600;
|
|
179
182
|
font-family: ${(props) => props.theme.fonts.monospace};
|
|
180
|
-
line-height:
|
|
183
|
+
line-height: 120%;
|
|
181
184
|
`;
|
|
182
185
|
const p15 = css `
|
|
183
|
-
font-size:
|
|
186
|
+
font-size: 11px;
|
|
184
187
|
font-weight: 400;
|
|
185
|
-
font-family: ${(props) => props.theme.fonts.
|
|
186
|
-
line-height:
|
|
188
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
189
|
+
line-height: 140%;
|
|
187
190
|
`;
|
|
188
191
|
const p16 = css `
|
|
189
192
|
font-size: 12px;
|
|
@@ -192,16 +195,16 @@ const p16 = css `
|
|
|
192
195
|
line-height: 150%;
|
|
193
196
|
`;
|
|
194
197
|
const p17 = css `
|
|
195
|
-
font-size:
|
|
198
|
+
font-size: 12px;
|
|
196
199
|
font-weight: 600;
|
|
197
200
|
font-family: ${(props) => props.theme.fonts.inter};
|
|
198
|
-
line-height:
|
|
201
|
+
line-height: 112%;
|
|
199
202
|
`;
|
|
200
203
|
const p18 = css `
|
|
201
204
|
font-size: 11px;
|
|
202
205
|
font-weight: 500;
|
|
203
|
-
font-family: ${(props) => props.theme.fonts.
|
|
204
|
-
line-height:
|
|
206
|
+
font-family: ${(props) => props.theme.fonts.inter};
|
|
207
|
+
line-height: 126%;
|
|
205
208
|
`;
|
|
206
209
|
/**
|
|
207
210
|
* @public
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/components/Typography/v1/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;CAGxB,CAAC;AAEF,eAAe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