Skip to content

How to toggle dark mode in Jetstream #46419

Closed Answered by Sophist-UK
citricguy asked this question in Q&A
Discussion options

You must be logged in to vote

I checked out the PRs that created Dark Mode and as far as I can see this only does 2 things:

  1. Adds HTML classes for dark mode.
  2. Adds an install flag to remove the dark classes if you don't specify --dark.

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.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Sophist-UK
Comment options

Answer selected by crynobone
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Jxazy
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants