React•3 min read
Dynamically changing theme-color meta tag
In this article I will explain how you can set the theme-color meta tag based on the configuration with javascript so that it dynamically matches your preferred colors. In my example I will be changing the theme-color based on the tailwind class for dark mode.