You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2026/10/20 01:28:01 UTC

[jira] [Closed] (GROOVY-11946) support auto dark mode via prefers-color-scheme (CSS variable refactor) in groovydoc

     [ https://issues.apache.org/jira/browse/GROOVY-11946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul King closed GROOVY-11946.
------------------------------

> support auto dark mode via prefers-color-scheme (CSS variable refactor) in groovydoc
> ------------------------------------------------------------------------------------
>
>                 Key: GROOVY-11946
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11946
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 6.0.0-alpha-1
>
>
> The generated groovydoc HTML is currently light-theme only. A reader whose OS is set to dark mode gets a glaring white page regardless of system preference. Modern javadoc tooling (and most doc sites generally) honour theĀ  prefers-color-scheme CSS media query to pick a palette automatically, which removes the worst mismatch with zero UI and zero JS.
> This ticket delivers automatic theme switching driven by OS preference only. A later ticket can layer a user-facing toggle (button in the nav bar, localStorage persistence, explicit override of the OS setting) on top.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)