@primer/brand-css 0.60.1 → 0.61.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.
- package/components/CTABanner/CTABanner.css +1 -1
- package/components/ComparisonTable/ComparisonTable.css +1 -1
- package/components/EyebrowBanner/EyebrowBanner.css +1 -1
- package/components/FAQ/FAQ.css +2 -2
- package/components/Heading/Heading.css +8 -0
- package/components/Label/Label.css +1 -1
- package/components/Link/Link.css +5 -1
- package/components/Prose/Prose.css +6 -3
- package/components/SectionIntro/SectionIntro.css +1 -1
- package/components/SectionIntroStacked/SectionIntroStacked.css +1 -1
- package/components/SubNav/SubNav.css +2 -2
- package/components/SubdomainNavBar/SubdomainNavBar.css +6 -3
- package/components/Testimonial/Testimonial.css +1 -1
- package/components/forms/FormControl/FormControl.css +2 -2
- package/components/river/river-shared.css +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
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);
|
package/components/FAQ/FAQ.css
CHANGED
|
@@ -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-
|
|
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-
|
|
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);
|
package/components/Link/Link.css
CHANGED
|
@@ -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-
|
|
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-
|
|
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
|
-
|
|
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 {
|
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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);
|
|
@@ -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-
|
|
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-
|
|
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;
|