Skip to content

Commit 1ba23f5

Browse files
or2oooclaude
andcommitted
fix: Improve dark mode styling for Profile page cards
- Fixed "אודות האחסון" (About Storage) card with proper dark mode colors - Updated data management buttons with dark mode borders and hover states - Added dark mode text colors for all descriptions and labels - Improved contrast and readability in dark mode 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 8f471a9 commit 1ba23f5

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/pages/Profile.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -322,24 +322,24 @@ export function Profile() {
322322
{/* Export Data */}
323323
<button
324324
onClick={handleExportData}
325-
className="w-full flex items-center justify-between p-4 border rounded-lg hover:bg-gray-50 transition-colors"
325+
className="w-full flex items-center justify-between p-4 border border-gray-300 dark:border-gray-600 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors"
326326
>
327327
<div className="flex items-center gap-3">
328328
<Download className="text-blue-600 dark:text-blue-400" size={20} />
329329
<div className="text-right">
330330
<p className="font-medium dark:text-gray-200">ייצוא נתונים</p>
331-
<p className="text-xs text-gray-600">שמור גיבוי של ההתקדמות שלך</p>
331+
<p className="text-xs text-gray-600 dark:text-gray-400">שמור גיבוי של ההתקדמות שלך</p>
332332
</div>
333333
</div>
334334
</button>
335335

336336
{/* Import Data */}
337-
<label className="w-full flex items-center justify-between p-4 border rounded-lg hover:bg-gray-50 transition-colors cursor-pointer">
337+
<label className="w-full flex items-center justify-between p-4 border border-gray-300 dark:border-gray-600 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors cursor-pointer">
338338
<div className="flex items-center gap-3">
339339
<Upload className="text-green-600 dark:text-green-400" size={20} />
340340
<div className="text-right">
341341
<p className="font-medium dark:text-gray-200">ייבוא נתונים</p>
342-
<p className="text-xs text-gray-600">שחזר נתונים מגיבוי</p>
342+
<p className="text-xs text-gray-600 dark:text-gray-400">שחזר נתונים מגיבוי</p>
343343
</div>
344344
</div>
345345
<input
@@ -353,26 +353,26 @@ export function Profile() {
353353
{/* Delete Data */}
354354
<button
355355
onClick={() => setShowDeleteConfirm(true)}
356-
className="w-full flex items-center justify-between p-4 border border-red-200 rounded-lg hover:bg-red-50 transition-colors"
356+
className="w-full flex items-center justify-between p-4 border border-red-200 dark:border-red-800 rounded-lg hover:bg-red-50 dark:hover:bg-red-900/20 transition-colors"
357357
>
358358
<div className="flex items-center gap-3">
359359
<Trash2 className="text-red-600 dark:text-red-400" size={20} />
360360
<div className="text-right">
361361
<p className="font-medium text-red-600 dark:text-red-400">מחיקת כל הנתונים</p>
362-
<p className="text-xs text-gray-600">איפוס מלא של ההתקדמות</p>
362+
<p className="text-xs text-gray-600 dark:text-gray-400">איפוס מלא של ההתקדמות</p>
363363
</div>
364364
</div>
365365
</button>
366366
</div>
367367
</motion.div>
368368

369369
{/* Info Card */}
370-
<div className="bg-blue-50 border border-blue-200 rounded-xl p-4">
371-
<h4 className="font-semibold text-blue-900 mb-2 flex items-center gap-2">
370+
<div className="bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-800 rounded-xl p-4 transition-all duration-300">
371+
<h4 className="font-semibold text-blue-900 dark:text-blue-300 mb-2 flex items-center gap-2">
372372
<BookmarkCheck size={20} />
373373
אודות האחסון
374374
</h4>
375-
<p className="text-sm text-blue-800">
375+
<p className="text-sm text-blue-800 dark:text-blue-200">
376376
כל הנתונים שלך נשמרים באופן מקומי בדפדפן שלך. הם לא נשלחים לשום שרת חיצוני.
377377
הנתונים יישמרו גם לאחר סגירת הדפדפן, אך עשויים להימחק אם תנקה את נתוני הדפדפן.
378378
</p>

0 commit comments

Comments
 (0)