diff --git a/src/App.tsx b/src/App.tsx index 05f25bc..99556c0 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,5 +1,5 @@ import React, { useState, useEffect } from 'react'; -import { ChevronLeft, ChevronRight, Sun, Moon } from 'lucide-react'; +import { ChevronLeft, ChevronRight, Sun, Moon, Plus } from 'lucide-react'; import { HabitList } from './components/HabitList'; import { Calendar } from './components/Calendar'; import { Sidebar } from './components/Sidebar'; @@ -89,21 +89,50 @@ function HabitTrackerContent() { const renderHabitsView = () => (
-
-
- setNewHabit(e.target.value)} - placeholder="Add a new habit" - className={`flex-1 px-4 py-2 rounded-lg ${theme.input}`} - /> +
+ +
+ + setNewHabit(e.target.value)} + placeholder="Add a new habit" + className={` + w-full px-12 py-3 + rounded-lg + transition-all duration-200 + ${theme.input} + focus:ring-2 focus:ring-blue-500/20 focus:outline-none + placeholder:opacity-50 + `} + /> +