Category: PHP, javascript

Implementing a Dark mode in applications is all the rage these days. And you can provide a toggle to switch between Dark/Light mode to users like the one I’ve implemented on my Notepad app. But what if you can detect the device’s default theme and based on that set the theme accordingly?

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Community Partners