-
Notifications
You must be signed in to change notification settings - Fork 29
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
Make params and metrics colors more light-theme friendly #1773
Conversation
extension/package.json
Outdated
"dark": "#fbd38d", | ||
"light": "#fbd38d" | ||
"dark": "charts.yellow", | ||
"light": "charts.yellow" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather pick two different default colors as I intend to use these as colors for experiments when we make the switch from custom svgs to theme colors.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Understood, I changed to the alternate static implementation described in the OP.
Code Climate has analyzed commit dd90d65 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (85% is the threshold). This pull request will bring the total coverage in the repository to 96.8% (0.0% change). View more on Code Climate. |
This PR usescharts.yellow
andcharts.blue
for params and metrics on the experiments table. When I was recording a feature video, I noticed that the current static colors, while still readable, don't work well on most light themes. As such, I tried this out and found that the charts colors do better in this regard (though they look markedly less appealing on some themes, namely my boy Kimbie Dark).This PR adds different
light
default values for our Params and Metrics header colors. Previously it usedcharts.yellow
andcharts.blue
, but those are slated for other uses in the future.The colors I chose are simply the dark mode colors, but with the value inverted (100% - darkvalue% = lightvalue%)
Before:
non-charts-colors-demo.mp4
After:
light-theme-friendly-static-colors-demo.mp4