Twitter | Search | |
Daniel Eden
`filter: invert(100%)` can be a hacky/cheap way to get a “dark mode” UI, but it obviously inverts colors too. Just add `hue-rotate(180deg)` to at least compensate for the hue inversion!
Reply Retweet Like More
Daniel Eden Aug 27
Replying to @_dte
But be careful! You don’t have to look much further than Twitter to see why straight-up inverting colors does not make a good dark mode experience. This is not how shadows work.
Reply Retweet Like
👤 Aug 28
Replying to @_dte @AundrellD2nd
Reply Retweet Like
Drella Aug 28
Replying to @akamaozu @_dte
wow, this man never forgets loooool
Reply Retweet Like
Fabrizio Rinaldi Aug 28
Replying to @_dte @levelsio
unfortunately it impacts performance a lot, on some webapps is reduces framerate substantially
Reply Retweet Like