@rbnd/react-dark-mode demo
This page is demo of `@rbnd/react-dark-mode` npm package. It showcases three different modes, light, dark and system preference. It also shows how to correctly include `noflash.min.js` so there is no flash of light background with dark mode preference.
Current mode: system
Note: This component does not render on the server, since you cannot read user preference from the browser cookies on the server. However `noflash.min.js` will take care of loading the preference as soon as possible and as a result user will see the background of the page according to his preference for the whole rendering time.