From cdade05315f8883c644678ba217d9764ab9440a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C4=83t=C4=83lin=20Mari=C8=99?= Date: Mon, 13 May 2019 21:45:38 -0700 Subject: [PATCH] fix: use only one 180x180px touch icon (#1213) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Include just one 180x180px touch icon`. Over time as Apple released different size displays for their devices, the requirements¹ for the size of the touch icon have changed quite a bit: * 57×57px – iPhone with @1x display and iPod Touch * 72×72px – iPad and iPad mini with @1x display running iOS ≤ 6 * 76×76px – iPad and iPad mini with @1x display running iOS ≥ 7 * 114×114px – iPhone with @2x display running iOS ≤ 6 * 120×120px – iPhone with @2x and @3x display running iOS ≥ 7 * 144×144px – iPad and iPad mini with @2x display running iOS ≤ 6 * 152×152px – iPad and iPad mini with @2x display running iOS 7 * 180×180px – iPad and iPad mini with @2x display running iOS 8+ However, most iOS users will be on the latest 2 versions² of iOS and using newer devices, so nowadays, one 180x180px touch icon is enough. Also, if needed, the icon will be automatically³ downscaled by Safari, and the result of the scaling is generally ok. * Remove unneeded `sizes` attribute. When using only one touch icon there is no need to use the `sizes` attribute. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ¹ https://github.com/h5bp/html5-boilerplate/pull/1599#issuecomment-56384135 ² https://developer.apple.com/support/app-store/ ³ https://realfavicongenerator.net/blog/how-ios-scales-the-apple-touch-icon/ See also: https://mathiasbynens.be/notes/touch-icons --- src/build/template.html | 3 +-- static/apple-icon-120.png | Bin 2557 -> 0 bytes static/{apple-icon-180.png => apple-icon.png} | Bin 3 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 static/apple-icon-120.png rename static/{apple-icon-180.png => apple-icon.png} (100%) diff --git a/src/build/template.html b/src/build/template.html index 9587912a..f1ee4bce 100644 --- a/src/build/template.html +++ b/src/build/template.html @@ -10,8 +10,7 @@ - - + diff --git a/static/apple-icon-120.png b/static/apple-icon-120.png deleted file mode 100644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c^Sbh1V33PJ diff --git a/static/apple-icon-180.png b/static/apple-icon.png similarity index 100% rename from static/apple-icon-180.png rename to static/apple-icon.png