Wikipedia talk:Scripts++/Issue 25
Appearance
(Redirected from Wikipedia talk:Scripts++/Next)
Discussion of Wikipedia:Scripts++/Issue 25 |
Headers unreadable with V22's dark mode
[edit]I'm using Vector 2022's dark node and the headers appear to be invisible (see here with dark mode enabled). I'm assuming this is down to the light background + the fact that headers are white by default... though maybe the real issue is said light background? but most of the text seems to be black so I'm a bit confused. hmmm... Rexo (talk | contributions) 13:57, 1 August 2024 (UTC)
- Yeah, that is a problem caused by the hardcoded light background. I'll see if there's some Codex color suited to our needs. Aaron Liu (talk) 18:59, 1 August 2024 (UTC)
- Aaron Liu, I've fixed the /Shell template earlier today (together with /Next), the variable
--background-color-neutral-subtle
gives color #f8f9fa. The previously hard-coded color was #f8f8f8. Seems like a good replacement to me. - If you agree, I also plan to update all archived issues. But not the already sent out talk page messages, of course, – that would be too much spam in watchlists. —andrybak (talk) 19:05, 1 August 2024 (UTC)
- I'd agree, thanks! I found #f8f9fa from the Codex docs but couldn't find the classname for it. Where do you find these classes? Aaron Liu (talk) 19:06, 1 August 2024 (UTC)
- I just typed
--background-color
in developer tools in Firefox, and scrolled through the list of auto-complete suggestions. —andrybak (talk) 19:12, 1 August 2024 (UTC)- Ah, ok. Anyways, I just searched that up in Google with double quotes for an exact match and found [1]. Aaron Liu (talk) 19:17, 1 August 2024 (UTC)
- This is also linked on mw:Codex. —andrybak (talk) 19:18, 1 August 2024 (UTC)
- Ah, ok. Anyways, I just searched that up in Google with double quotes for an exact match and found [1]. Aaron Liu (talk) 19:17, 1 August 2024 (UTC)
- I just typed
- Re:
plan to update all archived issues
– Done in these 25 edits + Special:Diff/1238032997 —andrybak (talk) 19:28, 1 August 2024 (UTC)- By the way, the recommendation to use this approach is described at mw:Recommendations for night mode compatibility on Wikimedia wikis#Always define color when defining background. —andrybak (talk) 08:28, 9 August 2024 (UTC)
- I'd agree, thanks! I found #f8f9fa from the Codex docs but couldn't find the classname for it. Where do you find these classes? Aaron Liu (talk) 19:06, 1 August 2024 (UTC)
- Aaron Liu, I've fixed the /Shell template earlier today (together with /Next), the variable