Change favicon?

Can we change discourse.nixos.org favicon, so it is distinguishable from nixos.org favicon?
I have many browser tabs open and it creates little confusion (I don’t see tab text).

Maybe some dot with color in the middle of the snowflake?

3 Likes

@danbst sounds good! Give me a new favicon and I will replace it.

Can you try this?
https://realfavicongenerator.net/files/68639cb1cbc521024ee17668cbd3787be5468038/favicon_package_v0.16.zip

Thanks. I went to this wizard setup and saw:

and I used favicon-32x32.png for the first one and android-chrome-256x256.png for the second one. It looks like the second one would like a 512x512 image.

2 Likes

I created a home screen button on my Android phone with Firefox and it used the custom icon. :ok_hand:

Noice!!
(sorry for this :stuck_out_tongue: )

@danbst I noticed that Discourse now wants a 512x512 icon for an Android homescreen, but when I went to access the favicon files you posted, it is a 404 page. Do you have a 512x512 icon?

Sorry, I’ve lost original .XCF. I have that archive, but it doesn’t contain 512x512 icon.

I’ve made a rough approximation of original icon by appending few lines to Nix snowflake SVG:

  <defs>
    <filter id="outlineEffect">
        <feMorphology in="SourceAlpha" result="MORPH" operator="dilate" radius="5" />
        <feColorMatrix in="MORPH" result="WHITENED" type="matrix" values="0 0 0 0 0.4, 0 0 0 0 0.6, 0 0 0 0 0.83, 0 0 0 1 0"/>
        <feMerge>
            <feMergeNode in="WHITENED"/>
            <feMergeNode in="SourceGraphic"/>
        </feMerge>
    </filter>
  </defs>
  <text x="40%" y="63%" font-weight="bold"
       font-family="Times New Roman, serif" font-size="170px" fill="#5277c3" 
       filter="url(#outlineEffect)">
   D
  </text>

Preview