Relative Content

Tag Archive for javascriptreactjsnext.jscytoscape.js

How to tell a React/Next.js page that Dark Mode was Toggled?

I’m developing my first simple Next.js+Tailwind app. It features a fixed header and a sidebar. The sidebar contains a button to toggle between dark and light mode. I’m using next-theme and with Tailwind this was rather straightforward so far.