liberapay.com icon indicating copy to clipboard operation
liberapay.com copied to clipboard

improvement: add icon with yellow stroke

Open WofWca opened this issue 1 year ago • 6 comments

It's hard to see the current one on dark background, so.

Before After
old on white new on white
old on black new on black

Closer look (yes, the stroke overflows the canvas):

image

TODO:

  • [ ] Replace the favicon.
  • [ ] Generate PNGs.
  • [ ] Search for occurrences of "icon-v2_black" in the codebase and replace where appropriate.
  • [ ] Consider white stroke instead of yellow.

I'll do these if you like the change.

WofWca avatar Dec 17 '22 12:12 WofWca

nice looking

trebmuh avatar Dec 17 '22 14:12 trebmuh

It doesn't look quite right to me. Maybe if the outline was thinner or had an alpha gradient?

Is this change only for the favicon, or do you have another reason?

Changaco avatar Dec 20 '22 09:12 Changaco

For the favicon in the first place. Maybe there are other places it can be useful in.

WofWca avatar Dec 20 '22 09:12 WofWca

Maybe if the outline was thinner or had an alpha gradient?

I have picked width that looked the best to me at 16px width (the ones in the table). You can play around with it in the dev tools as well. For the gradient - currently I'm not sure how to achieve it.

WofWca avatar Dec 20 '22 09:12 WofWca

Hey, I also just learned that you can set different favicons depending on color scheme, with the media attribute

WofWca avatar Dec 25 '22 07:12 WofWca

@WofWca I assume you're talking about prefers-color-scheme. It doesn't seem to work on favicons in Firefox.

Changaco avatar Dec 25 '22 13:12 Changaco