diff --git a/scripts/generate-images.js b/scripts/generate-images.js index 31ff1e72..017e2360 100644 --- a/scripts/generate-images.js +++ b/scripts/generate-images.js @@ -2,33 +2,46 @@ const fs = require('fs') const path = require('path') const { convertFile } = require('convert-svg-to-png'); -const logoInput = './src/images/vector/logo.svg'; +const logoPoster = './src/images/vector/logo-light.svg'; +const logoSplash = './src/images/vector/logo-dark.svg'; logoOutput = { // Logo "splash-screen_fhd.jpg": { width: 1920, - height: 1080 + height: 1080, + background: "#242424", + from: logoSplash }, "splash-screen_hd.jpg": { width: 1280, - height: 720 + height: 720, + background: "#242424", + from: logoSplash }, "splash-screen_sd.jpg": { width: 720, - height: 480 + height: 480, + background: "#242424", + from: logoSplash }, "channel-poster_fhd.png": { width: 540, - height: 405 + height: 405, + background: "#FFFFFF", + from: logoPoster }, "channel-poster_hd.png": { width: 290, - height: 218 + height: 218, + background: "#FFFFFF", + from: logoPoster }, "channel-poster_sd.png": { width: 214, - height: 144 + height: 144, + background: "#FFFFFF", + from: logoPoster }, }; @@ -38,9 +51,9 @@ const iconsOutput = './src/images/icons'; (async () => { for (var logo in logoOutput) { - await convertFile(logoInput, { + await convertFile(logoOutput[logo].from, { outputFilePath: './src/images/' + logo, - background: "#242424", + background: logoOutput[logo].background, height: logoOutput[logo].height, width: logoOutput[logo].width, }); diff --git a/src/images/channel-poster_fhd.png b/src/images/channel-poster_fhd.png index 89824314..94b1b372 100644 Binary files a/src/images/channel-poster_fhd.png and b/src/images/channel-poster_fhd.png differ diff --git a/src/images/channel-poster_hd.png b/src/images/channel-poster_hd.png index b90b892d..b2c9ca2c 100644 Binary files a/src/images/channel-poster_hd.png and b/src/images/channel-poster_hd.png differ diff --git a/src/images/channel-poster_sd.png b/src/images/channel-poster_sd.png index 925b4e42..eacc4e16 100644 Binary files a/src/images/channel-poster_sd.png and b/src/images/channel-poster_sd.png differ diff --git a/src/images/splash-screen_fhd.jpg b/src/images/splash-screen_fhd.jpg index 388e6675..4e7a4494 100644 Binary files a/src/images/splash-screen_fhd.jpg and b/src/images/splash-screen_fhd.jpg differ diff --git a/src/images/splash-screen_hd.jpg b/src/images/splash-screen_hd.jpg index 3712e074..41241337 100644 Binary files a/src/images/splash-screen_hd.jpg and b/src/images/splash-screen_hd.jpg differ diff --git a/src/images/splash-screen_sd.jpg b/src/images/splash-screen_sd.jpg index a065d204..e200af47 100644 Binary files a/src/images/splash-screen_sd.jpg and b/src/images/splash-screen_sd.jpg differ diff --git a/src/images/vector/logo-dark.svg b/src/images/vector/logo-dark.svg new file mode 100644 index 00000000..98b64fc4 --- /dev/null +++ b/src/images/vector/logo-dark.svg @@ -0,0 +1,140 @@ + + + + + + + + + + + + + + + + P + l + e + t + l + a + y + + diff --git a/src/images/vector/logo-fav.svg b/src/images/vector/logo-fav.svg new file mode 100644 index 00000000..d1dd4137 --- /dev/null +++ b/src/images/vector/logo-fav.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + diff --git a/src/images/vector/logo-light.svg b/src/images/vector/logo-light.svg new file mode 100644 index 00000000..ac6abf33 --- /dev/null +++ b/src/images/vector/logo-light.svg @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/images/vector/logo.svg b/src/images/vector/logo.svg deleted file mode 100644 index 14a997bf..00000000 --- a/src/images/vector/logo.svg +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/www/favicon.ico b/src/www/favicon.ico new file mode 100644 index 00000000..157281b3 Binary files /dev/null and b/src/www/favicon.ico differ