When theme is set to 'auto', checking theme === 'dark' returns false even
when the system preference is dark mode. This caused charts and custom
styles to use light mode colors in a dark UI.
Fixed by using resolvedTheme which correctly resolves to 'light' or 'dark'
based on system preference when in auto mode.
Fixes the issue reported in PR #29 review.
- Use unique ID prefix for clipPath to avoid duplicate ID issues
- Add cleanup function to initializeTheme to prevent memory leak
- Change tooltip to show action description instead of current theme name
- Add 'auto' to Theme type
- Implement cycleTheme (light -> dark -> auto)
- Add autoTheme icon (sun with half-filled center)
- Listen to system theme changes in auto mode
Also includes some Prettier formatting fixes.
- Add formatUnixTimestamp utility to auto-detect timestamp precision (s/ms/μs/ns)
- Fix incorrect file modification time display in logs page
- Remove fixed height constraint from AuthFilesPage model list