dark-mode-hook
React Hook to switch to dark mode if the user has requested the system use a light or dark color theme.
Setup
npm install dark-mode-hook
Usage
Replace ReactDOM.render(<App />, document.getElementById("root"))
in your index.js with
ReactDOM.render(<AppWithTheme />, document.getElementById("root"));