A small contribution to Ruby on Rails, which enables it to regard the OS setting for dark/light appearance when displaying errors.
It uses the
prefers-color-scheme CSS media query which is currently supported by Firefox and Safari and in development for Chrome.
Essentially when you crunch it deep at night and don’t want to burn your retinas, thus have enabled dark mode for your OS, it changes this …
… into this
That feature has since been merged into Rails, you can find the Pull Request on Github.