Skip to content

Commit fa0babe

Browse files
author
Damon Maneice
authored
Merge pull request #834 from github/damaneice/update-primer
Update primer to 7.0
2 parents 6e65642 + 86d2666 commit fa0babe

File tree

435 files changed

+19221
-3703
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

435 files changed

+19221
-3703
lines changed

_includes/footer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div class="col-12 col-sm-6 mb-4 col-border">
77
<div class="height-full p-5">
88
<img src="{{ "/assets/images/illos/squirrel.svg" | relative_url }}" class="little-illo mb-3" alt="squirrel illustration">
9-
<h3 class="alt-h3 mb-3">{{ t.footer.contribute.heading }}</h3>
9+
<h3 class="h3-mktg mb-3">{{ t.footer.contribute.heading }}</h3>
1010
<p class="mb-3 p-large">{{ t.footer.contribute.description }}</p>
1111
<p>
1212
<a data-proofer-ignore href="https://github.com/{{ site.github.repository_nwo }}/edit/master/{{ page.path }}" class="btn btn-outline">
@@ -21,7 +21,7 @@ <h3 class="alt-h3 mb-3">{{ t.footer.contribute.heading }}</h3>
2121
<form action="//github.us11.list-manage.com/subscribe/post?u=9d7ced8c4bbd6c2f238673f0f&amp;id=b514344ba3" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
2222
<div id="mc_embed_signup_scroll">
2323
<img src="{{ "/assets/images/illos/bird.svg" | relative_url }}" class="little-illo mb-3" alt="bird illustration">
24-
<h3 class="alt-h3 mb-3">{{ t.footer.subscribe.heading }}</h3>
24+
<h3 class="h3-mktg mb-3">{{ t.footer.subscribe.heading }}</h3>
2525
<p class="mb-3 p-large">{{ t.footer.subscribe.description }}</p>
2626

2727
<div class="mc-field-group col-12">

_layouts/article-alt.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<header class="article-alt-header bg-gray-light">
88
<div class="container-lg p-responsive mx-auto">
9-
<h1 class="alt-h1 lh-condensed text-center my-6 py-md-6">{{ page.title }}</h1>
9+
<h1 class="h1-mktg lh-condensed text-center my-6 py-md-6">{{ page.title }}</h1>
1010
<p class="lead text-center text-gray col-md-8 mx-auto mb-4 position-relative">{{ page.description }}</p>
1111
</div>
1212
</header>

_layouts/article.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
<header class="article-header {{ page.class }} bg-gray-light">
88
<div class="container-lg p-responsive clearfix mx-auto">
99

10-
<h1 class="alt-h1 lh-condensed text-center mb-3">{{ page.title }}</h1>
10+
<h1 class="h0-mktg lh-condensed text-center mb-3">{{ page.title }}</h1>
1111
<p class="lead text-center text-gray col-md-8 mx-auto mb-4 position-relative">{{ page.description }}</p>
1212
{% if page.lang == "en" %}
1313
<nav class="toc mb-4 mb-md-6">
14-
<div class="card col-sm-8 col-md-4 col-lg-3 mx-auto">
14+
<div class="Box col-sm-8 col-md-4 col-lg-3 mx-auto">
1515
<a class="toc-trigger d-block text-center p-3">
1616
<span class="text-black">{{ t.article.table_of_contents }}</span><svg height="18" class="octicon octicon-triangle-down ml-2 fill-blue v-align-middle icon-flip" viewBox="0 0 12 16" version="1.1" width="13" role="img"><path fill-rule="evenodd" d="M0 5l6 6 6-6z"></path></svg>
1717
</a>
@@ -36,27 +36,27 @@ <h1 class="alt-h1 lh-condensed text-center mb-3">{{ page.title }}</h1>
3636
{{ content }}
3737
</div>
3838
<div class="text-center pb-4">
39-
<a class="alt-h3" href="/{% if page.lang and page.lang != 'en' %}{{ page.lang | append: '/' }}{% endif %}">
39+
<a class="h3-mktg" href="/{% if page.lang and page.lang != 'en' %}{{ page.lang | append: '/' }}{% endif %}">
4040
{{ t.article.back_to_all_guides }}
4141
</a>
4242
</div>
4343
</article>
4444

4545
{% if page.related %}
4646
<div class="container-lg p-responsive mx-auto border-top text-center pt-5">
47-
<h2 class="alt-h2">{{ t.article.related_guides }}</h2>
47+
<h2 class="h2-mktg">{{ t.article.related_guides }}</h2>
4848
<div class="gutter-sm d-flex flex-wrap flex-items-stretch pb-md-6">
4949
{% for related in page.related %}
5050
{% assign article = site.articles | where: 'lang', page.lang | where: 'class', related | first %}
5151
<div class="col-12 col-sm-9 mx-auto col-md-6 mt-4 mt-lg-5">
52-
<a href="{{ article.url | relative_url }}" class="guide-cover {{ article.class }} card height-full d-block">
52+
<a href="{{ article.url | relative_url }}" class="guide-cover {{ article.class }} Box height-full d-block">
5353

5454
<div class="lh-none guide-cover-img text-center pt-4">
5555
<img src="{{ site.baseurl }}/assets/images/illos/{{ article.class }}.svg" class="" alt="{{ article.title }} illustration">
5656
</div>
5757

5858
<div class="flex-self-end p-4 text-center p-lg-5">
59-
<h3 class="alt-h3 text-bold lh-condensed mb-2 text-black">
59+
<h3 class="h3-mktg text-bold lh-condensed mb-2 text-black">
6060
{{ article.title }}
6161
</h3>
6262
<div class="mb-0 text-gray">

_layouts/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88

99
<header class="py-4 py-md-6">
1010
<div class="container-lg p-responsive mx-auto text-center pt-6">
11-
<h1 class="alt-h1">{{ site.title }}</h1>
12-
<p class="alt-lead text-gray mb-md-5 col-md-8 mx-auto">
11+
<h1 class="h00-mktg">{{ site.title }}</h1>
12+
<p class="lead-mktg text-gray mb-md-5 col-md-8 mx-auto">
1313
{{ t.index.lead }}
1414
</p>
15-
<p class="alt-lead" id="opensourcefriday" style="display:none">
15+
<p class="lead-mktg " id="opensourcefriday" style="display:none">
1616
{{ t.index.opensourcefriday }}:
1717
<a href='https://opensourcefriday.com'>opensourcefriday.com</a>
1818
</p>
@@ -25,14 +25,14 @@ <h1 class="alt-h1">{{ site.title }}</h1>
2525
{% for article in articles %}
2626
{% if article.layout != 'index' %}
2727
<div class="col-12 col-sm-9 mx-auto col-md-6 mt-4 mt-lg-5">
28-
<a href="{{ article.url | relative_url }}" class="guide-cover {{ article.class }} card height-full d-block">
28+
<a href="{{ article.url | relative_url }}" class="guide-cover {{ article.class }} Box height-full d-block">
2929

3030
<div class="lh-none guide-cover-img text-center pt-4">
3131
<img src="{{ site.baseurl }}/assets/images/illos/{{ article.class }}.svg" class="" alt="{{ article.title }} illustration">
3232
</div>
3333

3434
<div class="flex-self-end p-4 text-center p-lg-5">
35-
<h3 class="alt-h3 text-bold lh-condensed mb-2 text-black">
35+
<h3 class="h3-mktg text-bold lh-condensed mb-2 text-black">
3636
{{ article.title }}
3737
</h3>
3838
<div class="mb-0 text-gray">

assets/css/custom.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,13 @@ blockquote {
103103
h5,
104104
h6 {
105105
-webkit-font-smoothing: antialiased;
106-
font-family: $alt-body-font;
106+
font-family: $font-mktg
107107
}
108108

109-
h1 { @include alt-h1 }
109+
h1 { @include h0-mktg }
110110

111111
h3 {
112-
@include alt-h3;
112+
@include h2-mktg;
113113
margin-top: $spacer-4;
114114
margin-bottom: $spacer-3;
115115
@include breakpoint(md) {
@@ -132,7 +132,7 @@ blockquote {
132132
}
133133

134134
h2 {
135-
@include alt-h2;
135+
@include h1-mktg;
136136
text-align: center;
137137
margin-bottom: $spacer-3;
138138
line-height: 1.25;
@@ -237,7 +237,7 @@ blockquote {
237237

238238
*:lang(ko) {
239239
.lead,
240-
.alt-lead,
240+
.lead-mktg ,
241241
h2 + p {
242242
word-break: keep-all;
243243
}

node_modules/primer-base/CHANGELOG.md

Lines changed: 0 additions & 74 deletions
This file was deleted.

node_modules/primer-base/LICENSE

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/primer-base/README.md

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)