Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation stats graph visibility #1407

Open
codemasher opened this issue Dec 11, 2023 · 0 comments
Open

Installation stats graph visibility #1407

codemasher opened this issue Dec 11, 2023 · 0 comments

Comments

@codemasher
Copy link

Hi, just a minor thing i noticed about the visibility in the lines of the installation statistics graph is that some colors are hard to distinguish and others are barely visible.

From what it looks like, this snippet is what controls the colors:

packagist/js/charts.js

Lines 139 to 153 in 9e34e90

colors = [
'#f28d1a',
'#1765f4',
'#ed1f96',
'#ee1e23',
'#b817f4',
'#c4f516',
'#804040',
'#ff8040',
'#008080',
'#004080',
'#8080ff',
'#800040',
'#800000',
];

which evaluates to the following:
graph colors

Unfortunately it's not possible to change these via external/injected CSS (the lines have an iterating CSS class, the other elements like legend and handle buttons don't), so this change has to be made in that script.

I can submit a little PR for that or leave it to you for the next time it gets an update. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant