How to toggle dark mode in Jetstream #46419
-
After installing Jetstream (v3) with --dark, how do you actually toggle it? Is this a configuration option and not a UI setting? The documentation is fairly vague: Link to Docs #dark-mode |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
I checked out the PRs that created Dark Mode and as far as I can see this only does 2 things:
In other words, Dark Mode is a standard functionality of Livewire or Vue that this PR enables. I haven't researched how you do Dark switching in Livewire or Vue, but I assume that this information is not difficult to find on t'internet. |
Beta Was this translation helpful? Give feedback.
-
To make it clear:
You'll be able to see how your components would look like when not in dark mode. |
Beta Was this translation helpful? Give feedback.
-
I wrote an article on this if anyone is interested: |
Beta Was this translation helpful? Give feedback.
-
Hey guys I have made a component for this here Please make sure you have added darkMode: 'class' in tailwind.config.js |
Beta Was this translation helpful? Give feedback.
I checked out the PRs that created Dark Mode and as far as I can see this only does 2 things:
In other words, Dark Mode is a standard functionality of Livewire or Vue that this PR enables.
I haven't researched how you do Dark switching in Livewire or Vue, but I assume that this information is not difficult to find on t'internet.