Skip to content

Add theme dropdown with animated icon morphing#11

Merged
jakebodea merged 1 commit intodevfrom
feat/theme-dropdown
Feb 8, 2026
Merged

Add theme dropdown with animated icon morphing#11
jakebodea merged 1 commit intodevfrom
feat/theme-dropdown

Conversation

@jakebodea
Copy link
Owner

@jakebodea jakebodea commented Feb 8, 2026

Summary

  • Replace simple dark/light toggle with a dropdown offering dark, light, and system theme options
  • Animated icon morphing via Framer Motion when theme changes
  • t keyboard shortcut preserved as dark/light toggle
  • Default theme changed from system to dark

Closes #10

Test plan

  • Click theme button: dropdown opens with animation, shows three options
  • Select each option: icon morphs smoothly, theme applies correctly
  • Click outside: dropdown closes
  • Press t: toggles dark/light with icon morph, closes dropdown if open
  • Press Escape: closes dropdown
  • System option: resolves to OS preference
  • Mobile: dropdown works, icon is larger (h-5 w-5)

🤖 Generated with Claude Code


Note

Low Risk
Primarily UI behavior changes around theme selection and keyboard handling; low risk aside from potential hydration/UX regressions in the new client-side dropdown interactions.

Overview
Updates the site to default to dark theme (instead of system) while still allowing system theming.

Replaces the simple top-nav dark/light toggle with a new ThemeToggle dropdown that offers dark/light/system options, adds Framer Motion icon transition animations, supports click-outside and Escape to dismiss, and preserves the t keyboard shortcut to toggle dark/light (now handled within the toggle component).

Written by Cursor Bugbot for commit 9a0821d. This will update automatically on new commits. Configure here.

Replace the simple dark/light toggle button with a dropdown offering
dark, light, and system theme options. Icons morph smoothly via Framer
Motion on theme change. The `t` shortcut remains as a dark/light toggle.

Closes #10

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link
Contributor

vercel bot commented Feb 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
personal-website Ready Ready Preview, Comment Feb 8, 2026 3:08am

@jakebodea jakebodea merged commit a292361 into dev Feb 8, 2026
4 checks passed
@jakebodea jakebodea deleted the feat/theme-dropdown branch February 8, 2026 03:17
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.

1 participant