October 9, 201412 yr Anybody using the Grunt favicons task, I'm having an issue making the favicon.ico transparent. seem's weird as I am supplying a transparent png24, and it's working fine for the other icons, apple-touch, favicon.png etc. https://github.com/oblador/grunt-favicons/ This is how I have my options configured in grunt favicons: { options: { html: 'img/build/icons/favicon.html', HTMLPrefix: "img/build/icons/", trueColor: true, icoBackgroundColor: "-transparent" }, icons: { src: 'logo.png', dest: 'img/build/icons' } }, Can anybody shed any light on why this might not be working? Thanks.
October 9, 201412 yr Author No errors and it processes fine, generates all the icons. The issue is the favicon.ico that is generated has a white opaque background. The option icoBackGround color doesnt seem to do anything and ive tried it with various values. I need it to be transparent like the logo.png that is supplied is. Edited October 9, 201412 yr by rbrtsmith
October 9, 201412 yr The Git repo you linked to has been forked from the original. They tried to make a pull request but it hasn't been merged.https://github.com/gleero/grunt-favicons/pull/39If you installed grunt-favicons from npm you wont have this option available.Have you updated grunt-favicons locally with the added option?https://github.com/oblador/grunt-favicons/commit/b6a0b51492ee11505a60e461f219c3cfb8c4ea05
October 10, 201412 yr Author The Git repo you linked to has been forked from the original. They tried to make a pull request but it hasn't been merged. https://github.com/gleero/grunt-favicons/pull/39 If you installed grunt-favicons from npm you wont have this option available. Have you updated grunt-favicons locally with the added option? https://github.com/oblador/grunt-favicons/commit/b6a0b51492ee11505a60e461f219c3cfb8c4ea05 Thanks for clearing that up Wynn. I can update it manually, but I gues I'd have to do this for every project, which is a little bit of a pain. I don't see why they don't merge the pull request as it's pretty common for transparent favicons.
Create an account or sign in to comment