Skip to content

Commit 4f35b56

Browse files
authored
Set theme-color to Hypernode primary color
On mobile devices, the [theme-color meta tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name/theme-color) makes the browser take on the specified theme color for certain elements (like the url bar etc). Primary color was sourced from `docs/_static/scss/colors.scss`.
1 parent 309d47d commit 4f35b56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/_templates/layout.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<meta charset="utf-8" />
2020
{{- metatags }}
2121
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
22+
<meta name="theme-color" content="#063b67" />
2223
{%- block htmltitle %}
2324
<title>{{ title|striptags|e }}{{ titlesuffix }}</title>
2425
{%- endblock -%}

0 commit comments

Comments
 (0)