Open Issues Need Help
View All on GitHubAI Summary: Implement dark mode functionality in a Next.js application. This involves adding CSS variables and selectors for a dark theme, creating a toggle button to switch between light and dark modes, persisting user preferences using localStorage, and respecting the user's system preference. The implementation should be accessible and follow best practices.
AI Summary: Style a Next.js TodoItem component using BEM methodology and CSS variables defined in `app/globals.css`. The styling must match provided design screenshots for default, hover, and focus states. No changes to the component's markup or logic are allowed.
AI Summary: Write unit tests for a Next.js application's custom hook, `useTodos`, covering all CRUD operations, error handling, and state management. This involves creating a test file (`hooks/use-todos.spec.ts`), mocking API calls using Jest, and ensuring all tests pass using React Testing Library and TypeScript.