* Upgrade primer to 16 * Upgrade colors in scss * Get SCSS to build * Initial dark mode support * trashcan -> trash * More specific search browser test * Fix link color on homepage * Update overrides.scss * Upgrade some colors to primer variables * Hide dark mode support for now * Apply suggestions from code review * Update overrides.scss
17 lines
936 B
HTML
17 lines
936 B
HTML
{% unless enterpriseServerReleases.isOldestReleaseDeprecated and currentVersion contains enterpriseServerReleases.oldestSupported %}
|
|
<div class="f5 contribution">
|
|
<h2 class="f4">{% data ui.contribution_cta.title %}</h2>
|
|
<p class="color-text-secondary f6">{% data ui.contribution_cta.body %}</p>
|
|
{% if page.relativePath %}
|
|
{% assign contribution_href = "https://github.com/github/docs/edit/main/content/" | append: page.relativePath %}
|
|
{% else %}
|
|
{% assign contribution_href = "https://github.com/github/docs" %}
|
|
{% endif %}
|
|
<a class="btn btn-outline" href="{{ contribution_href }}">
|
|
{% octicon "git-pull-request" height="16" %}
|
|
{% data ui.contribution_cta.button %}
|
|
</a>
|
|
<p class="color-text-secondary f6 mt-2">{% data ui.contribution_cta.or %} <a href="https://github.com/github/docs/blob/main/CONTRIBUTING.md" target="_blank">{% data ui.contribution_cta.to_guidelines %}</a></p>
|
|
</div>
|
|
{% endunless %}
|