On Thu, 17 Jul 2025 11:52:37 GMT, Hannes Wallnöfer <hann...@openjdk.org> wrote:
>> Please review an enhancement to add a dark theme to javadoc-generated API >> documentation. There is a new button in the top right corner that brings up >> a menu to switch between themes. Available options are "Light", "Dark", and >> "System Setting" (following the system-wide theme setting). The selected >> theme is stored and preserved across browser sessions. >> >> Generated docs [can be viewed >> here](https://cr.openjdk.org/~hannesw/8342705/api.03/java.base/java/lang/package-summary.html) >> (module `java.base` only). >> >> Screenshots below show both themes and how to switch between them. >> >> <img width="1155" height="743" alt="light-theme" >> src="https://github.com/user-attachments/assets/d3b5703d-67d0-4f70-b8e4-39de13b74600" >> /> >> <img width="1155" height="742" alt="dark-theme" >> src="https://github.com/user-attachments/assets/ab6f479b-df94-42bf-9c87-eea3978f38f1" >> /> > > Hannes Wallnöfer has updated the pull request with a new target base due to a > merge or a rebase. The pull request now contains 10 commits: > > - Update search tag highlight colors > - Update link colors > - Merge branch 'master' into JDK-8342705 > - Finalize dark theme > - Fix icon colors for dark theme > - Improve theme support > - Set light theme by default > - Improve dark theme, implement theme switcher > - Merge branch 'master' into JDK-8342705 > - JDK-8342705: Add dark mode for docs I updated the PR with changes described in my previous comment. ------------- PR Comment: https://git.openjdk.org/jdk/pull/26185#issuecomment-3083766307