Refactor ThemeProvider to load themes dynamically from the theme
registry. Themes are applied via CSS variable injection on the
html element, enabling instant switching between all 5 built-in
themes without page reload. Backward-compatible resolvedTheme
and toggleTheme APIs are preserved.
Refs: #487
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>