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