-
Notifications
You must be signed in to change notification settings - Fork 204
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
Change text color to secondary on content-heavy pages #5148
Conversation
Latest k6 run output1
Footnotes
|
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.
It looks great 🚀
Thanks @fcoveram! I'll update the visual regression testing snapshots then. |
I created this ticket requesting the update of |
@fcoveram changing the For example on this page the search query, artist name, duration, genre/category and license icons have all gotten darker. |
c079521
to
a091131
Compare
@dhruvkb, I think I've found the reason for visual regression tests not failing. All pixels in the snapshots are the same, only their color is different. And the difference in color is not a reason for failing tests due to
Setting it to 0.18 makes the tests fail. I think we could set it to 0.1 by default:
|
Thanks for discovering this @obulat. |
I've extracted the snapshot changes to a separate PR #5182 so that this PR only contains relevant to the text-heavy pages. |
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.
Awesome! ✨
It's interesting that the old snapshots look okay for me, but when I look at the same colors in the app, my eyes get tired very quickly :)
Fixes
Fixes #5119 by @obulat
Fixes #5151 by @fcoveram
Description
This PR changes the content pages to use
text-secondary
for the body text, while retainingtext-default
for the headings.Testing Instructions
Visit the content pages and see that the text should be a little lighter and less contrasted with the background.
I'll update the snapshots once @fcoveram approves the new designs.
Checklist
Update index.md
).main
) or a parent feature branch.ov just catalog/generate-docs
for catalogPRs) or the media properties generator (
ov just catalog/generate-docs media-props
for the catalog or
ov just api/generate-docs
for the API) where applicable.Developer Certificate of Origin
Developer Certificate of Origin