Does anyone know it is possible to create dark mode/light mode based on the current time on the website? for example, when the user opens the website in the daytime, the theme is adjusted to light mode, and when at night time, the theme changes to dark mode automatically, is that possible?
btw my tech stacks are Nextjs and Tailwindcss, and for dark mode/light mode I use next-themes