npm-trends icon indicating copy to clipboard operation
npm-trends copied to clipboard

Keep colors while changing packages

Open Dimava opened this issue 2 years ago • 3 comments

While I'm changing compared packages, package colors keep changing constantly

Some random package was blue. Added Vue, Vue is blue. Random package is now random color. Added React, boom, Vue is not blue anymore

What I want is for packages to keep their current color while you are editing - if Vue was blue at some point, it should be kept blue until I remove it, add some another package that takes over blue color, and add it back

Also some more common tools may have preferred colors
Green for Vue, blue for Typescript
Generally if the package has an icon it's the icon color (or favicon color for packages with own website)

Dimava avatar Sep 17 '22 16:09 Dimava

This is not an ideal experience. We will fix this, but just a warning it might be a few months before we get to it.

benadam11 avatar Sep 30 '22 23:09 benadam11

Please for the love of god

davext avatar Mar 04 '23 03:03 davext

I have a better idea: Allow people to define colors for libraries that stick permanently. Does anyone want to view React as any color than blue? Angular as not red? This is would be neat to make automatic, but I'm sure it's a technical challenge. But I would like this to exist for small packages too. And if colors are similar, automatically make one dotted or something. This would be ideal imo.

mfp22 avatar Jul 09 '23 04:07 mfp22