From 2800612905f42527d5c416d36a64047b84dcbf8b Mon Sep 17 00:00:00 2001 From: William Palmer Date: Mon, 20 Feb 2017 10:18:59 +0000 Subject: [PATCH 1/2] Add support for `theme-color` This is used in Chrome for Android, see: https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android See #277 --- source/views/layouts/govuk_template.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/views/layouts/govuk_template.html.erb b/source/views/layouts/govuk_template.html.erb index d27c4e42..8971f81d 100644 --- a/source/views/layouts/govuk_template.html.erb +++ b/source/views/layouts/govuk_template.html.erb @@ -23,6 +23,8 @@ "> "> + + "> From 3aa84c6dc19413b8af54e18ff94dc0d9e86d5be7 Mon Sep 17 00:00:00 2001 From: William Palmer Date: Mon, 20 Feb 2017 11:11:59 +0000 Subject: [PATCH 2/2] Add comments to indicate where the hard coded colours are from --- source/views/layouts/govuk_template.html.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/views/layouts/govuk_template.html.erb b/source/views/layouts/govuk_template.html.erb index 8971f81d..14ff682c 100644 --- a/source/views/layouts/govuk_template.html.erb +++ b/source/views/layouts/govuk_template.html.erb @@ -17,12 +17,16 @@ + <%# 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 %> "> "> "> "> + <%# 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 %>