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') - +