Skip to content

Commit 9fd3cd5

Browse files
committed
Merge branch 'tw4' of https://github.com/laravel/react-starter-kit into tw4
2 parents c9a8a26 + 56d6e86 commit 9fd3cd5

File tree

15 files changed

+39
-42
lines changed

15 files changed

+39
-42
lines changed

resources/css/app.css

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
@custom-variant dark (&:is(.dark *));
88

99
@theme {
10-
--font-sans:
11-
Figtree, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',
12-
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
10+
--font-sans: Figtree, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
1311

1412
--radius-lg: var(--radius);
1513
--radius-md: calc(var(--radius) - 2px);
@@ -68,7 +66,6 @@
6866
color utility to any element that depends on these defaults.
6967
*/
7068
@layer base {
71-
7269
*,
7370
::after,
7471
::before,
@@ -157,4 +154,4 @@
157154
body {
158155
@apply bg-background text-foreground;
159156
}
160-
}
157+
}

resources/js/components/app-header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export function AppHeader({ breadcrumbs = [] }: AppHeaderProps) {
5353
const getInitials = useInitials();
5454
return (
5555
<>
56-
<div className="border-b border-sidebar-border/80">
56+
<div className="border-sidebar-border/80 border-b">
5757
<div className="mx-auto flex h-16 items-center px-4 md:max-w-7xl">
5858
{/* Mobile Menu */}
5959
<div className="lg:hidden">
@@ -169,7 +169,7 @@ export function AppHeader({ breadcrumbs = [] }: AppHeaderProps) {
169169
</div>
170170
</div>
171171
{breadcrumbs.length > 1 && (
172-
<div className="flex w-full border-b border-sidebar-border/70">
172+
<div className="border-sidebar-border/70 flex w-full border-b">
173173
<div className="mx-auto flex h-12 w-full items-center justify-start px-4 text-neutral-500 md:max-w-7xl">
174174
<Breadcrumbs breadcrumbs={breadcrumbs} />
175175
</div>

resources/js/components/app-logo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import AppLogoIcon from './app-logo-icon';
33
export default function AppLogo() {
44
return (
55
<>
6-
<div className="flex aspect-square size-8 items-center justify-center rounded-md bg-sidebar-primary text-sidebar-primary-foreground">
6+
<div className="bg-sidebar-primary text-sidebar-primary-foreground flex aspect-square size-8 items-center justify-center rounded-md">
77
<AppLogoIcon className="size-5 fill-current text-white dark:text-black" />
88
</div>
99
<div className="grid flex-1 text-left text-sm leading-tight">

resources/js/components/app-sidebar-header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { type BreadcrumbItem as BreadcrumbItemType } from '@/types';
44

55
export function AppSidebarHeader({ breadcrumbs = [] }: { breadcrumbs?: BreadcrumbItemType[] }) {
66
return (
7-
<header className="flex h-16 shrink-0 items-center gap-2 border-b border-sidebar-border/50 px-4 transition-[width,height] ease-linear group-has-data-[collapsible=icon]/sidebar-wrapper:h-12">
7+
<header className="border-sidebar-border/50 group-has-data-[collapsible=icon]/sidebar-wrapper:h-12 flex h-16 shrink-0 items-center gap-2 border-b px-4 transition-[width,height] ease-linear">
88
<div className="flex items-center gap-2">
99
<SidebarTrigger className="-ml-1" />
1010
<Breadcrumbs breadcrumbs={breadcrumbs} />

resources/js/components/appearance-tabs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default function AppearanceToggleTab({ className = '', ...props }: HTMLAt
2121
className={cn(
2222
'flex items-center rounded-md px-3.5 py-1.5 transition-colors',
2323
appearance === value
24-
? 'bg-white shadow-xs dark:bg-neutral-700 dark:text-neutral-100'
24+
? 'shadow-xs bg-white dark:bg-neutral-700 dark:text-neutral-100'
2525
: 'text-neutral-500 hover:bg-neutral-200/60 hover:text-black dark:text-neutral-400 dark:hover:bg-neutral-700/60',
2626
)}
2727
>

resources/js/components/heading-small.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export default function HeadingSmall({ title, description }: { title: string; de
22
return (
33
<header>
44
<h3 className="mb-0.5 text-base font-medium">{title}</h3>
5-
{description && <p className="text-xs text-muted-foreground">{description}</p>}
5+
{description && <p className="text-muted-foreground text-xs">{description}</p>}
66
</header>
77
);
88
}

resources/js/components/heading.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default function Heading({ title, description }: { title: string; descrip
55
<>
66
<div className="space-y-0.5">
77
<h2 className="text-base font-semibold tracking-tight sm:text-lg lg:text-xl">{title}</h2>
8-
{description && <p className="text-xs text-muted-foreground md:text-sm">{description}</p>}
8+
{description && <p className="text-muted-foreground text-xs md:text-sm">{description}</p>}
99
</div>
1010
<Separator className="my-6" />
1111
</>

resources/js/components/nav-user.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function NavUser() {
1717
<SidebarMenuItem>
1818
<DropdownMenu>
1919
<DropdownMenuTrigger asChild>
20-
<SidebarMenuButton size="lg" className="group text-sidebar-accent-foreground data-[state=open]:bg-sidebar-accent">
20+
<SidebarMenuButton size="lg" className="text-sidebar-accent-foreground data-[state=open]:bg-sidebar-accent group">
2121
<UserInfo user={auth.user} />
2222
<ChevronsUpDown className="ml-auto size-4" />
2323
</SidebarMenuButton>

resources/js/layouts/auth/auth-card-layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default function AuthCardLayout({
1212
description?: string;
1313
}) {
1414
return (
15-
<div className="flex min-h-svh flex-col items-center justify-center gap-6 bg-muted p-6 md:p-10">
15+
<div className="bg-muted flex min-h-svh flex-col items-center justify-center gap-6 p-6 md:p-10">
1616
<div className="flex w-full max-w-md flex-col gap-6">
1717
<a href="#" className="flex items-center gap-2 self-center font-medium">
1818
<div className="flex h-10 w-10 items-center justify-center">

resources/js/layouts/auth/auth-simple-layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ interface AuthLayoutProps {
1010

1111
export default function AuthSimpleLayout({ children, title, description }: AuthLayoutProps) {
1212
return (
13-
<div className="flex min-h-svh flex-col items-center justify-center gap-6 bg-background p-6 md:p-10">
13+
<div className="bg-background flex min-h-svh flex-col items-center justify-center gap-6 p-6 md:p-10">
1414
<div className="w-full max-w-sm">
1515
<div className="flex flex-col gap-6">
1616
<div className="flex flex-col items-center gap-2">

0 commit comments

Comments
 (0)