diff --git a/icon-dark.svg b/icon-dark.svg new file mode 100755 index 0000000..087974e --- /dev/null +++ b/icon-dark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icon-light.svg b/icon-light.svg new file mode 100755 index 0000000..08333fb --- /dev/null +++ b/icon-light.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/android-chrome-192x192.png b/icons/android-chrome-192x192.png new file mode 100755 index 0000000..5167499 Binary files /dev/null and b/icons/android-chrome-192x192.png differ diff --git a/icons/android-chrome-512x512.png b/icons/android-chrome-512x512.png new file mode 100755 index 0000000..d231e0b Binary files /dev/null and b/icons/android-chrome-512x512.png differ diff --git a/icons/apple-touch-icon.png b/icons/apple-touch-icon.png new file mode 100755 index 0000000..4aacc52 Binary files /dev/null and b/icons/apple-touch-icon.png differ diff --git a/icons/browserconfig.xml b/icons/browserconfig.xml new file mode 100755 index 0000000..3903cb6 --- /dev/null +++ b/icons/browserconfig.xml @@ -0,0 +1,12 @@ + + + + + + + + + #00aba9 + + + diff --git a/icons/favicon-16x16.png b/icons/favicon-16x16.png new file mode 100755 index 0000000..2ab553a Binary files /dev/null and b/icons/favicon-16x16.png differ diff --git a/icons/favicon-32x32.png b/icons/favicon-32x32.png new file mode 100755 index 0000000..547ba5a Binary files /dev/null and b/icons/favicon-32x32.png differ diff --git a/icons/favicon.ico b/icons/favicon.ico new file mode 100755 index 0000000..4810c23 Binary files /dev/null and b/icons/favicon.ico differ diff --git a/icons/light-favicon-16x16.png b/icons/light-favicon-16x16.png new file mode 100755 index 0000000..c77529f Binary files /dev/null and b/icons/light-favicon-16x16.png differ diff --git a/icons/light-favicon-32x32.png b/icons/light-favicon-32x32.png new file mode 100755 index 0000000..5d0fed3 Binary files /dev/null and b/icons/light-favicon-32x32.png differ diff --git a/icons/light-favicon.ico b/icons/light-favicon.ico new file mode 100755 index 0000000..3f6ca95 Binary files /dev/null and b/icons/light-favicon.ico differ diff --git a/icons/mstile-150x150.png b/icons/mstile-150x150.png new file mode 100755 index 0000000..b37065c Binary files /dev/null and b/icons/mstile-150x150.png differ diff --git a/icons/mstile-310x150.png b/icons/mstile-310x150.png new file mode 100755 index 0000000..379ebd7 Binary files /dev/null and b/icons/mstile-310x150.png differ diff --git a/icons/mstile-310x310.png b/icons/mstile-310x310.png new file mode 100755 index 0000000..e1230b3 Binary files /dev/null and b/icons/mstile-310x310.png differ diff --git a/icons/mstile-70x70.png b/icons/mstile-70x70.png new file mode 100755 index 0000000..6282b8b Binary files /dev/null and b/icons/mstile-70x70.png differ diff --git a/icons/safari-pinned-tab.svg b/icons/safari-pinned-tab.svg new file mode 100755 index 0000000..2f1cf28 --- /dev/null +++ b/icons/safari-pinned-tab.svg @@ -0,0 +1,22 @@ + + + + +Created by potrace 1.11, written by Peter Selinger 2001-2013 + + + + + diff --git a/icons/site.webmanifest b/icons/site.webmanifest new file mode 100755 index 0000000..a57bfca --- /dev/null +++ b/icons/site.webmanifest @@ -0,0 +1,19 @@ +{ + "name": "Water.css", + "short_name": "Water.css", + "icons": [ + { + "src": "/icons/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/icons/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} diff --git a/index.html b/index.html index 9fda82a..2766797 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,18 @@ Water.css + + + + + + + + + + + + + + - \ No newline at end of file + diff --git a/logo.png b/logo.png old mode 100644 new mode 100755 index 37b80ce..f6b147a Binary files a/logo.png and b/logo.png differ diff --git a/logo.svg b/logo.svg index 67c43f4..5ede7eb 100644 --- a/logo.svg +++ b/logo.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/script.js b/script.js index b027b37..8282fb8 100644 --- a/script.js +++ b/script.js @@ -1,4 +1,22 @@ -(function (ThemeSwitcher) { +!(function() { + const iconModeSwitcher = window.faviconModeSwitcher && faviconModeSwitcher.default + if (!iconModeSwitcher) return + iconModeSwitcher([ + { + element: 'link[rel="shortcut icon"]', + href: { dark: '/icons/light-favicon.ico' } + }, + { + element: 'link[rel="icon"][sizes="16x16"]', + href: { dark: '/icons/light-favicon-16x16.png' } + }, + { + element: 'link[rel="icon"][sizes="32x32"]', + href: { dark: '/icons/light-favicon-32x32.png' } + } + ]) +})() +;(function (ThemeSwitcher) { const themeSwitcher = new ThemeSwitcher('stylesheet'); const themeSwitchBtn = document.getElementById('switch'); const themes = {