Hi IKhitron, are you able to provide a link to the svg in question so that
more specific guidance can be given?

In case you haven't seen it, there are specific recommendations for making
content compatible with dark mode on wiki here
<https://www.mediawiki.org/wiki/Recommendations_for_night_mode_compatibility_on_Wikimedia_wikis>
. This section
<https://www.mediawiki.org/wiki/Recommendations_for_night_mode_compatibility_on_Wikimedia_wikis#Apply_filters_to_dark_images_with_transparent_background>
about
dark images with transparent backgrounds might be the most useful to you.

On Tue, Jul 2, 2024 at 3:50 PM Igal Khitron <[email protected]> wrote:

> Hello. Is there a chance anybody knows a codex variable color that is gray
> in regular, and much darker in the dark mode? I'm looking for a way to
> adjust an svg file to the Mediawiki dark mode, and I have some gray text on
> white background that can't remain gray on gray background, it should have
> a good contrast to be readable. Unfortunately, we couldn't find a way to
> change the colors of the .svg file itself (not .svg.png) for the dark mode.
> Thank you.
> Igal
> (User:IKhitron)
>
> _______________________________________________
> Wikitech-l mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/



-- 
*Christopher Ciufo* (He/him)
Senior Product Manager, Platform
Wikimedia Foundation <https://wikimediafoundation.org/>
_______________________________________________
Wikitech-l mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

Reply via email to