Skip to content

Commit

Permalink
Merge pull request #278 from willp-bl/add_theme_colour
Browse files Browse the repository at this point in the history
Add support for `theme-color`
  • Loading branch information
NickColley authored Feb 20, 2017
2 parents 4eef852 + 3aa84c6 commit 052a7ae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/views/layouts/govuk_template.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,18 @@
<!--[if lt IE 9]><script src="<%= asset_path "ie.js" %>"></script><![endif]-->

<link rel="shortcut icon" href="<%= asset_path 'favicon.ico' %>" type="image/x-icon" />
<%# the colour used for mask-icon is the standard palette $black from
https://github.com/alphagov/govuk_frontend_toolkit/blob/master/stylesheets/colours/_palette.scss %>
<link rel="mask-icon" href="<%= asset_path 'gov.uk_logotype_crown.svg' %>" color="#0b0c0c">
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="<%= asset_path "apple-touch-icon-152x152.png" %>">
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="<%= asset_path "apple-touch-icon-120x120.png" %>">
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="<%= asset_path "apple-touch-icon-76x76.png" %>">
<link rel="apple-touch-icon-precomposed" href="<%= asset_path "apple-touch-icon-60x60.png" %>">

<%# the colour used for theme-color is the standard palette $black from
https://github.com/alphagov/govuk_frontend_toolkit/blob/master/stylesheets/colours/_palette.scss %>
<meta name="theme-color" content="#0b0c0c" />

<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:image" content="<%= asset_path "opengraph-image.png" %>">

Expand Down

0 comments on commit 052a7ae

Please sign in to comment.