Skip to content

Conversation

@ggrandes
Copy link

Minimal change needed to support dark mode when the browser prefers it.

Reference: AMQ-9801

darkmode_small

@sergio-d-lemos
Copy link
Contributor

Is it possible to toggle back-and-forth from dark mode and "light" mode? Just as a curiosity, does this improve the web console accessibility?

@ggrandes
Copy link
Author

ggrandes commented Nov 1, 2025

@sergio-d-lemos : This CSS is automatic/dynamic and respects the system/browser configuration/preference; if the user does not require dark mode, the inner style/filter is not activated.

@media (prefers-color-scheme: dark)

Reference doc

@ggrandes-clones ggrandes-clones closed this by deleting the head repository Nov 1, 2025
@ggrandes
Copy link
Author

ggrandes commented Nov 1, 2025

Oops, this is new, I could swear that before you could delete the fork and the PR would remain 😓

@jbonofre
Copy link
Member

jbonofre commented Nov 2, 2025

@ggrandes I'm not against, but I would suggest to add a button to toggle between mode. And the PR is closed now 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants