[
https://issues.apache.org/jira/browse/AMQ-9801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18034835#comment-18034835
]
Jean-Baptiste Onofré commented on AMQ-9801:
-------------------------------------------
My point is to start the mode corresponding to the browser, but allow the user
to switch to other mode. Like this we do both usability and user override.
> Support for Dark Mode in web-console
> ------------------------------------
>
> Key: AMQ-9801
> URL: https://issues.apache.org/jira/browse/AMQ-9801
> Project: ActiveMQ Classic
> Issue Type: Improvement
> Components: Web Console
> Reporter: Guillermo Grandes
> Assignee: Jean-Baptiste Onofré
> Priority: Minor
> Attachments: darkmode.png, patch.diff
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> It would be great to have support for dark mode in the web console.
> For now, I can provide a small approximation in the absence of a better
> solution.
> I will make a pull request on Github with the patch. In broad terms, this
> would be the (minimal) change.
> {code:css}
> @media (prefers-color-scheme: dark) {
> html {
> -webkit-filter: invert() sepia() contrast(75%) !important;
> filter: invert() sepia() contrast(75%) !important;
> }
> }
> {code}
> And this is what it would look like (zen-like), when the browser indicates
> that it prefers dark mode:
> !darkmode.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact