@primer/brand-css 0.60.1 → 0.61.0-rc.2a59128b

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.
@@ -72,7 +72,7 @@
72
72
  /* Large breakpoint and up */
73
73
  @media screen and (min-width: 63.25rem) {
74
74
  .CTABanner-content {
75
- gap: var(--base-size-32);
75
+ gap: var(--base-size-24);
76
76
  }
77
77
  .CTABanner-container {
78
78
  padding: var(--base-size-128) var(--base-size-64);
@@ -59,7 +59,7 @@
59
59
  }
60
60
 
61
61
  .ComparisonTable-cell-heading {
62
- font-weight: var(--base-text-weight-semibold);
62
+ font-weight: var(--base-text-weight-medium);
63
63
  font-size: var(--brand-text-size-200);
64
64
  line-height: var(--brand-text-lineHeight-200);
65
65
  }
@@ -57,7 +57,7 @@
57
57
  .EyebrowBanner__leadingLabel {
58
58
  display: flex;
59
59
  font-family: var(--brand-body-fontFamily);
60
- font-weight: var(--base-text-weight-bold);
60
+ font-weight: var(--base-text-weight-medium);
61
61
  font-size: var(--brand-EyebrowBanner-label-size);
62
62
  line-height: 1em; /* for optical alignment */
63
63
  letter-spacing: var(--brand-text-letterSpacing-200);
@@ -26,7 +26,7 @@
26
26
 
27
27
  .FAQ__heading--large {
28
28
  /*Visual appearance as a h2*/
29
- font-weight: var(--brand-text-weight-800);
29
+ font-weight: var(--brand-text-weight-normal);
30
30
  font-size: var(--brand-text-size-800);
31
31
  line-height: var(--brand-text-lineHeight-800);
32
32
  letter-spacing: var(--brand-text-letterSpacing-800);
@@ -37,7 +37,7 @@
37
37
  }
38
38
 
39
39
  .FAQ.details__summary {
40
- font-weight: var(--brand-text-weight-800);
40
+ font-weight: var(--brand-text-weight-normal);
41
41
  font-size: var(--brand-text-size-800);
42
42
  line-height: var(--brand-text-lineHeight-800);
43
43
  letter-spacing: var(--brand-text-letterSpacing-800);
@@ -3,6 +3,14 @@
3
3
  color: var(--brand-color-text-default);
4
4
  }
5
5
 
6
+ .Heading--textWrap-balance {
7
+ text-wrap: balance;
8
+ }
9
+
10
+ .Heading--textWrap-wrap {
11
+ text-wrap: wrap;
12
+ }
13
+
6
14
  .Heading-font--hubot-sans {
7
15
  --condensed-stretch: 90%;
8
16
  }
@@ -189,7 +189,7 @@
189
189
  }
190
190
 
191
191
  .Label__label {
192
- font-weight: var(--base-text-weight-semibold);
192
+ font-weight: var(--base-text-weight-medium);
193
193
  line-height: inherit;
194
194
  }
195
195
 
@@ -15,6 +15,10 @@
15
15
  .Link--arrow-end {
16
16
  --gap: var(--base-size-4);
17
17
  --arrow-size: var(--base-size-16);
18
+
19
+ /* Optical alignment */
20
+ position: relative;
21
+ top: 0.05em;
18
22
  }
19
23
 
20
24
  .Link--arrow-start.Link--large,
@@ -74,7 +78,7 @@
74
78
  }
75
79
 
76
80
  .Link--label {
77
- font-weight: var(--base-text-weight-semibold);
81
+ font-weight: var(--base-text-weight-medium);
78
82
  }
79
83
 
80
84
  .Link--large .Link--label {
@@ -93,7 +93,7 @@
93
93
 
94
94
  .Prose h4 {
95
95
  --spacing: var(--base-size-48);
96
- font-weight: var(--brand-text-weight-350);
96
+ font-weight: var(--brand-heading-weight-400);
97
97
  font-size: var(--brand-text-size-300);
98
98
  line-height: var(--brand-text-lineHeight-300);
99
99
  font-family: var(--brand-heading-fontFamily);
@@ -173,8 +173,11 @@
173
173
  /* 7. Inline elements */
174
174
  /* ---------------------------------------------------------- */
175
175
 
176
- .Prose strong {
177
- font-weight: var(--brand-text-weight-800);
176
+ .Prose strong,
177
+ .Prose b {
178
+ font-weight: var(
179
+ --brand-text-weight-heavy
180
+ ) !important; /* Overrides Primer product styles in dotcom. Should compute to 550 */
178
181
  }
179
182
 
180
183
  .Prose em {
@@ -28,7 +28,7 @@
28
28
  }
29
29
 
30
30
  .SectionIntro-heading {
31
- max-width: 18ch;
31
+ max-width: 24ch;
32
32
  }
33
33
 
34
34
  .SectionIntro--full-width .SectionIntro-heading {
@@ -13,7 +13,7 @@
13
13
  .SectionIntroStackedItem__item-text b {
14
14
  color: var(--brand-color-text-default);
15
15
  font-style: normal;
16
- font-weight: var(--base-text-weight-semibold);
16
+ font-weight: var(--base-text-weight-normal);
17
17
  }
18
18
 
19
19
  .SectionIntroStacked--full-width .SectionIntroStacked-heading {
@@ -23,7 +23,7 @@
23
23
 
24
24
  .SubNav__heading {
25
25
  display: block;
26
- font-weight: var(--base-text-weight-semibold);
26
+ font-weight: var(--base-text-weight-medium);
27
27
  color: var(--brand-color-text-default);
28
28
  font-family: var(--brand-heading-fontFamily);
29
29
  text-decoration: none;
@@ -423,7 +423,7 @@
423
423
 
424
424
  .SubNav__link-label {
425
425
  font-size: var(--brand-text-size-200);
426
- font-weight: var(--base-text-weight-semibold);
426
+ font-weight: var(--base-text-weight-medium);
427
427
  padding-block-end: var(--base-size-6);
428
428
  }
429
429
 
@@ -92,7 +92,7 @@
92
92
 
93
93
  .SubdomainNavBar-title-separator {
94
94
  color: var(--brand-color-text-muted);
95
- font-weight: var(--base-text-weight-semibold);
95
+ font-weight: var(--base-text-weight-normal);
96
96
  font-size: var(--base-size-32);
97
97
  line-height: 29px;
98
98
  }
@@ -107,6 +107,9 @@
107
107
  text-decoration: none;
108
108
  padding-right: var(--base-size-16);
109
109
  white-space: nowrap;
110
+ /* Optical alignment with logo */
111
+ position: relative;
112
+ top: 1px;
110
113
  }
111
114
 
112
115
  .SubdomainNavBar-title:hover {
@@ -270,14 +273,14 @@
270
273
  }
271
274
 
272
275
  .SubdomainNavBar-link--title {
273
- font-weight: var(--base-text-weight-bold);
276
+ font-weight: var(--base-text-weight-medium);
274
277
  }
275
278
  }
276
279
 
277
280
  @media screen and (min-width: 48rem) {
278
281
  .SubdomainNavBar-link {
279
282
  font-family: var(--brand-heading-fontFamily);
280
- font-weight: var(--base-text-weight-semibold);
283
+ font-weight: var(--base-text-weight-normal);
281
284
  font-size: var(--base-size-16);
282
285
  line-height: var(--base-size-16);
283
286
  padding: var(--base-size-16) var(--base-size-16);
@@ -139,7 +139,7 @@
139
139
  }
140
140
 
141
141
  .Testimonial-from {
142
- font-weight: var(--base-text-weight-semibold);
142
+ font-weight: var(--base-text-weight-normal);
143
143
  }
144
144
 
145
145
  .Testimonial-position {
@@ -22,7 +22,7 @@
22
22
 
23
23
  .FormControl-label {
24
24
  color: var(--brand-color-text-default);
25
- font-weight: var(--base-text-weight-semibold);
25
+ font-weight: var(--base-text-weight-medium);
26
26
  font-family: var(--brand-body-fontFamily);
27
27
  }
28
28
 
@@ -53,7 +53,7 @@
53
53
  .FormControl-label--checkbox {
54
54
  cursor: pointer;
55
55
  font-size: var(--brand-text-size-100);
56
- font-weight: var(--base-text-weight-semibold);
56
+ font-weight: var(--base-text-weight-medium);
57
57
  line-height: var(--base-size-24); /* FIXME */
58
58
  position: relative;
59
59
  top: 2px;
@@ -42,7 +42,7 @@
42
42
 
43
43
  .River__text strong,
44
44
  .River__text b {
45
- font-weight: var(--base-text-weight-semibold);
45
+ font-weight: var(--base-text-weight-normal);
46
46
  color: var(--brand-color-text-default);
47
47
  }
48
48
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/brand-css",
3
- "version": "0.60.1",
3
+ "version": "0.61.0-rc.2a59128b",
4
4
  "description": "CSS stylesheets for Primer Brand components",
5
5
  "keywords": [
6
6
  "primer",