feat(lib/mediawiki): use codex style guide
Use the Wikimedia Codex color design tokens to base the colour bindings.
This makes the appearance of the style more consistent with base Wikipedia.
Related to #1866
Can you explain more about what these changes do or fix?
Can you explain more about what these changes do or fix?
Sure! Using the latest version of the library, there's cases where table backgrounds and borders use the same colour which is bad for contrast. In addition, there was a few unthemed variables that are used on other MediaWiki wikis but are part of the Codex style guide spec.
This is using feat/mediawiki-lib-integrate modified to point to both versions of the libraries as they are not deployed yet.
First example, on Wikipedia - Help:Sortable_tables
Before PR
Second example, on Wikipedia - Help:Introduction_to_tables_with_Wiki_Markup when signed out.
Before PR
Third example, in the footer on Wikipedia. Contrast is improved by a lot, closer to matching the style guide contrast recommendations.
Before PR
Fourth example, buttons now have a colour change when pressed.
Before PR, hover
Before PR, active