UI
-
How NOT to use @media query
@media query is a good way to alter the layout of a website, but using too many @media queries is not a good practice when it comes to maintenance. Instead, you can use clamp() to achieve the same result with more lightweight and maintainable stylesheets. Here are some practical ways to use clamp() instead of…
-
Make Every Website Go Dark
After implementing Dark Mode for my blog and editor, my next target is the rest of the Internet. Fortunately, Chrome’s got me covered—it has a setting that automatically turns every website dark, no extra work needed.
-
How to Enable Dark Mode for the WordPress Block Editor
Enqueue the styles to add Dark Mode support to WordPress Block Editor.
-
Add Dark Mode to WordPress with a Light Toggle
Use the light-dark() function to easily add Dark Mode support to WordPress.