Dark and Light Modes
After doing multiple validations, it seems that dark: attribute is being ignored. So if i use
<h1 class="text-3xl font-bold text-primary dark:text-white">
i will always get text-primary in light and dark mode.
what i want is to define two colors that will work in light and dark mode. Thus:
<h1 class="text-3xl font-bold text-gray-900 dark:text-white">
must give primary(blue) in light mode and white in dark mode.
Is this possible?
Thank you
Replies (1)
Hi,
Sorry for the late reply. Please refer to https://keenthemes.com/metronic/tailwind/docs/customization/dark-mode guide for setting up the dark mode for your app.
if you need any further assistance please do let us know.
Regards,
Sean