We actually have a prototype that enables dark mode conditional on system preference using media queries, and this works for almost everything, but unfortunately there’s one library we’re using (material UI) that this doesn’t work with because it generates its styles dynamically in an SSR context. So most of the remaining work for this is prying apart that particular library to get finer grained control of its stylesheet-generating internals.
We actually have a prototype that enables dark mode conditional on system preference using media queries, and this works for almost everything, but unfortunately there’s one library we’re using (material UI) that this doesn’t work with because it generates its styles dynamically in an SSR context. So most of the remaining work for this is prying apart that particular library to get finer grained control of its stylesheet-generating internals.