- Add darkMode: class to tailwind config for class-based dark mode
- Load saved theme from localStorage on mount and apply immediately
- Add media query listener for system theme changes in system mode
- Prompt for filename before creating new file
- POST to /api/files to create the file on backend
- Set created file as currentFile and enter editing mode
- Add error handling for failed API calls