pub fn ThemeToggle() -> ElementExpand description
Light/dark theme toggle button.
Reads theme configuration from DocsRegistry context and current theme from
the CurrentTheme context (provided by
DocsLayout or use_theme_provider).
Renders nothing if the registry has no toggle_themes configured.