-
Notifications
You must be signed in to change notification settings - Fork 509
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
feat(links): distinguish visited links (v2) #9931
Conversation
Only use --text-link color for unvisited links.
13db232
to
86c354c
Compare
86c354c
to
73ffa68
Compare
Need to publish to NPM after merge. Preview pages are still showing blue links: https://pr29943.content.dev.mdn.mozit.cloud/en-US/docs/Web/API/Popover_API/Using |
I merged #9920, so v2.33.1 should be published soon. |
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.
Look good, thanks for fixing. Also: deployed to stage!
Summary
Fixes #9672 and avoids #9921.
Problem
Visited and unvisited links are not distinguished on MDN.
Solution
Distinguish visited links by reverting their color to the default color from the browser styles.
Screenshots
Note: This time, the screenshots were captured on port 5042 and contain a heading.
Before
After
How did you test this change?
Ran
yarn && yarn dev
and opened http://localhost:3000/en-US/docs/Web/HTML locally.