feat: implement theme toggle functionality with light, dark, and system preferences

- Added theme variables for light and dark modes in viewer-template.html.
- Created a custom hook `useTheme` to manage theme preferences and resolve the current theme based on user selection or system settings.
- Introduced `ThemeToggle` component to allow users to switch between themes.
- Updated `Header` component to include the `ThemeToggle` and pass theme preference and change handler.
- Modified `App` component to integrate theme management and pass relevant props to child components.
This commit is contained in:
Alex Newman
2025-11-06 13:10:35 -05:00
parent 2af8db6b82
commit f46b5b452f
7 changed files with 796 additions and 147 deletions
File diff suppressed because one or more lines are too long