Add a url param to specify dark mode?

David Alayachew davidalayachew at gmail.com
Mon Nov 17 12:36:19 UTC 2025


Thanks for the response Hannes.

Then I vote that we default to system settings. That is what their system
is requesting, after all. The fact that we ignored it historically seems to
be a weak justification to ignore what is actively being requested
now. Having the default be system settings makes more sense imo.

And it's not like browsers or OS' are defaulting to Dark Mode -- that's
something you have to opt-in to. So, the javadoc website is merely marching
to the beat set by the user's choice on the OS/Browser.

But if you still disagree, then that's fine. Turns out there are different
extensions that can do this for me anyways. Even on my fully locked down
browser, it looks like I can download Dark Reader for Firefox, allowing me
to fix my problem.

On Mon, Nov 17, 2025 at 6:52 AM Hannes Wallnoefer <
hannes.wallnoefer at oracle.com> wrote:

> Hi David,
>
> Thanks for your feedback. Among the options you mention, I think following
> the system setting by default is the one I like best. The reason we kept
> the light theme as default was to introduce the feature with as little
> disruption as possible, but I’m open to reconsider that decision.
>
> Hannes
>
> On 15.11.2025, at 07:38, David Alayachew <davidalayachew at gmail.com> wrote:
>
> Hello @javadoc-dev at openjdk.org <javadoc-dev at openjdk.org>,
>
> I am forced to use a browser that wipes history, cookies, sessions, etc.
> on close, leaving behind only bookmarks and settings. That means that I
> have to reapply Dark Mode multiple times a day (on the ea Java 26 docs).
> It's not that big a deal, but I would appreciate a url (better yet, the %s
> search engine!) that has dark mode activated as part of the url. Either
> that, or have the default be system setting (or give me a url that does
> that).
>
> Thank you for your time and consideration.
> David Alayachew
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/javadoc-dev/attachments/20251117/1e360ef6/attachment-0001.htm>


More information about the javadoc-dev mailing list