@primer/brand-css 0.0.0-20250212132611
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/Accordion/Accordion.css +305 -0
- package/components/ActionMenu/ActionMenu.css +187 -0
- package/components/AnchorNav/AnchorNav.css +427 -0
- package/components/Avatar/Avatar.css +115 -0
- package/components/Bento/Bento.css +2157 -0
- package/components/Box/Box.css +2795 -0
- package/components/Box/Box.features.css +48 -0
- package/components/Breadcrumbs/Breadcrumbs.css +81 -0
- package/components/BreakoutBanner/BreakoutBanner.css +109 -0
- package/components/Button/Button.css +207 -0
- package/components/ButtonGroup/ButtonGroup.css +10 -0
- package/components/CTABanner/CTABanner.css +104 -0
- package/components/CTAForm/CTAForm.css +48 -0
- package/components/Card/Card.css +183 -0
- package/components/ComparisonTable/ComparisonTable.css +290 -0
- package/components/ExpandableArrow/ExpandableArrow.css +26 -0
- package/components/EyebrowBanner/EyebrowBanner.css +320 -0
- package/components/FAQ/FAQ.css +51 -0
- package/components/FAQ/FAQGroup.css +51 -0
- package/components/Footnotes/Footnotes.css +35 -0
- package/components/FrostedGlassVFX/FrostedGlassVFX.css +50 -0
- package/components/Grid/Grid.css +741 -0
- package/components/Heading/Heading.css +284 -0
- package/components/Hero/Hero.css +87 -0
- package/components/IDE/IDE.css +392 -0
- package/components/Icon/Icon.css +121 -0
- package/components/Image/Image.css +54 -0
- package/components/InlineLink/InlineLink.css +30 -0
- package/components/Label/Label.css +167 -0
- package/components/Link/Link.css +84 -0
- package/components/LogoSuite/LogoSuite.css +165 -0
- package/components/MinimalFooter/MinimalFooter.css +116 -0
- package/components/MonaSans/MonaSans.css +4 -0
- package/components/Pagination/Pagination.css +117 -0
- package/components/Pillar/Pillar.css +106 -0
- package/components/PricingOptions/PricingOptions.css +357 -0
- package/components/Prose/Prose.css +332 -0
- package/components/Section/Section.css +156 -0
- package/components/Section/Section.features.css +33 -0
- package/components/SectionIntro/SectionIntro.css +48 -0
- package/components/Stack/Stack.css +793 -0
- package/components/Statistic/Statistic.css +91 -0
- package/components/SubNav/SubNav.css +678 -0
- package/components/SubdomainNavBar/SubdomainNavBar.css +728 -0
- package/components/Testimonial/Testimonial.css +228 -0
- package/components/Text/Text.css +195 -0
- package/components/Timeline/Timeline.css +79 -0
- package/components/Tooltip/Tooltip.css +170 -0
- package/components/VideoPlayer/VideoPlayer.css +348 -0
- package/components/VideoPlayer/components/Captions/Captions.css +17 -0
- package/components/VideoPlayer/components/VolumeControl/VolumeControl.css +3 -0
- package/components/animation/Animation.css +192 -0
- package/components/animation/TextRevealAnimation/TextRevealAnimation.css +38 -0
- package/components/forms/Checkbox/Checkbox.css +88 -0
- package/components/forms/ControlGroup/ControlGroup.css +59 -0
- package/components/forms/FormControl/FormControl.css +113 -0
- package/components/forms/Radio/Radio.css +111 -0
- package/components/forms/Select/Select.css +143 -0
- package/components/forms/TextInput/TextInput.css +266 -0
- package/components/forms/Textarea/Textarea.css +129 -0
- package/components/list/ListItem/ListItem.css +29 -0
- package/components/list/OrderedList/OrderedList.css +3 -0
- package/components/list/list-shared.css +10 -0
- package/components/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOne.css +204 -0
- package/components/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/FeaturePreviewLevelTwo.css +57 -0
- package/components/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/FeaturePreviewLevelZero.css +3 -0
- package/components/recipes/SolutionTemplates/CategoryPage/CategoryPage.css +83 -0
- package/components/recipes/SolutionTemplates/SolutionPage/SolutionPage.css +119 -0
- package/components/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.css +35 -0
- package/components/recipes/SolutionTemplates/parallax.css +165 -0
- package/components/recipes/seo/Article/Article.css +289 -0
- package/components/recipes/seo/Category/CategoryPage.css +43 -0
- package/components/river/RiverStoryScroll/RiverStoryScroll.css +470 -0
- package/components/river/river-shared.css +205 -0
- package/package.json +42 -0
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
.Heading {
|
|
2
|
+
--condensed-stretch: 75%;
|
|
3
|
+
color: var(--brand-color-text-default);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.Heading-font--hubot-sans {
|
|
7
|
+
--condensed-stretch: 90%;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
[data-color-mode='dark'] .Heading {
|
|
11
|
+
-webkit-font-smoothing: antialiased;
|
|
12
|
+
-moz-osx-font-smoothing: grayscale;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.Heading-font--mona-sans {
|
|
16
|
+
font-family: var(--brand-heading-fontFamily);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.Heading-font--hubot-sans {
|
|
20
|
+
font-family: var(--brand-heading-fontFamilyAlt);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.Heading-font--monospace {
|
|
24
|
+
font-family: var(--brand-fontStack-monospace);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.Heading--display {
|
|
28
|
+
font-weight: var(--brand-heading-weight-1000);
|
|
29
|
+
font-size: var(--brand-text-size-1000);
|
|
30
|
+
line-height: var(--brand-text-lineHeight-1000);
|
|
31
|
+
letter-spacing: var(--brand-text-letterSpacing-1000);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.Heading--subhead-large {
|
|
35
|
+
font-weight: var(--brand-text-subhead-weight-large);
|
|
36
|
+
font-size: var(--brand-text-subhead-size-large);
|
|
37
|
+
line-height: var(--brand-text-subhead-lineHeight-large);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.Heading--subhead-medium {
|
|
41
|
+
font-weight: var(--brand-text-subhead-weight-medium);
|
|
42
|
+
font-size: var(--brand-text-subhead-size-medium);
|
|
43
|
+
line-height: var(--brand-text-subhead-lineHeight-medium);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.Heading--1 {
|
|
47
|
+
font-weight: var(--brand-heading-weight-900);
|
|
48
|
+
font-size: var(--brand-text-size-900);
|
|
49
|
+
line-height: var(--brand-text-lineHeight-900);
|
|
50
|
+
letter-spacing: var(--brand-text-letterSpacing-900);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.Heading--2 {
|
|
54
|
+
font-weight: var(--brand-heading-weight-800);
|
|
55
|
+
font-size: var(--brand-text-size-800);
|
|
56
|
+
line-height: var(--brand-text-lineHeight-800);
|
|
57
|
+
letter-spacing: var(--brand-text-letterSpacing-800);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.Heading--3 {
|
|
61
|
+
font-weight: var(--brand-heading-weight-700);
|
|
62
|
+
font-size: var(--brand-text-size-700);
|
|
63
|
+
line-height: var(--brand-heading-lineHeight-700);
|
|
64
|
+
letter-spacing: var(--brand-heading-letterSpacing-700);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.Heading--4 {
|
|
68
|
+
font-weight: var(--brand-heading-weight-600);
|
|
69
|
+
font-size: var(--brand-text-size-600);
|
|
70
|
+
line-height: var(--brand-text-lineHeight-600);
|
|
71
|
+
letter-spacing: var(--brand-heading-letterSpacing-600);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.Heading--5 {
|
|
75
|
+
font-weight: var(--brand-heading-weight-500);
|
|
76
|
+
font-size: var(--brand-text-size-500);
|
|
77
|
+
line-height: var(--brand-text-lineHeight-500);
|
|
78
|
+
letter-spacing: var(--brand-heading-letterSpacing-500);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.Heading--6 {
|
|
82
|
+
font-weight: var(--brand-heading-weight-400);
|
|
83
|
+
font-size: var(--brand-text-size-400);
|
|
84
|
+
line-height: var(--brand-text-lineHeight-400);
|
|
85
|
+
letter-spacing: var(--brand-heading-letterSpacing-400);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.Heading--weight-heavy,
|
|
89
|
+
.Heading-narrow--weight-heavy {
|
|
90
|
+
font-weight: var(--base-text-weight-heavy);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.Heading--weight-extrabold,
|
|
94
|
+
.Heading-narrow--weight-extrabold {
|
|
95
|
+
font-weight: var(--base-text-weight-extrabold);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.Heading--weight-bold,
|
|
99
|
+
.Heading-narrow--weight-bold {
|
|
100
|
+
font-weight: var(--base-text-weight-bold);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.Heading--weight-semibold,
|
|
104
|
+
.Heading-narrow--weight-semibold {
|
|
105
|
+
font-weight: var(--base-text-weight-semibold);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.Heading--weight-medium,
|
|
109
|
+
.Heading-narrow--weight-medium {
|
|
110
|
+
font-weight: var(--base-text-weight-medium);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.Heading--weight-normal,
|
|
114
|
+
.Heading-narrow--weight-normal {
|
|
115
|
+
font-weight: var(--base-text-weight-normal);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.Heading--weight-light,
|
|
119
|
+
.Heading-narrow--weight-light {
|
|
120
|
+
font-weight: var(--base-text-weight-light);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.Heading--weight-extralight,
|
|
124
|
+
.Heading-narrow--weight-extralight {
|
|
125
|
+
font-weight: var(--base-text-weight-extralight);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
@media screen and (min-width: 48rem) {
|
|
129
|
+
.Heading-regular--weight-heavy {
|
|
130
|
+
font-weight: var(--base-text-weight-heavy);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.Heading-regular--weight-extrabold {
|
|
134
|
+
font-weight: var(--base-text-weight-extrabold);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.Heading-regular--weight-bold {
|
|
138
|
+
font-weight: var(--base-text-weight-bold);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.Heading-regular--weight-semibold {
|
|
142
|
+
font-weight: var(--base-text-weight-semibold);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.Heading-regular--weight-medium {
|
|
146
|
+
font-weight: var(--base-text-weight-medium);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.Heading-regular--weight-normal {
|
|
150
|
+
font-weight: var(--base-text-weight-normal);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.Heading-regular--weight-light {
|
|
154
|
+
font-weight: var(--base-text-weight-light);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.Heading-regular--weight-extralight {
|
|
158
|
+
font-weight: var(--base-text-weight-extralight);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
@media screen and (min-width: 80rem) {
|
|
163
|
+
.Heading-wide--weight-heavy {
|
|
164
|
+
font-weight: var(--base-text-weight-heavy);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.Heading-wide--weight-extrabold {
|
|
168
|
+
font-weight: var(--base-text-weight-extrabold);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.Heading-wide--weight-bold {
|
|
172
|
+
font-weight: var(--base-text-weight-bold);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.Heading-wide--weight-semibold {
|
|
176
|
+
font-weight: var(--base-text-weight-semibold);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.Heading-wide--weight-medium {
|
|
180
|
+
font-weight: var(--base-text-weight-medium);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.Heading-wide--weight-normal {
|
|
184
|
+
font-weight: var(--base-text-weight-normal);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.Heading-wide--weight-light {
|
|
188
|
+
font-weight: var(--base-text-weight-light);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Heading widths
|
|
194
|
+
*/
|
|
195
|
+
|
|
196
|
+
.Heading--stretch-condensed,
|
|
197
|
+
.Heading-narrow--stretch-condensed {
|
|
198
|
+
font-stretch: var(--condensed-stretch);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.Heading--stretch-normal,
|
|
202
|
+
.Heading-narrow--stretch-normal {
|
|
203
|
+
font-stretch: 100%;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.Heading--stretch-expanded,
|
|
207
|
+
.Heading-narrow--stretch-expanded {
|
|
208
|
+
font-stretch: 125%;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
@media screen and (min-width: 48rem) {
|
|
212
|
+
.Heading-regular--stretch-condensed {
|
|
213
|
+
font-stretch: var(--condensed-stretch);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.Heading-regular--stretch-normal {
|
|
217
|
+
font-stretch: 100%;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.Heading-regular--stretch-expanded {
|
|
221
|
+
font-stretch: 125%;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
@media screen and (min-width: 80rem) {
|
|
226
|
+
.Heading-narrow--weight-expanded .Heading-wide--stretch-condensed {
|
|
227
|
+
font-stretch: var(--condensed-stretch);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.Heading-wide--stretch-normal {
|
|
231
|
+
font-stretch: 100%;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.Heading-wide--stretch-expanded {
|
|
235
|
+
font-stretch: 125%;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Heading letter spacing
|
|
241
|
+
*/
|
|
242
|
+
|
|
243
|
+
.Heading--letter-spacing-condensed,
|
|
244
|
+
.Heading-narrow--letter-spacing-condensed {
|
|
245
|
+
letter-spacing: var(--brand-text-letterSpacing-900);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.Heading--letter-spacing-normal,
|
|
249
|
+
.Heading-narrow--letter-spacing-normal {
|
|
250
|
+
letter-spacing: var(--brand-heading-letterSpacing-700);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.Heading--letter-spacing-none,
|
|
254
|
+
.Heading-narrow--letter-spacing-none {
|
|
255
|
+
letter-spacing: 0;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
@media screen and (min-width: 48rem) {
|
|
259
|
+
.Heading-regular--letter-spacing-condensed {
|
|
260
|
+
letter-spacing: var(--brand-text-letterSpacing-900);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.Heading-regular--letter-spacing-normal {
|
|
264
|
+
letter-spacing: var(--brand-heading-letterSpacing-700);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.Heading-regular--letter-spacing-none {
|
|
268
|
+
letter-spacing: 0;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
@media screen and (min-width: 80rem) {
|
|
273
|
+
.Heading-narrow--weight-wide .Heading-wide--letter-spacing-condensed {
|
|
274
|
+
letter-spacing: var(--brand-text-letterSpacing-900);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.Heading-wide--letter-spacing-normal {
|
|
278
|
+
letter-spacing: var(--brand-heading-letterSpacing-700);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.Heading-wide--letter-spacing-none {
|
|
282
|
+
letter-spacing: 0;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
.Hero {
|
|
2
|
+
padding: var(--brand-Hero-narrow-padding);
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.Hero--align-start {
|
|
8
|
+
align-items: flex-start;
|
|
9
|
+
text-align: left;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.Hero--align-center {
|
|
13
|
+
justify-items: center;
|
|
14
|
+
align-items: center;
|
|
15
|
+
text-align: center;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.Hero-grid {
|
|
19
|
+
--brand-Grid-spacing-margin: 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.Hero-grid--block-end,
|
|
23
|
+
.Hero-grid--inline-end {
|
|
24
|
+
--brand-Grid-spacing-row: var(--base-size-40);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@media screen and (min-width: 48rem) {
|
|
28
|
+
.Hero-grid--block-end {
|
|
29
|
+
--brand-Grid-spacing-row: var(--base-size-80);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.Hero--align-center .Hero-actions {
|
|
34
|
+
justify-content: center;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.Hero--align-center .Hero-content {
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
align-items: center;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.Hero-image {
|
|
44
|
+
border-radius: var(--brand-borderRadius-large);
|
|
45
|
+
width: 100%;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.Hero-label {
|
|
49
|
+
margin-block-end: var(--base-size-24);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.Hero-heading {
|
|
53
|
+
margin: 0;
|
|
54
|
+
max-width: 924px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.Hero-heading--fullWidth {
|
|
58
|
+
max-width: unset;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.Hero-description {
|
|
62
|
+
margin: var(--base-size-24) 0 0;
|
|
63
|
+
max-width: 600px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.Hero-actions {
|
|
67
|
+
margin-block-start: var(--base-size-32);
|
|
68
|
+
display: flex;
|
|
69
|
+
align-items: center;
|
|
70
|
+
flex-wrap: wrap;
|
|
71
|
+
gap: var(--base-size-8) var(--base-size-16);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.Hero-trailing {
|
|
75
|
+
margin-block-start: var(--base-size-32);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.Hero-eyebrow {
|
|
79
|
+
margin-block-end: var(--base-size-32);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/* Small breakpoint and up */
|
|
83
|
+
@media screen and (min-width: 34rem) {
|
|
84
|
+
.Hero {
|
|
85
|
+
padding: var(--brand-Hero-regular-padding);
|
|
86
|
+
}
|
|
87
|
+
}
|