diff --git a/package.json b/package.json index fcb2b3e5d3..d924ed746a 100644 --- a/package.json +++ b/package.json @@ -137,6 +137,7 @@ "modernizr": "^3.6.0", "optimize-css-assets-webpack-plugin": "^5.0.3", "postcss-extend": "^1.0.5", + "postcss-hexrgba": "^2.0.0", "postcss-import": "^12.0.1", "postcss-loader": "^3.0.0", "postcss-mixins": "^6.2.3", diff --git a/res/themes/riot/img/logos/riot-logo.svg b/res/themes/riot/img/logos/riot-logo.svg new file mode 100644 index 0000000000..ac1e547234 --- /dev/null +++ b/res/themes/riot/img/logos/riot-logo.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/webpack.config.js b/webpack.config.js index 6e84842d6d..5bde203ea4 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -182,6 +182,7 @@ module.exports = (env, argv) => { require("postcss-simple-vars")(), require("postcss-strip-inline-comments")(), + require("postcss-hexrgba")(), // It's important that this plugin is last otherwise we end // up with broken CSS. @@ -219,6 +220,7 @@ module.exports = (env, argv) => { require("postcss-mixins")(), require("postcss-easings")(), require("postcss-strip-inline-comments")(), + require("postcss-hexrgba")(), // It's important that this plugin is last otherwise we end // up with broken CSS. diff --git a/yarn.lock b/yarn.lock index a46162cf56..0d498b2288 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8969,6 +8969,13 @@ postcss-gap-properties@^2.0.0: dependencies: postcss "^7.0.2" +postcss-hexrgba@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/postcss-hexrgba/-/postcss-hexrgba-2.0.0.tgz#1bdae7640047470b6935d8b0e5369f4acc987eb5" + integrity sha512-qZmURatbgathSg00kCAKG4h6iUwKnRbhMMWNN6V5u4NTKjuTplxi+CrhbHvQ8BNulTA4B51/RIWnNIoulJIDlg== + dependencies: + postcss "^7.0.14" + postcss-html@^0.36.0: version "0.36.0" resolved "https://registry.yarnpkg.com/postcss-html/-/postcss-html-0.36.0.tgz#b40913f94eaacc2453fd30a1327ad6ee1f88b204"