@primer/brand-css 0.58.1 → 0.58.2-rc.72bf7a8f

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.
@@ -8,18 +8,15 @@
8
8
  }
9
9
 
10
10
  .FrostedGlassVFX--intensity-low {
11
- -webkit-backdrop-filter: blur(var(--brand-FrostedGlassVFX-blurIntensity-low));
12
- backdrop-filter: blur(var(--brand-FrostedGlassVFX-blurIntensity-low));
11
+ backdrop-filter: blur(var(--brand-FrostedGlassVFX-blurIntensity-low));
13
12
  }
14
13
 
15
14
  .FrostedGlassVFX--intensity-medium {
16
- -webkit-backdrop-filter: blur(var(--brand-FrostedGlassVFX-blurIntensity-medium));
17
- backdrop-filter: blur(var(--brand-FrostedGlassVFX-blurIntensity-medium));
15
+ backdrop-filter: blur(var(--brand-FrostedGlassVFX-blurIntensity-medium));
18
16
  }
19
17
 
20
18
  .FrostedGlassVFX--intensity-high {
21
- -webkit-backdrop-filter: blur(var(--brand-FrostedGlassVFX-blurIntensity-high));
22
- backdrop-filter: blur(var(--brand-FrostedGlassVFX-blurIntensity-high));
19
+ backdrop-filter: blur(var(--brand-FrostedGlassVFX-blurIntensity-high));
23
20
  }
24
21
 
25
22
  .FrostedGlassVFX::before {
@@ -5,8 +5,7 @@
5
5
  }
6
6
 
7
7
  .IDE--glass {
8
- -webkit-backdrop-filter: blur(var(--base-size-12));
9
- backdrop-filter: blur(var(--base-size-12));
8
+ backdrop-filter: blur(var(--base-size-12));
10
9
  }
11
10
 
12
11
  .IDE--glass .IDE__inner {
@@ -365,6 +365,9 @@
365
365
  /* ---------------------------------------------------------- */
366
366
 
367
367
  .PricingOptions__feature-list {
368
+ --feature-list-font-size: var(--brand-text-size-200);
369
+ --feature-list-line-height: var(--brand-text-lineHeight-200);
370
+
368
371
  display: flex;
369
372
  flex-direction: column;
370
373
  gap: var(--base-size-8);
@@ -400,6 +403,21 @@
400
403
  margin-block-start: var(--base-size-20);
401
404
  }
402
405
 
406
+ .PricingOptions__feature-list-item,
407
+ .PricingOptions__feature-list-item span {
408
+ font-size: var(--feature-list-font-size) !important;
409
+ line-height: var(--feature-list-line-height) !important;
410
+ }
411
+
412
+ .PricingOptions__feature-list-group-heading {
413
+ font-size: var(--feature-list-font-size) !important;
414
+ }
415
+
416
+ .PricingOptions--items4 .PricingOptions__feature-list {
417
+ --feature-list-font-size: var(--brand-text-size-100);
418
+ --feature-list-line-height: var(--brand-text-lineHeight-100);
419
+ }
420
+
403
421
  /*
404
422
  * Accordion component overrides
405
423
  */
@@ -425,8 +443,8 @@
425
443
 
426
444
  /* Accordion heading styling */
427
445
  .PricingOptions__feature-list-accordion .PricingOptions__feature-list-accordion-heading :is(h1, h2, h3, h4, h5, h6) {
428
- font-size: var(--brand-text-size-200);
429
- line-height: var(--brand-text-lineHeight-200);
446
+ font-size: var(--feature-list-font-size);
447
+ line-height: var(--feature-list-line-height);
430
448
  gap: var(--base-size-8);
431
449
  display: inline-flex;
432
450
  align-items: center;
@@ -75,6 +75,24 @@
75
75
 
76
76
  .Statistic__heading {
77
77
  font-stretch: 75%;
78
+ position: relative;
79
+ }
80
+
81
+ .Statistic__heading sup {
82
+ font-size: var(--brand-text-size-100);
83
+ line-height: 0;
84
+ font-weight: var(--brand-text-weight-100);
85
+ font-stretch: normal;
86
+ vertical-align: top;
87
+ top: var(--base-size-6); /* Optical align to heading top */
88
+ position: relative;
89
+ }
90
+
91
+ .Statistic__heading sup a {
92
+ /* Targets footnote links. Specificity not ideal, but these are passed through by the user */
93
+ padding: var(--base-size-4);
94
+ display: inline-block;
95
+ line-height: 1;
78
96
  }
79
97
 
80
98
  /*
@@ -85,7 +103,23 @@
85
103
  }
86
104
 
87
105
  .Statistic__description {
106
+ position: relative;
88
107
  display: block;
89
108
  margin-block-start: var(--base-size-8);
90
109
  font-stretch: normal;
91
110
  }
111
+
112
+ .Statistic__description sup {
113
+ font-size: var(--brand-text-size-100);
114
+ vertical-align: top;
115
+ top: 0;
116
+ position: relative;
117
+ line-height: 0;
118
+ }
119
+
120
+ .Statistic__description sup a {
121
+ /* Targets footnote links. Specificity not ideal, but these are passed through by the user */
122
+ padding: var(--base-size-4);
123
+ display: inline-block;
124
+ line-height: 1;
125
+ }
@@ -6,7 +6,6 @@
6
6
  z-index: 90;
7
7
  font-weight: 550;
8
8
  background: var(--brand-SubdomainNavBar-canvas-default);
9
- -webkit-backdrop-filter: blur(16px);
10
9
  backdrop-filter: blur(16px);
11
10
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
12
11
  transition: background-color var(--brand-animation-duration-fast) var(--brand-animation-easing-default),
@@ -561,7 +560,6 @@
561
560
  left: 0;
562
561
  right: 0;
563
562
  background: var(--brand-SubdomainNavBar-canvas-search);
564
- -webkit-backdrop-filter: blur(100px);
565
563
  backdrop-filter: blur(100px);
566
564
  height: 100vh;
567
565
  width: 100vw;
@@ -589,7 +587,6 @@
589
587
  .SubdomainNavBar-search-dialog-control-area {
590
588
  height: 74px;
591
589
  background: var(--brand-SubdomainNavBar-canvas-default);
592
- -webkit-backdrop-filter: blur(16px);
593
590
  backdrop-filter: blur(16px);
594
591
  padding: var(--base-size-12) var(--base-size-28);
595
592
  display: flex;
@@ -13,7 +13,7 @@
13
13
  }
14
14
 
15
15
  .ListItem__leading-visual {
16
- margin: var(--base-size-4) 0;
16
+ height: 1lh;
17
17
  }
18
18
 
19
19
  .ListItem__leading-visual--muted {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/brand-css",
3
- "version": "0.58.1",
3
+ "version": "0.58.2-rc.72bf7a8f",
4
4
  "description": "CSS stylesheets for Primer Brand components",
5
5
  "keywords": [
6
6
  "primer",