Skip to content

Conversation

@kmkkiii
Copy link
Owner

@kmkkiii kmkkiii commented Jun 21, 2025

Fixes #1

Summary

  • Fixed theme state mismatch between component and localStorage
  • Added proper localStorage initialization on mount
  • Improved Safari compatibility with fallback event listeners
  • Removed problematic MutationObserver causing sync issues
  • Enhanced system preference change handling

Test plan

  • Test theme toggle on Safari mobile
  • Verify theme persistence across page reloads
  • Test system theme preference changes
  • Run build and lint commands

Generated with Claude Code

- Fix theme state mismatch between component and localStorage
- Add proper localStorage initialization on mount
- Improve Safari compatibility with fallback event listeners
- Remove problematic MutationObserver causing sync issues
- Enhance system preference change handling

Co-authored-by: KOMAKI Ryosuke <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

スマホのSafariでテーマ切り替えボタンが動作していない

2 participants