[ 
https://issues.apache.org/jira/browse/AMQ-9801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18034834#comment-18034834
 ] 

Guillermo Grandes commented on AMQ-9801:
----------------------------------------

I don't know how to do the button thing.

On the other hand, I see many websites that start in light mode even though the 
browser is configured for dark mode, and having to click the button on each 
website is annoying (just like cookie pop-ups). I don't know if that says much 
in favor of usability.

> 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


Reply via email to