Background
While investigating the possibility of enabling Special:RecentChanges in dark-mode, I noticed that the highlight feature uses custom colors that do not work well in dark-mode.
(they also don't look great in light-mode, but maybe that's a separate issue...)
Technical notes
These colors are hex values defined in resources/src/mediawiki.rcfilters/styles/mw.rcfilters.variables.less
The background colors are generated via a Less mixin that combines the different highlight colors together.
resources/src/mediawiki.rcfilters/styles/mw.rcfilters.mixins.less.
These color functions are not compatible with Codex design tokens, and it looks like the results, when combined with red/blue/black text, don't meet accessibility guidelines either :/
Goal
- The changelist with highlights is legible in dark-mode