@spiralganglion you mean you can do it with svg?
@nikitonsky Should be able to, yes.
Here's a working example I found after a quick Google search: https://rigtorp.se/notes/dark-mode-svg/
Works in Chrome. Doesn't work in Safari, I believe because the SVG is loaded in an <img> and not an <object> (but I wasn't able to test this quickly in the dev tools because their server has X-FRAME-OPTIONS=DENY, sigh)
@nikitonsky Should be able to, yes.
Here's a working example I found after a quick Google search: https://rigtorp.se/notes/dark-mode-svg/
Works in Chrome. Doesn't work in Safari, I believe because the SVG is loaded in an <img> and not an <object> (but I wasn't able to test this quickly in the dev tools because their server has X-FRAME-OPTIONS=DENY, sigh)