getTheme

The theme lock mode for the generated documentation.

  • "auto" (default) — emit a prefers-color-scheme media query so each reader sees their OS preference.
  • "light" — lock the palette to light regardless of OS.
  • "dark" — lock the palette to dark regardless of OS.
Any other value is treated as "auto". Only has an effect with Groovy 6.0.0 or later; the option is silently ignored with earlier Groovy versions.

Since

9.8.0