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

Paul King updated GROOVY-11946:
-------------------------------
    Description: 
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.

> 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
>            Priority: Major
>
> 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)

Reply via email to