mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-05-18 15:11:51 +00:00
use background color from the pallete
This commit is contained in:
parent
8535213987
commit
88e3618bc5
2 changed files with 3 additions and 1 deletions
|
|
@ -8,7 +8,7 @@
|
||||||
<meta name="apple-mobile-web-app-title" content="Stremio">
|
<meta name="apple-mobile-web-app-title" content="Stremio">
|
||||||
<link rel="icon" type="image/png" sizes="96x96" href="<%= htmlWebpackPlugin.options.faviconsPath %>/icon-96.png">
|
<link rel="icon" type="image/png" sizes="96x96" href="<%= htmlWebpackPlugin.options.faviconsPath %>/icon-96.png">
|
||||||
<link rel="manifest" href="<%= htmlWebpackPlugin.options.manifestPath %>" />
|
<link rel="manifest" href="<%= htmlWebpackPlugin.options.manifestPath %>" />
|
||||||
<meta name="theme-color" content="#2a2843">
|
<meta name="theme-color" content="<%= htmlWebpackPlugin.options.themeColor %>">
|
||||||
<link rel="apple-touch-icon" href="<%= htmlWebpackPlugin.options.imagesPath %>/icon_x192.png">
|
<link rel="apple-touch-icon" href="<%= htmlWebpackPlugin.options.imagesPath %>/icon_x192.png">
|
||||||
<title>Stremio - All you can watch!</title>
|
<title>Stremio - All you can watch!</title>
|
||||||
<%= htmlWebpackPlugin.tags.headTags %>
|
<%= htmlWebpackPlugin.tags.headTags %>
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ const { CleanWebpackPlugin } = require('clean-webpack-plugin');
|
||||||
const WorkboxPlugin = require('workbox-webpack-plugin');
|
const WorkboxPlugin = require('workbox-webpack-plugin');
|
||||||
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||||
const TerserPlugin = require('terser-webpack-plugin');
|
const TerserPlugin = require('terser-webpack-plugin');
|
||||||
|
const colors = require('@stremio/stremio-colors');
|
||||||
const pachageJson = require('./package.json');
|
const pachageJson = require('./package.json');
|
||||||
|
|
||||||
const COMMIT_HASH = execSync('git rev-parse HEAD').toString().trim();
|
const COMMIT_HASH = execSync('git rev-parse HEAD').toString().trim();
|
||||||
|
|
@ -208,6 +209,7 @@ module.exports = (env, argv) => ({
|
||||||
template: './src/index.html',
|
template: './src/index.html',
|
||||||
inject: false,
|
inject: false,
|
||||||
scriptLoading: 'blocking',
|
scriptLoading: 'blocking',
|
||||||
|
themeColor: colors.background,
|
||||||
faviconsPath: `${COMMIT_HASH}/favicons`,
|
faviconsPath: `${COMMIT_HASH}/favicons`,
|
||||||
imagesPath: `${COMMIT_HASH}/images`,
|
imagesPath: `${COMMIT_HASH}/images`,
|
||||||
manifestPath: `${COMMIT_HASH}/manifest.json`,
|
manifestPath: `${COMMIT_HASH}/manifest.json`,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue