@primer/brand-css 0.76.0-rc.73295f51 → 0.76.0-rc.b6b9d052
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.
|
@@ -270,7 +270,6 @@ details[open] > .Accordion__summary .Accordion__summary-toggleIcon {
|
|
|
270
270
|
}
|
|
271
271
|
|
|
272
272
|
.Accordion__content {
|
|
273
|
-
--brand-Accordion-content-offset: 0px; /* we reference this in JS */
|
|
274
273
|
overflow: hidden;
|
|
275
274
|
max-height: 0;
|
|
276
275
|
transition: max-height var(--brand-animation-duration-fast) var(--brand-animation-easing-glide);
|
|
@@ -278,14 +277,12 @@ details[open] > .Accordion__summary .Accordion__summary-toggleIcon {
|
|
|
278
277
|
}
|
|
279
278
|
|
|
280
279
|
.Accordion__content-inner {
|
|
281
|
-
transform: translateY(calc(-1 * var(--brand-Accordion-content-offset)));
|
|
282
280
|
opacity: 0;
|
|
283
281
|
transition: opacity var(--brand-animation-duration-fast) var(--brand-animation-easing-glide);
|
|
284
282
|
}
|
|
285
283
|
|
|
286
284
|
.Accordion--default > .Accordion__content {
|
|
287
|
-
|
|
288
|
-
top: calc(var(--base-size-4) * -1);
|
|
285
|
+
top: calc(var(--base-size-2) - var(--base-size-24));
|
|
289
286
|
}
|
|
290
287
|
|
|
291
288
|
.Accordion__summary--default + .Accordion__content > .Accordion__content-inner::before {
|
|
@@ -210,7 +210,6 @@
|
|
|
210
210
|
.Testimonial--variant-expressive .Testimonial-from {
|
|
211
211
|
display: flex;
|
|
212
212
|
align-items: center;
|
|
213
|
-
gap: calc(var(--base-size-8) + var(--base-size-2));
|
|
214
213
|
font-family: var(--brand-fontStack-monospace);
|
|
215
214
|
font-size: var(--brand-text-size-100);
|
|
216
215
|
font-weight: var(--brand-heading-weight-500);
|
|
@@ -219,15 +218,6 @@
|
|
|
219
218
|
letter-spacing: 0.0107em;
|
|
220
219
|
}
|
|
221
220
|
|
|
222
|
-
.Testimonial--variant-expressive .Testimonial-from::before {
|
|
223
|
-
content: '';
|
|
224
|
-
display: inline-block;
|
|
225
|
-
width: 0.5625rem;
|
|
226
|
-
height: 0.875rem;
|
|
227
|
-
background-color: var(--brand-color-text-emphasized);
|
|
228
|
-
flex-shrink: 0;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
221
|
.Testimonial--variant-expressive .Testimonial-position {
|
|
232
222
|
font-size: var(--brand-text-size-200);
|
|
233
223
|
font-weight: var(--base-text-weight-normal);
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
.TextCursorAnimation__content {
|
|
27
27
|
display: inline-flex;
|
|
28
28
|
align-items: center;
|
|
29
|
-
gap:
|
|
29
|
+
gap: var(--base-size-6);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.TextCursorAnimation__content--animated {
|
|
@@ -39,6 +39,8 @@
|
|
|
39
39
|
width: calc(var(--base-size-8) + var(--base-size-2) / 2);
|
|
40
40
|
height: calc(var(--base-size-12) + var(--base-size-2));
|
|
41
41
|
flex: 0 0 calc(var(--base-size-8) + var(--base-size-2) / 2);
|
|
42
|
+
position: relative;
|
|
43
|
+
top: -0.5px; /* optical adjustment*/
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
.TextCursorAnimation__cursor--initial {
|