NuGet / NuGetGallery

NuGet Gallery is a package repository that powers https://www.nuget.org. Use this repo for reporting NuGet.org issues.
https://www.nuget.org/
Apache License 2.0
1.52k stars 643 forks source link

[NuGet.org Bug]: Dark mode contrast with dark images #9957

Closed JonDouglas closed 1 week ago

JonDouglas commented 1 month ago

Impact

It bothers me. A fix would be nice

Describe the bug

image

Some package icons and backgrounds are a bit hard to see in dark mode compared to light mode.

Repro Steps

  1. Open https://dev.nugettest.org/packages/Newtonsoft.Json

Expected Behavior

NuGet.org sidebar should contrast well regardless of theme. Background on prefix reservation is just a nit in dark mode.

Package icons may encourage authors to update their icons to be light/dark theme compatible.

Screenshots

No response

Additional Context and logs

No response

martinrrm commented 1 month ago

@JonDouglas This are the icons that have a problem: API Key icon, default package icon, and the Prefix Reserved icon.

Source repository icon is from git, they have a red one that I'll use for Dark mode.

image image