Closed gruenheit closed 7 years ago
Hi kalvn, since I installed your theme today I tried to track down the source of the meta header
<meta name="theme-color" content="#2196f3">
Although I configured "MATERIAL_COLOR": "#669900" in data/config.json.php as in (Customization)! I found this in includes.html
{if="$conf->get('config.THEME_COLOR')"} {$themeColor=$conf->get('config.THEME_COLOR')} <meta name="theme-color" content="{$themeColor}"> {else} <meta name="theme-color" content="#2196f3"> {/if}
It works as intended when I change it to
{if="$conf->get('config.MATERIAL_COLOR')"} {$themeColor=$conf->get('config.MATERIAL_COLOR')} <meta name="theme-color" content="{$themeColor}"> {else} <meta name="theme-color" content="#2196f3"> {/if}
kind regards, Christian
That's a mistake, variable THEME_COLOR should indeed be MATERIAL_COLOR. Thanks for the feedback, I'll publish a fix.
THEME_COLOR
MATERIAL_COLOR
Aaaaand done! https://github.com/kalvn/Shaarli-Material/commit/17dd870c44cd8e89fff7668411b5665a37469b74
Hi kalvn, since I installed your theme today I tried to track down the source of the meta header
<meta name="theme-color" content="#2196f3">
Although I configured "MATERIAL_COLOR": "#669900" in data/config.json.php as in (Customization)! I found this in includes.html
It works as intended when I change it to
kind regards, Christian