Skip to content

Commit 55fc830

Browse files
committed
formater: format
1 parent b3c796e commit 55fc830

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+2262
-2311
lines changed

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"plugins": ["prettier-plugin-organize-imports", "prettier-plugin-tailwindcss"],
88
"tailwindFunctions": ["clsx", "cn"],
99
"tailwindStylesheet": "resources/css/app.css",
10-
"tabWidth": 4,
10+
"tabWidth": 2,
1111
"overrides": [
1212
{
1313
"files": "**/*.yml",

resources/css/app.css

Lines changed: 114 additions & 115 deletions
Original file line numberDiff line numberDiff line change
@@ -8,55 +8,54 @@
88
@custom-variant dark (&:is(.dark *));
99

1010
@theme {
11-
--font-sans:
12-
'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
11+
--font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
1312

14-
--radius-lg: var(--radius);
15-
--radius-md: calc(var(--radius) - 2px);
16-
--radius-sm: calc(var(--radius) - 4px);
13+
--radius-lg: var(--radius);
14+
--radius-md: calc(var(--radius) - 2px);
15+
--radius-sm: calc(var(--radius) - 4px);
1716

18-
--color-background: var(--background);
19-
--color-foreground: var(--foreground);
17+
--color-background: var(--background);
18+
--color-foreground: var(--foreground);
2019

21-
--color-card: var(--card);
22-
--color-card-foreground: var(--card-foreground);
20+
--color-card: var(--card);
21+
--color-card-foreground: var(--card-foreground);
2322

24-
--color-popover: var(--popover);
25-
--color-popover-foreground: var(--popover-foreground);
23+
--color-popover: var(--popover);
24+
--color-popover-foreground: var(--popover-foreground);
2625

27-
--color-primary: var(--primary);
28-
--color-primary-foreground: var(--primary-foreground);
26+
--color-primary: var(--primary);
27+
--color-primary-foreground: var(--primary-foreground);
2928

30-
--color-secondary: var(--secondary);
31-
--color-secondary-foreground: var(--secondary-foreground);
29+
--color-secondary: var(--secondary);
30+
--color-secondary-foreground: var(--secondary-foreground);
3231

33-
--color-muted: var(--muted);
34-
--color-muted-foreground: var(--muted-foreground);
32+
--color-muted: var(--muted);
33+
--color-muted-foreground: var(--muted-foreground);
3534

36-
--color-accent: var(--accent);
37-
--color-accent-foreground: var(--accent-foreground);
35+
--color-accent: var(--accent);
36+
--color-accent-foreground: var(--accent-foreground);
3837

39-
--color-destructive: var(--destructive);
40-
--color-destructive-foreground: var(--destructive-foreground);
38+
--color-destructive: var(--destructive);
39+
--color-destructive-foreground: var(--destructive-foreground);
4140

42-
--color-border: var(--border);
43-
--color-input: var(--input);
44-
--color-ring: var(--ring);
41+
--color-border: var(--border);
42+
--color-input: var(--input);
43+
--color-ring: var(--ring);
4544

46-
--color-chart-1: var(--chart-1);
47-
--color-chart-2: var(--chart-2);
48-
--color-chart-3: var(--chart-3);
49-
--color-chart-4: var(--chart-4);
50-
--color-chart-5: var(--chart-5);
45+
--color-chart-1: var(--chart-1);
46+
--color-chart-2: var(--chart-2);
47+
--color-chart-3: var(--chart-3);
48+
--color-chart-4: var(--chart-4);
49+
--color-chart-5: var(--chart-5);
5150

52-
--color-sidebar: var(--sidebar);
53-
--color-sidebar-foreground: var(--sidebar-foreground);
54-
--color-sidebar-primary: var(--sidebar-primary);
55-
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
56-
--color-sidebar-accent: var(--sidebar-accent);
57-
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
58-
--color-sidebar-border: var(--sidebar-border);
59-
--color-sidebar-ring: var(--sidebar-ring);
51+
--color-sidebar: var(--sidebar);
52+
--color-sidebar-foreground: var(--sidebar-foreground);
53+
--color-sidebar-primary: var(--sidebar-primary);
54+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
55+
--color-sidebar-accent: var(--sidebar-accent);
56+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
57+
--color-sidebar-border: var(--sidebar-border);
58+
--color-sidebar-ring: var(--sidebar-ring);
6059
}
6160

6261
/*
@@ -68,92 +67,92 @@
6867
color utility to any element that depends on these defaults.
6968
*/
7069
@layer base {
71-
*,
72-
::after,
73-
::before,
74-
::backdrop,
75-
::file-selector-button {
76-
border-color: var(--color-gray-200, currentColor);
77-
}
70+
*,
71+
::after,
72+
::before,
73+
::backdrop,
74+
::file-selector-button {
75+
border-color: var(--color-gray-200, currentColor);
76+
}
7877
}
7978

8079
:root {
81-
--background: oklch(1 0 0);
82-
--foreground: oklch(0.145 0 0);
83-
--card: oklch(1 0 0);
84-
--card-foreground: oklch(0.145 0 0);
85-
--popover: oklch(1 0 0);
86-
--popover-foreground: oklch(0.145 0 0);
87-
--primary: oklch(0.205 0 0);
88-
--primary-foreground: oklch(0.985 0 0);
89-
--secondary: oklch(0.97 0 0);
90-
--secondary-foreground: oklch(0.205 0 0);
91-
--muted: oklch(0.97 0 0);
92-
--muted-foreground: oklch(0.556 0 0);
93-
--accent: oklch(0.97 0 0);
94-
--accent-foreground: oklch(0.205 0 0);
95-
--destructive: oklch(0.577 0.245 27.325);
96-
--destructive-foreground: oklch(0.577 0.245 27.325);
97-
--border: oklch(0.922 0 0);
98-
--input: oklch(0.922 0 0);
99-
--ring: oklch(0.87 0 0);
100-
--chart-1: oklch(0.646 0.222 41.116);
101-
--chart-2: oklch(0.6 0.118 184.704);
102-
--chart-3: oklch(0.398 0.07 227.392);
103-
--chart-4: oklch(0.828 0.189 84.429);
104-
--chart-5: oklch(0.769 0.188 70.08);
105-
--radius: 0.625rem;
106-
--sidebar: oklch(0.985 0 0);
107-
--sidebar-foreground: oklch(0.145 0 0);
108-
--sidebar-primary: oklch(0.205 0 0);
109-
--sidebar-primary-foreground: oklch(0.985 0 0);
110-
--sidebar-accent: oklch(0.97 0 0);
111-
--sidebar-accent-foreground: oklch(0.205 0 0);
112-
--sidebar-border: oklch(0.922 0 0);
113-
--sidebar-ring: oklch(0.87 0 0);
80+
--background: oklch(1 0 0);
81+
--foreground: oklch(0.145 0 0);
82+
--card: oklch(1 0 0);
83+
--card-foreground: oklch(0.145 0 0);
84+
--popover: oklch(1 0 0);
85+
--popover-foreground: oklch(0.145 0 0);
86+
--primary: oklch(0.205 0 0);
87+
--primary-foreground: oklch(0.985 0 0);
88+
--secondary: oklch(0.97 0 0);
89+
--secondary-foreground: oklch(0.205 0 0);
90+
--muted: oklch(0.97 0 0);
91+
--muted-foreground: oklch(0.556 0 0);
92+
--accent: oklch(0.97 0 0);
93+
--accent-foreground: oklch(0.205 0 0);
94+
--destructive: oklch(0.577 0.245 27.325);
95+
--destructive-foreground: oklch(0.577 0.245 27.325);
96+
--border: oklch(0.922 0 0);
97+
--input: oklch(0.922 0 0);
98+
--ring: oklch(0.87 0 0);
99+
--chart-1: oklch(0.646 0.222 41.116);
100+
--chart-2: oklch(0.6 0.118 184.704);
101+
--chart-3: oklch(0.398 0.07 227.392);
102+
--chart-4: oklch(0.828 0.189 84.429);
103+
--chart-5: oklch(0.769 0.188 70.08);
104+
--radius: 0.625rem;
105+
--sidebar: oklch(0.985 0 0);
106+
--sidebar-foreground: oklch(0.145 0 0);
107+
--sidebar-primary: oklch(0.205 0 0);
108+
--sidebar-primary-foreground: oklch(0.985 0 0);
109+
--sidebar-accent: oklch(0.97 0 0);
110+
--sidebar-accent-foreground: oklch(0.205 0 0);
111+
--sidebar-border: oklch(0.922 0 0);
112+
--sidebar-ring: oklch(0.87 0 0);
114113
}
115114

116115
.dark {
117-
--background: oklch(0.145 0 0);
118-
--foreground: oklch(0.985 0 0);
119-
--card: oklch(0.145 0 0);
120-
--card-foreground: oklch(0.985 0 0);
121-
--popover: oklch(0.145 0 0);
122-
--popover-foreground: oklch(0.985 0 0);
123-
--primary: oklch(0.985 0 0);
124-
--primary-foreground: oklch(0.205 0 0);
125-
--secondary: oklch(0.269 0 0);
126-
--secondary-foreground: oklch(0.985 0 0);
127-
--muted: oklch(0.269 0 0);
128-
--muted-foreground: oklch(0.708 0 0);
129-
--accent: oklch(0.269 0 0);
130-
--accent-foreground: oklch(0.985 0 0);
131-
--destructive: oklch(0.396 0.141 25.723);
132-
--destructive-foreground: oklch(0.637 0.237 25.331);
133-
--border: oklch(0.269 0 0);
134-
--input: oklch(0.269 0 0);
135-
--ring: oklch(0.439 0 0);
136-
--chart-1: oklch(0.488 0.243 264.376);
137-
--chart-2: oklch(0.696 0.17 162.48);
138-
--chart-3: oklch(0.769 0.188 70.08);
139-
--chart-4: oklch(0.627 0.265 303.9);
140-
--chart-5: oklch(0.645 0.246 16.439);
141-
--sidebar: oklch(0.205 0 0);
142-
--sidebar-foreground: oklch(0.985 0 0);
143-
--sidebar-primary: oklch(0.985 0 0);
144-
--sidebar-primary-foreground: oklch(0.985 0 0);
145-
--sidebar-accent: oklch(0.269 0 0);
146-
--sidebar-accent-foreground: oklch(0.985 0 0);
147-
--sidebar-border: oklch(0.269 0 0);
148-
--sidebar-ring: oklch(0.439 0 0);
116+
--background: oklch(0.145 0 0);
117+
--foreground: oklch(0.985 0 0);
118+
--card: oklch(0.145 0 0);
119+
--card-foreground: oklch(0.985 0 0);
120+
--popover: oklch(0.145 0 0);
121+
--popover-foreground: oklch(0.985 0 0);
122+
--primary: oklch(0.985 0 0);
123+
--primary-foreground: oklch(0.205 0 0);
124+
--secondary: oklch(0.269 0 0);
125+
--secondary-foreground: oklch(0.985 0 0);
126+
--muted: oklch(0.269 0 0);
127+
--muted-foreground: oklch(0.708 0 0);
128+
--accent: oklch(0.269 0 0);
129+
--accent-foreground: oklch(0.985 0 0);
130+
--destructive: oklch(0.396 0.141 25.723);
131+
--destructive-foreground: oklch(0.637 0.237 25.331);
132+
--border: oklch(0.269 0 0);
133+
--input: oklch(0.269 0 0);
134+
--ring: oklch(0.439 0 0);
135+
--chart-1: oklch(0.488 0.243 264.376);
136+
--chart-2: oklch(0.696 0.17 162.48);
137+
--chart-3: oklch(0.769 0.188 70.08);
138+
--chart-4: oklch(0.627 0.265 303.9);
139+
--chart-5: oklch(0.645 0.246 16.439);
140+
--sidebar: oklch(0.205 0 0);
141+
--sidebar-foreground: oklch(0.985 0 0);
142+
--sidebar-primary: oklch(0.985 0 0);
143+
--sidebar-primary-foreground: oklch(0.985 0 0);
144+
--sidebar-accent: oklch(0.269 0 0);
145+
--sidebar-accent-foreground: oklch(0.985 0 0);
146+
--sidebar-border: oklch(0.269 0 0);
147+
--sidebar-ring: oklch(0.439 0 0);
149148
}
150149

151150
@layer base {
152-
* {
153-
@apply border-border;
154-
}
151+
* {
152+
@apply border-border;
153+
}
155154

156-
body {
157-
@apply bg-background text-foreground;
158-
}
155+
body {
156+
@apply bg-background text-foreground;
157+
}
159158
}

resources/js/app.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ import { initializeTheme } from './hooks/use-appearance';
88
const appName = import.meta.env.VITE_APP_NAME || 'Laravel';
99

1010
createInertiaApp({
11-
title: (title) => title ? `${title} - ${appName}` : appName,
12-
resolve: (name) => resolvePageComponent(`./pages/${name}.tsx`, import.meta.glob('./pages/**/*.tsx')),
13-
setup({ el, App, props }) {
14-
const root = createRoot(el);
11+
title: (title) => (title ? `${title} - ${appName}` : appName),
12+
resolve: (name) => resolvePageComponent(`./pages/${name}.tsx`, import.meta.glob('./pages/**/*.tsx')),
13+
setup({ el, App, props }) {
14+
const root = createRoot(el);
1515

16-
root.render(<App {...props} />);
17-
},
18-
progress: {
19-
color: '#4B5563',
20-
},
16+
root.render(<App {...props} />);
17+
},
18+
progress: {
19+
color: '#4B5563',
20+
},
2121
});
2222

2323
// This will set light / dark mode on load...

resources/js/components/app-content.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ import { SidebarInset } from '@/components/ui/sidebar';
22
import * as React from 'react';
33

44
interface AppContentProps extends React.ComponentProps<'main'> {
5-
variant?: 'header' | 'sidebar';
5+
variant?: 'header' | 'sidebar';
66
}
77

88
export function AppContent({ variant = 'header', children, ...props }: AppContentProps) {
9-
if (variant === 'sidebar') {
10-
return <SidebarInset {...props}>{children}</SidebarInset>;
11-
}
9+
if (variant === 'sidebar') {
10+
return <SidebarInset {...props}>{children}</SidebarInset>;
11+
}
1212

13-
return (
14-
<main className="mx-auto flex h-full w-full max-w-7xl flex-1 flex-col gap-4 rounded-xl" {...props}>
15-
{children}
16-
</main>
17-
);
13+
return (
14+
<main className="mx-auto flex h-full w-full max-w-7xl flex-1 flex-col gap-4 rounded-xl" {...props}>
15+
{children}
16+
</main>
17+
);
1818
}

0 commit comments

Comments
 (0)