Now that Vector 2022 is the default skin on the English Wiktionary, we would like logged out users to be able to turn on dark mode. We've taken two approaches to making sure templates work well in dark mode:
- The Palette gadget provides CSS variables that automatically invert themselves in dark mode. You can see a table of all the Palette variables here. As a long-term project, we would like to convert all of our templates to use the Palette variables.
- The AutoContrastFixer gadget can handle templates not using the Palette variables by dynamically adjusting their colours. It's currently indicated as "experimental" but I think it's ready to be deployed by default (maybe @Surjection can comment?).
I've been using Vector 2022 with dark mode for some time and I haven't encountered any accessibility issues.