rappasoft / rappasoft-comments

utteranc.es repository for rappasoft.com
2 stars 0 forks source link

blog/extending-tailwind-css-dark-mode-to-use-system-preference #10

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

Rappasoft | Blog | Extending Tailwind CSS dark mode to use system preference

In a previous article, I showed you how to use Tailwind CSS to enable a dark theme on your application. Let's take it one step further and have it prioritize the user's system theme settings first.

https://rappasoft.com/blog/extending-tailwind-css-dark-mode-to-use-system-preference

swissv2 commented 2 years ago

Thanks for the article! On the topic of tailwindcss, I have been trying to get help with this issue, but cannot figure out what is going on, so I thought I would ask you here. I have Laravel 8.x + Jetstream 2.x (the latest release versions as of 12/23), but unfortunately all the TailwindCSS components that I have tried to copy+paste from TailwindCSS website does not have the proper styling (the styling disappears completely) . Would you have any suggestions on how to get the TailwindCSS components working properly with Laravel and Jetstream?

swissv2 commented 2 years ago

I did npm run dev / npm run prod / npm run watch to no avail.