There are lot of solutions for detecting and/or switching dark mode on and off for WordPress, but nothing is more elegant that a simple CSS solution. With this, you can easily modify your theme look based on the system setting. With one caveat.
More and more browsers are providing support for sites to style the UI. More recently, Safari has done the same, where the colouring around the tab and top menu bars can be modified, depending on the site being viewed.
My YouTube Embed WordPress plugin is nearly 11 years old now and was one of the first plugins I wrote (albeit not THE first), paving a way into WordPress development and, for the last 4 years, working in my dream job at Automattic.
But, right now, I have a problem with it.
First of all, it’s important to understand what the plugin is about.
Last month, WordPress developer John Blackbourn made a semi-tongue-in-cheek suggestion for a plugin.
However much he may or may not have wanted it, I decided to make it a reality. Not just some of his suggestion, but all of it. And then some.