@primer/brand-css 0.72.1-rc.8a8dc720 → 0.72.1-rc.9a6e1235

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.
@@ -10,11 +10,13 @@
10
10
  }
11
11
 
12
12
  .FAQ__content-wrapper--gridline {
13
+ padding-inline: var(--base-size-20);
13
14
  max-width: var(--brand-FAQ-maxWidth-list);
14
15
  margin: 0 auto;
15
16
  }
16
17
 
17
18
  .FAQ__heading-wrapper--gridline {
19
+ padding-inline: var(--base-size-20);
18
20
  border-block-end: var(--brand-color-border-muted) var(--brand-borderWidth-thin) solid;
19
21
  margin-block-end: var(--base-size-40);
20
22
  }
@@ -69,7 +71,19 @@
69
71
  margin: 0;
70
72
  }
71
73
 
74
+ @media screen and (min-width: 48rem) {
75
+ .FAQ__content-wrapper--gridline,
76
+ .FAQ__heading-wrapper--gridline {
77
+ padding-inline: var(--base-size-36);
78
+ }
79
+ }
80
+
72
81
  @media screen and (min-width: 63.25rem) {
82
+ .FAQ__content-wrapper--gridline,
83
+ .FAQ__heading-wrapper--gridline {
84
+ padding-inline: 0;
85
+ }
86
+
73
87
  .FAQ__heading-wrapper--gridline {
74
88
  margin-block-end: var(--base-size-48);
75
89
  }
@@ -162,67 +162,79 @@
162
162
  .Testimonial--variant-expressive {
163
163
  display: flex;
164
164
  flex-direction: column;
165
- gap: var(--base-size-48);
166
- }
167
-
168
- @media screen and (min-width: 48rem) {
169
- .Testimonial--variant-expressive {
170
- flex-direction: row;
171
- align-items: flex-end;
172
- gap: var(--base-size-96);
173
- }
165
+ gap: var(--base-size-36);
166
+ width: 100%;
167
+ max-width: 1176px;
168
+ padding-inline: var(--base-size-20);
169
+ padding-block: var(--base-size-40);
174
170
  }
175
171
 
176
172
  .Testimonial--variant-expressive .Testimonial__quoteWrapper {
177
173
  display: flex;
178
174
  flex-direction: column;
179
175
  align-items: flex-start;
180
- gap: var(--base-size-24);
181
- flex: 1 1 0;
176
+ gap: var(--base-size-36);
182
177
  min-width: 0;
183
178
  }
184
179
 
185
180
  .Testimonial--variant-expressive .Testimonial__media {
186
181
  flex-direction: column;
187
182
  align-items: flex-start;
188
- gap: var(--base-size-24);
183
+ gap: var(--base-size-28);
189
184
  margin-block-start: 0;
190
- flex: 0 0 auto;
185
+ width: 100%;
186
+ }
187
+
188
+ .Testimonial--variant-expressive .Testimonial-avatar {
189
+ width: var(--base-size-40);
190
+ height: var(--base-size-40);
191
191
  }
192
192
 
193
193
  .Testimonial--variant-expressive .Testimonial-caption {
194
194
  border-block-start: var(--brand-borderWidth-thin) solid var(--brand-color-border-default);
195
- padding-block-start: var(--base-size-24);
195
+ padding-block-start: var(--base-size-20);
196
196
  width: 100%;
197
- gap: var(--base-size-8);
197
+ gap: var(--base-size-6);
198
198
  }
199
199
 
200
200
  @media screen and (min-width: 48rem) {
201
+ .Testimonial--variant-expressive .Testimonial__quoteWrapper {
202
+ gap: var(--base-size-40);
203
+ }
204
+
201
205
  .Testimonial--variant-expressive .Testimonial__media {
202
- min-width: 240px;
203
- max-width: 320px;
206
+ width: 356px;
204
207
  }
205
208
  }
206
209
 
207
210
  .Testimonial--variant-expressive .Testimonial-from {
208
211
  display: flex;
209
212
  align-items: center;
210
- gap: var(--base-size-8);
213
+ gap: calc(var(--base-size-8) + var(--base-size-2));
211
214
  font-family: var(--brand-fontStack-monospace);
212
- font-weight: var(--base-text-weight-medium);
215
+ font-size: var(--brand-text-size-100);
216
+ font-weight: var(--brand-heading-weight-500);
217
+ line-height: var(--brand-text-lineHeight-100);
213
218
  text-transform: uppercase;
214
- letter-spacing: 0.01em;
219
+ letter-spacing: 0.0107em;
215
220
  }
216
221
 
217
222
  .Testimonial--variant-expressive .Testimonial-from::before {
218
223
  content: '';
219
224
  display: inline-block;
220
- width: 9px;
221
- height: 14px;
222
- background-color: var(--testimonial-accent-color, var(--brand-Testimonial-quoteMarkColor-default));
225
+ width: 0.5625rem;
226
+ height: 0.875rem;
227
+ background-color: var(--brand-color-text-emphasized);
223
228
  flex-shrink: 0;
224
229
  }
225
230
 
231
+ .Testimonial--variant-expressive .Testimonial-position {
232
+ font-size: var(--brand-text-size-200);
233
+ font-weight: var(--base-text-weight-normal);
234
+ line-height: 1.6;
235
+ letter-spacing: 0.01em;
236
+ }
237
+
226
238
  .Testimonial--variant-expressive .Testimonial__quoteMark {
227
239
  font-family: var(--brand-fontStack-monospace);
228
240
  font-weight: var(--brand-fontWeight-300);
@@ -238,14 +250,97 @@
238
250
 
239
251
  .Testimonial--variant-expressive .Testimonial-quote {
240
252
  font-family: var(--brand-fontStack-monospace);
241
- line-height: var(--brand-text-lineHeight-400);
242
- font-weight: var(--base-text-weight-normal);
253
+ font-size: 1.5rem;
254
+ font-weight: 425;
255
+ letter-spacing: -0.01em;
256
+ line-height: var(--brand-text-lineHeight-100);
257
+ -webkit-font-smoothing: antialiased;
258
+ -moz-osx-font-smoothing: grayscale;
259
+ }
260
+
261
+ @media screen and (min-width: 48rem) {
262
+ .Testimonial--variant-expressive {
263
+ max-width: 618px;
264
+ margin-inline: auto;
265
+ padding-inline: var(--base-size-36);
266
+ padding-block: var(--base-size-44);
267
+ }
268
+ .Testimonial--variant-expressive .Testimonial-quote {
269
+ font-size: 1.625rem;
270
+ letter-spacing: -0.02em;
271
+ }
272
+ }
273
+
274
+ @media screen and (min-width: 63.25rem) {
275
+ .Testimonial--variant-expressive {
276
+ display: grid;
277
+ grid-template-columns: minmax(0, 744px) 312px;
278
+ -moz-column-gap: calc(var(--base-size-96) + var(--base-size-24));
279
+ column-gap: calc(var(--base-size-96) + var(--base-size-24));
280
+ align-items: end;
281
+ max-width: 1176px;
282
+ margin-inline: auto;
283
+ padding-inline: var(--base-size-48);
284
+ padding-block: var(--base-size-88);
285
+ }
286
+
287
+ .Testimonial--variant-expressive.Testimonial--hasLink {
288
+ row-gap: var(--base-size-48);
289
+ }
290
+
291
+ .Testimonial--variant-expressive .Testimonial__quoteWrapper {
292
+ grid-column: 1;
293
+ grid-row: 1;
294
+ gap: var(--base-size-48);
295
+ }
296
+
297
+ .Testimonial--variant-expressive .Testimonial__media {
298
+ grid-column: 2;
299
+ grid-row: 1;
300
+ width: 312px;
301
+ gap: var(--base-size-32);
302
+ }
303
+
304
+ .Testimonial--variant-expressive.Testimonial--hasLink .Testimonial__media {
305
+ grid-row: 1 / span 2;
306
+ }
307
+
308
+ .Testimonial--variant-expressive .Testimonial-caption {
309
+ padding-block-start: var(--base-size-24);
310
+ }
311
+
312
+ .Testimonial--variant-expressive .Testimonial-quote {
313
+ font-size: var(--base-size-32);
314
+ }
315
+
316
+ .Testimonial--variant-expressive .Testimonial-link {
317
+ grid-column: 1;
318
+ grid-row: 2;
319
+ }
320
+ }
321
+
322
+ @media screen and (min-width: 80rem) {
323
+ .Testimonial--variant-expressive {
324
+ padding-inline: 0;
325
+ }
326
+
327
+ .Testimonial--variant-expressive .Testimonial-avatar {
328
+ width: var(--base-size-48);
329
+ height: var(--base-size-48);
330
+ }
243
331
  }
244
332
 
245
333
  .Testimonial-link {
246
334
  margin-top: var(--base-size-8);
247
335
  }
248
336
 
337
+ .Testimonial--variant-expressive .Testimonial-link {
338
+ align-self: flex-start;
339
+ width: -moz-fit-content;
340
+ width: fit-content;
341
+ margin-top: 0;
342
+ }
343
+
249
344
  .Testimonial__quoteMark--default {
250
345
  --brand-Testimonial-quoteMarkColor: var(--brand-Testimonial-quoteMarkColor-default);
251
346
  --brand-Testimonial-quoteMarkBackground: var(--brand-Testimonial-quoteMarkBackground-default);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/brand-css",
3
- "version": "0.72.1-rc.8a8dc720",
3
+ "version": "0.72.1-rc.9a6e1235",
4
4
  "description": "CSS stylesheets for Primer Brand components",
5
5
  "keywords": [
6
6
  "primer",