Code of Conduct
What article on docs.github.com is affected?
I noticed this while searching for text in a .tsx file. In Chrome and Edge browsers, the named import text color is very close to the "current" syntax color. And in Firefox, the text is barely readable.
What changes are you suggesting?
The current search string text highlighting will have sufficient contrast so that the text is readable.
Additional information
Testing details
- OS: MacOS Tahoe v26.5.2
- Browsers
- Chrome v150.0.7871.182
- Edge v150.0.4078.96
- Firefox v153.0
- Safari showed sufficient contrast
- Tested in dark theme using incognito for all browsers to disable any plugins/extensions. I was not logged in to GitHub for any of the tests.
To reproduce, go to https://github.com/github/docs/blob/main/src/app/layout.tsx and search for "ReactNode".
Here are screenshots of Chrome and Firefox

Code of Conduct
What article on docs.github.com is affected?
I noticed this while searching for text in a
.tsxfile. In Chrome and Edge browsers, the named import text color is very close to the "current" syntax color. And in Firefox, the text is barely readable.What changes are you suggesting?
The current search string text highlighting will have sufficient contrast so that the text is readable.
Additional information
Testing details
To reproduce, go to https://github.com/github/docs/blob/main/src/app/layout.tsx and search for "ReactNode".
Here are screenshots of Chrome and Firefox