From dfee2ff5c812250741333075ffb5b0b7a2c9ff49 Mon Sep 17 00:00:00 2001 From: Naser Mansour Date: Thu, 8 Jan 2026 19:15:02 +0200 Subject: [PATCH] removed dark mod and applied fixes for text colors --- lang/ar/navigation.php | 1 - lang/en/navigation.php | 1 - resources/css/app.css | 118 ++++++++++++++++-- .../components/layouts/app/header.blade.php | 10 +- .../components/layouts/app/sidebar.blade.php | 14 +-- .../components/layouts/auth/card.blade.php | 4 +- .../components/layouts/auth/simple.blade.php | 2 +- .../components/settings/layout.blade.php | 1 - resources/views/dashboard.blade.php | 16 +-- resources/views/flux/navlist/group.blade.php | 4 +- .../views/livewire/admin/audit-logs.blade.php | 46 +++---- .../livewire/admin/bookings/pending.blade.php | 12 +- .../livewire/admin/bookings/review.blade.php | 50 ++++---- .../admin/clients/company/create.blade.php | 6 +- .../admin/clients/company/edit.blade.php | 6 +- .../admin/clients/company/index.blade.php | 40 +++--- .../admin/clients/company/show.blade.php | 82 ++++++------ .../clients/consultation-history.blade.php | 36 +++--- .../convert-to-company-modal.blade.php | 10 +- .../convert-to-individual-modal.blade.php | 8 +- .../admin/clients/individual/create.blade.php | 6 +- .../admin/clients/individual/edit.blade.php | 6 +- .../admin/clients/individual/index.blade.php | 40 +++--- .../admin/clients/individual/show.blade.php | 74 +++++------ .../admin/clients/lifecycle-actions.blade.php | 12 +- .../export-consultations.blade.php | 14 +-- .../admin/consultations/index.blade.php | 22 ++-- .../admin/consultations/show.blade.php | 72 +++++------ .../views/livewire/admin/dashboard.blade.php | 106 ++++++++-------- .../views/livewire/admin/pages/edit.blade.php | 69 +++------- .../livewire/admin/pages/index.blade.php | 12 +- .../livewire/admin/posts/create.blade.php | 22 ++-- .../views/livewire/admin/posts/edit.blade.php | 28 ++--- .../livewire/admin/posts/index.blade.php | 26 ++-- .../admin/reports/monthly-report.blade.php | 20 +-- .../admin/settings/blocked-times.blade.php | 12 +- .../admin/settings/working-hours.blade.php | 16 +-- .../livewire/admin/timelines/create.blade.php | 24 ++-- .../timelines/export-timelines.blade.php | 22 ++-- .../livewire/admin/timelines/index.blade.php | 30 ++--- .../livewire/admin/timelines/show.blade.php | 26 ++-- .../admin/users/export-users.blade.php | 14 +-- .../admin/widgets/pending-bookings.blade.php | 10 +- .../admin/widgets/recent-updates.blade.php | 10 +- .../admin/widgets/todays-schedule.blade.php | 8 +- resources/views/livewire/auth/login.blade.php | 2 +- .../views/livewire/auth/register.blade.php | 2 +- .../livewire/auth/verify-email.blade.php | 2 +- .../livewire/availability-calendar.blade.php | 32 ++--- .../client/consultations/book.blade.php | 34 ++--- .../client/consultations/index.blade.php | 40 +++--- .../views/livewire/client/dashboard.blade.php | 22 ++-- .../views/livewire/client/profile.blade.php | 30 ++--- .../livewire/client/timelines/index.blade.php | 24 ++-- .../livewire/client/timelines/show.blade.php | 12 +- .../livewire/pages/booking-success.blade.php | 2 +- .../views/livewire/pages/booking.blade.php | 14 +-- .../livewire/settings/appearance.blade.php | 19 --- .../views/livewire/settings/profile.blade.php | 12 +- .../livewire/settings/two-factor.blade.php | 26 ++-- .../two-factor/recovery-codes.blade.php | 4 +- resources/views/pages/legal.blade.php | 8 +- resources/views/partials/head.blade.php | 1 - routes/web.php | 1 - 64 files changed, 744 insertions(+), 711 deletions(-) delete mode 100644 resources/views/livewire/settings/appearance.blade.php diff --git a/lang/ar/navigation.php b/lang/ar/navigation.php index 586a2bb..4b51d18 100644 --- a/lang/ar/navigation.php +++ b/lang/ar/navigation.php @@ -6,7 +6,6 @@ return [ 'settings' => 'الإعدادات', 'profile' => 'الملف الشخصي', 'password' => 'كلمة المرور', - 'appearance' => 'المظهر', 'two_factor' => 'المصادقة الثنائية', 'logout' => 'تسجيل الخروج', 'login' => 'تسجيل الدخول', diff --git a/lang/en/navigation.php b/lang/en/navigation.php index 9497290..88368f5 100644 --- a/lang/en/navigation.php +++ b/lang/en/navigation.php @@ -6,7 +6,6 @@ return [ 'settings' => 'Settings', 'profile' => 'Profile', 'password' => 'Password', - 'appearance' => 'Appearance', 'two_factor' => 'Two-Factor Authentication', 'logout' => 'Log Out', 'login' => 'Login', diff --git a/resources/css/app.css b/resources/css/app.css index 8ffb8eb..d1c0fc7 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -9,8 +9,6 @@ @source '../../vendor/livewire/flux-pro/stubs/**/*.blade.php'; @source '../../vendor/livewire/flux/stubs/**/*.blade.php'; -@custom-variant dark (&:where(.dark, .dark *)); - @theme { /* Font definitions - to be updated in typography story */ --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; @@ -72,14 +70,6 @@ --color-warning: #F39C12; } -@layer theme { - .dark { - --color-accent: var(--color-white); - --color-accent-content: var(--color-white); - --color-accent-foreground: var(--color-neutral-800); - } -} - @layer base { *, @@ -91,6 +81,112 @@ } } +/* ========================================================================== + Flux UI Light Mode Overrides + Ensure proper text visibility after dark mode removal + ========================================================================== */ + +/* Flux Headings - ensure dark text */ +[data-flux-heading] { + color: rgb(24 24 27) !important; +} + +/* Flux Text/Subheading - ensure readable gray */ +[data-flux-text], +[data-flux-subheading] { + color: rgb(113 113 122) !important; +} + +/* Navlist group headings */ +[data-flux-navlist-group] > div:first-child { + color: rgb(113 113 122) !important; +} + +/* Navlist items */ +[data-flux-navlist-item] { + color: rgb(63 63 70) !important; +} + +[data-flux-navlist-item]:hover { + color: rgb(24 24 27) !important; + background-color: rgb(244 244 245) !important; +} + +[data-flux-navlist-item][data-current="true"], +[data-flux-navlist-item][aria-current="page"] { + color: rgb(24 24 27) !important; + background-color: rgb(244 244 245) !important; +} + +/* Flux Menu items */ +[data-flux-menu-item] { + color: rgb(63 63 70) !important; +} + +[data-flux-menu-item]:hover { + color: rgb(24 24 27) !important; + background-color: rgb(244 244 245) !important; +} + +/* Flux Modal content */ +[data-flux-modal] { + background-color: rgb(255 255 255) !important; + color: rgb(24 24 27) !important; +} + +/* Flux Dropdown/Select */ +[data-flux-menu], +[data-flux-listbox] { + background-color: rgb(255 255 255) !important; + border-color: rgb(228 228 231) !important; +} + +/* Flux Profile text */ +[data-flux-profile] span { + color: rgb(63 63 70) !important; +} + +/* Flux Badge - ensure text is visible */ +[data-flux-badge] { + color: rgb(255 255 255) !important; +} + +/* Flux Badge variants with proper contrast */ +[data-flux-badge][data-variant="outline"] { + color: rgb(63 63 70) !important; +} + +/* Flux Callout text */ +[data-flux-callout], +[data-flux-callout] * { + color: rgb(63 63 70) !important; +} + +[data-flux-callout-heading] { + color: rgb(24 24 27) !important; +} + +/* Flux Table cells */ +[data-flux-table] td, +[data-flux-table] th { + color: rgb(63 63 70) !important; +} + +[data-flux-table] th { + color: rgb(24 24 27) !important; +} + +/* Flux Card content */ +[data-flux-card] { + background-color: rgb(255 255 255) !important; + color: rgb(63 63 70) !important; +} + +/* Flux Separator */ +[data-flux-separator] { + background-color: rgb(228 228 231) !important; +} + /* ========================================================================== Logo Badge Styling (Story 12.2) Creates "seal/stamp" effect for logo on Dark Charcoal backgrounds @@ -673,7 +769,7 @@ img, video, iframe { } .timeline-line { - @apply absolute top-0 bottom-0 w-0.5 bg-zinc-200 dark:bg-zinc-700; + @apply absolute top-0 bottom-0 w-0.5 bg-zinc-200; @apply start-4 sm:start-6; } diff --git a/resources/views/components/layouts/app/header.blade.php b/resources/views/components/layouts/app/header.blade.php index e98fb07..7b4d83f 100644 --- a/resources/views/components/layouts/app/header.blade.php +++ b/resources/views/components/layouts/app/header.blade.php @@ -1,10 +1,10 @@ - + @include('partials.head') - - + + @@ -56,7 +56,7 @@
{{ auth()->user()->initials() }} @@ -89,7 +89,7 @@ - + diff --git a/resources/views/components/layouts/app/sidebar.blade.php b/resources/views/components/layouts/app/sidebar.blade.php index ab4bdf5..77ae456 100644 --- a/resources/views/components/layouts/app/sidebar.blade.php +++ b/resources/views/components/layouts/app/sidebar.blade.php @@ -1,15 +1,15 @@ - + @include('partials.head') - + - + @php @@ -179,7 +179,7 @@
@@ -222,7 +222,7 @@
{{ auth()->user()->initials() }} @@ -266,7 +266,7 @@ @endphp @@ -293,7 +293,7 @@
{{ auth()->user()->initials() }} diff --git a/resources/views/components/layouts/auth/card.blade.php b/resources/views/components/layouts/auth/card.blade.php index 22db925..5239e65 100644 --- a/resources/views/components/layouts/auth/card.blade.php +++ b/resources/views/components/layouts/auth/card.blade.php @@ -3,7 +3,7 @@ @include('partials.head') - +
-
+
{{ $slot }}
diff --git a/resources/views/components/layouts/auth/simple.blade.php b/resources/views/components/layouts/auth/simple.blade.php index 6519834..a4f2ffd 100644 --- a/resources/views/components/layouts/auth/simple.blade.php +++ b/resources/views/components/layouts/auth/simple.blade.php @@ -3,7 +3,7 @@ @include('partials.head') - +