Skip to content

Commit 8789630

Browse files
committed
Adding updates to dark styles in the header
1 parent ce76f2b commit 8789630

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

resources/js/components/app-header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export function AppHeader({ breadcrumbs = [] }: AppHeaderProps) {
6969
const getInitials = useInitials();
7070
return (
7171
<>
72-
<div className="border-b border-gray-200 ">
72+
<div className="border-b border-sidebar-border/80 ">
7373
<div className="flex h-16 items-center px-4 md:max-w-7xl mx-auto">
7474
{/* Mobile Menu */}
7575
<div className="lg:hidden">
@@ -129,7 +129,7 @@ export function AppHeader({ breadcrumbs = [] }: AppHeaderProps) {
129129
{item.title}
130130
</NavigationMenuLink>
131131
</Link>
132-
<div className="h-0.5 translate-y-px bg-black w-full absolute bottom-0 left-0"></div>
132+
<div className="h-0.5 translate-y-px bg-black dark:bg-white w-full absolute bottom-0 left-0"></div>
133133
</NavigationMenuItem>
134134
))}
135135
</NavigationMenuList>

resources/js/layouts/app-layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import AppLayoutTemplate from '@/layouts/app/app-sidebar-layout';
1+
import AppLayoutTemplate from '@/layouts/app/app-header-layout';
22
import { type BreadcrumbItem } from '@/types';
33

44
interface AppLayoutProps {

resources/js/pages/dashboard.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ export default function Dashboard() {
1717
<div className="flex h-full flex-1 flex-col gap-4 rounded-xl p-4">
1818
<div className="grid auto-rows-min gap-4 md:grid-cols-3">
1919
<div className="relative aspect-video overflow-hidden rounded-xl border border-sidebar-border/70 dark:border-sidebar-border">
20-
<PlaceholderPattern className="absolute inset-0 size-full stroke-gray-900/10 dark:stroke-neutral-100/10" />
20+
<PlaceholderPattern className="absolute inset-0 size-full stroke-gray-900/20 dark:stroke-neutral-100/20" />
2121
</div>
2222
<div className="relative aspect-video overflow-hidden rounded-xl border border-sidebar-border/70 dark:border-sidebar-border">
23-
<PlaceholderPattern className="absolute inset-0 size-full stroke-gray-900/10 dark:stroke-neutral-100/10" />
23+
<PlaceholderPattern className="absolute inset-0 size-full stroke-gray-900/20 dark:stroke-neutral-100/20" />
2424
</div>
2525
<div className="relative aspect-video overflow-hidden rounded-xl border border-sidebar-border/70 dark:border-sidebar-border">
26-
<PlaceholderPattern className="absolute inset-0 size-full stroke-gray-900/10 dark:stroke-neutral-100/10" />
26+
<PlaceholderPattern className="absolute inset-0 size-full stroke-gray-900/20 dark:stroke-neutral-100/20" />
2727
</div>
2828
</div>
2929
<div className="relative min-h-[100vh] flex-1 rounded-xl border border-sidebar-border/70 dark:border-sidebar-border md:min-h-min">
30-
<PlaceholderPattern className="absolute inset-0 size-full stroke-gray-900/10 dark:stroke-neutral-100/10" />
30+
<PlaceholderPattern className="absolute inset-0 size-full stroke-gray-900/20 dark:stroke-neutral-100/20" />
3131
</div>
3232
</div>
3333
</AppLayout>

resources/js/pages/settings/profile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const breadcrumbs: BreadcrumbItem[] = [
2323
},
2424
];
2525

26-
export default function Profile({ mustVerifyEmail, status, className = '' }: { mustVerifyEmail: boolean; status?: string; className?: string }) {
26+
export default function Profile({ mustVerifyEmail, status }: { mustVerifyEmail: boolean; status?: string; }) {
2727
const { auth } = usePage<SharedData>().props;
2828

2929
const { data, setData, patch, errors, processing, recentlySuccessful } = useForm({

0 commit comments

Comments
 (0)