The color picker and text input for accent color weren't syncing properly when the user changed the color picker value. This was because LiveView doesn't update input values that might have user focus, to avoid interfering with user input. Added a JavaScript LiveView hook (ColorSync) that: - Listens to 'input' events on both the color picker and text input - Syncs their values in real-time as the user interacts with either one - Provides immediate visual feedback when changing colors via the picker The hook is attached to the accent color form with phx-hook="ColorSync" and syncs the two inputs bidirectionally, ensuring they always display the same value. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| css | ||
| js | ||
| vendor | ||
| tsconfig.json | ||