dorsetdigital

https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android

Show 1 attachment(s)
Google Developers  
Support for theme-color in Chrome 39 for Android  |  Web

Use theme-color to set the toolbar color in Chrome for Android.

Hide attachment content
👍 (4) 😮 (1)
lerni

Probable you should do this in /site.webmanifest https://developers.google.com/web/updates/2015/08/using-manifest-to-set-sitewide-theme-color I've made a module (https://github.com/lerni/silverstripe-webmanifest) to generate, define it per yml or per SiteConfig with a ColorField.

Show 2 attachment(s)
Google Developers  
Using the web app manifest to specify a site wide theme color

Set a theme-color in the manifest and have it available to all pages on your site when launched from the home screen.

GitHub  
lerni/silverstripe-webmanifest

webmanifest for SilverStripe per YML and/or SiteConfig - lerni/silverstripe-webmanifest

Hide attachment content
Hels

Hi, does anyone know how to make your website set the colour of the top part of chrome?

Below is image of screen shots of various random websites I visited recently where some of the have changed the colour but most are white. It looks like something they are setting specifically as there doesn't seem to be any logic to the type of website & the specific colour seems to be linked to their brand identity.

rista

just copy/paste from themes folder to your theme and thats it

rista

it will generate lang folder in it with all the translates from themes (will generate from all themes if you have more than one, good for me since I have one)

👍 (1)
rista

(not sure if yml file needed but I created one with only name in it)

rista

make _config folder in your /themes folder