From
messages...to
pull requests
Your AI coding agent that turns your slack discussions into code contributions
Just tag @Shiro on Slack...

DevYesterday at 9:07 PM
👍1

ShiroAPPYesterday at 9:08 PM
Sure! I'll add a light mode toggle to your Next.js app. Here's how I am going to do it:
- Create a theme provider under
src/contexts/theme-context.tsx
- Add a theme toggle button in
src/components/ThemeToggle.tsx
- Implement theme switching in
src/app/page.tsx
and get pinged to a beautiful PR
Add Theme Context and Global State for Theme Toggle #4
OpenShiro wants to merge 1 commit into main from feature/light-mode-toggle
Conversation1
Commits3
Files changed3

Shirobot16 hours ago
This PR introduces a ThemeContext to manage light and dark themes in the Next.js app. It includes a ThemeProvider to allow components to access the theme state and toggle between themes, with persistence through localStorage.