diff --git a/layout/default/View/Document/default.tpl b/layout/default/View/Document/default.tpl
index d3266207e..15771ad48 100644
--- a/layout/default/View/Document/default.tpl
+++ b/layout/default/View/Document/default.tpl
@@ -11,22 +11,11 @@
-
-
-
- {**
- * See https://developer.apple.com/library/prerelease/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html
- *}
-
-
-
-
-
diff --git a/layout/default/resource/browserconfig.xml.smarty b/layout/default/resource/browserconfig.xml.smarty
index c9e20bdb4..a320621c8 100644
--- a/layout/default/resource/browserconfig.xml.smarty
+++ b/layout/default/resource/browserconfig.xml.smarty
@@ -2,10 +2,7 @@
-
-
-
{block name='tileColor'}{lessVariable name='colorBrand'}{/block}
diff --git a/layout/default/resource/manifest.json.smarty b/layout/default/resource/manifest.json.smarty
index 2101c2ea2..4555e92b4 100644
--- a/layout/default/resource/manifest.json.smarty
+++ b/layout/default/resource/manifest.json.smarty
@@ -5,26 +5,11 @@
"background_color": "{lessVariable name='colorBrand'}",
"theme_color": "{lessVariable name='colorBrand'}",
"icons": [
- {
- "src": "{resourceUrl path='img/meta/square-144.png' type='layout'}",
- "sizes": "144x144",
- "type": "image/png"
- },
{
"src": "{resourceUrl path='img/meta/square-192.png' type='layout'}",
"sizes": "192x192",
"type": "image/png"
},
- {
- "src": "{resourceUrl path='img/meta/square-256.png' type='layout'}",
- "sizes": "256x256",
- "type": "image/png"
- },
- {
- "src": "{resourceUrl path='img/meta/square-384.png' type='layout'}",
- "sizes": "384x384",
- "type": "image/png"
- },
{
"src": "{resourceUrl path='img/meta/square-512.png' type='layout'}",
"sizes": "512x512",
diff --git a/layout/default/variables.less b/layout/default/variables.less
index 4193590f4..60ba87716 100644
--- a/layout/default/variables.less
+++ b/layout/default/variables.less
@@ -1,5 +1,6 @@
// Special
@colorBrand: #2d78e2;
+@colorFaviconBg: @colorBrand;
@colorOnline: #008845;
@colorOk: #008845;
@colorNotice: #ea8e0b;
diff --git a/library/CM/Frontend/Cli.php b/library/CM/Frontend/Cli.php
index 077f420f8..dcfb7ba61 100644
--- a/library/CM/Frontend/Cli.php
+++ b/library/CM/Frontend/Cli.php
@@ -3,7 +3,7 @@
class CM_Frontend_Cli extends CM_Cli_Runnable_Abstract {
const FAVICON_SVG_FILENAME = 'favicon.svg';
- const FAVICON_BACKGROUND_LESS_VARIABLE = 'colorBrand';
+ const FAVICON_BACKGROUND_LESS_VARIABLE = 'colorFaviconBg';
public function iconRefresh() {
/** @var CM_File[] $svgFileList */
@@ -109,26 +109,14 @@ private function _getFaviconConfigList() {
// Favicon & Apple Touch Icons
'square-16.png' => ['width' => 16, 'height' => 16],
'square-32.png' => ['width' => 32, 'height' => 32],
- 'square-76.png' => ['width' => 76, 'height' => 76],
- 'square-96.png' => ['width' => 96, 'height' => 96],
- 'square-120.png' => ['width' => 120, 'height' => 120],
- 'square-144.png' => ['width' => 144, 'height' => 144],
- 'square-144-transparent.png' => ['width' => 144, 'height' => 144, 'transparent' => true],
- 'square-152.png' => ['width' => 152, 'height' => 152],
- 'square-167.png' => ['width' => 167, 'height' => 167],
'square-180.png' => ['width' => 180, 'height' => 180],
// Android Chrome
'square-192.png' => ['width' => 192, 'height' => 192],
- 'square-256.png' => ['width' => 256, 'height' => 256],
- 'square-384.png' => ['width' => 384, 'height' => 384],
'square-512.png' => ['width' => 512, 'height' => 512],
// MS Tiles
- 'tile-small-128x128-transparent.png' => ['width' => 128, 'height' => 128, 'transparent' => true, 'iconSize' => 0.5],
'tile-medium-270x270-transparent.png' => ['width' => 270, 'height' => 270, 'transparent' => true, 'iconSize' => 0.5],
- 'tile-large-558x558-transparent.png' => ['width' => 558, 'height' => 558, 'transparent' => true, 'iconSize' => 0.5],
- 'tile-wide-558x270-transparent.png' => ['width' => 558, 'height' => 270, 'transparent' => true, 'iconSize' => 0.5],
// Push Notification
'push-notification-icon.png' => ['width' => 192, 'height' => 192],
diff --git a/tests/library/CM/Http/Response/Resource/LayoutTest.php b/tests/library/CM/Http/Response/Resource/LayoutTest.php
index 07f4b60ca..199373e8b 100644
--- a/tests/library/CM/Http/Response/Resource/LayoutTest.php
+++ b/tests/library/CM/Http/Response/Resource/LayoutTest.php
@@ -39,7 +39,7 @@ public function testSmartyTemplate() {
$this->assertContains('Content-Type: application/xml', $response->getHeaders());
$this->assertContains('Cache-Control: max-age=31536000', $response->getHeaders());
$this->assertContains('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', time() + 31536000), $response->getHeaders());
- $imgUrl = $render->getUrlResource('layout', 'img/meta/tile-small-128x128-transparent.png');
+ $imgUrl = $render->getUrlResource('layout', 'img/meta/tile-medium-270x270-transparent.png');
$this->assertContains("src=\"{$imgUrl}\"", $response->getContent());
$exception = $this->catchException(function () use ($render) {