Steps to replicate the issue (include links if applicable):
- Visit https://en.wikipedia.org/wiki/MediaWiki_talk:Vector-2022.css#c-Jonesey95-20240618190400-Links_inside_tables in dark mode
What happens?:
What should have happened instead?:
The highlighted text should be readable.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
- Related issue **
- Type a comment and save it
- Newly posted comment is also highlighted
Proposed solution
Add rules for theme-os and theme-night.
- These should override or disable mix-blend-mode:
- Do not touch light theme
- These should change
- For colors for the highlight, use the background-color-progressive-subtle token for these
- For recently posted changes, in light mode yellow is used. Use the warning background color in dark mode and mark with a comment that this is an inappropriate use of the token.
And color-base text should always pass contrast on those.
While reviewing this I also noticed, there is a similar highlight for recently published contents (#ffe29) @JScherer-WMF @nayoub what would you recommend there?
QA Results - Test.wiki
AC | Status | Details |
---|---|---|
1 | ✅ | T368086#9942106 |
QA Results - PROD
AC | Status | Details |
---|---|---|
1 | ✅ | T368086#9970713 |