Ivan Herman on Nostr: Designing for dark mode === dark art 😞 I know there is a way with CSS. But if one ...
Designing for dark mode === dark art 😞
I know there is a way with CSS. But if one generates SVG from a tool (google draw, draw.io, whatever) and wants the result to be used in its original form (e.g., light mode) as well as when the browser forces dark mode: it becomes a royal pain. The result depends on browser, plugin, OS...
Are there "standards" on how browsers should do that? Should there be? How can one prepare for this?
I know there is a way with CSS. But if one generates SVG from a tool (google draw, draw.io, whatever) and wants the result to be used in its original form (e.g., light mode) as well as when the browser forces dark mode: it becomes a royal pain. The result depends on browser, plugin, OS...
Are there "standards" on how browsers should do that? Should there be? How can one prepare for this?