Skip to content

Commit 269ac11

Browse files
committed
style(web): run formatter
1 parent 574c2bb commit 269ac11

4 files changed

Lines changed: 129 additions & 128 deletions

File tree

webapp/.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ package-lock.json
33
pnpm-lock.yaml
44
yarn.lock
55

6-
svelte.config.js
6+
svelte.config.js
7+
src/lib/components/ui

webapp/components.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
2-
"$schema": "https://shadcn-svelte.com/schema.json",
3-
"tailwind": {
4-
"css": "src\\app.css",
5-
"baseColor": "slate"
6-
},
7-
"aliases": {
8-
"components": "$lib/components",
9-
"utils": "$lib/utils",
10-
"ui": "$lib/components/ui",
11-
"hooks": "$lib/hooks",
12-
"lib": "$lib"
13-
},
14-
"typescript": true,
15-
"registry": "https://shadcn-svelte.com/registry"
2+
"$schema": "https://shadcn-svelte.com/schema.json",
3+
"tailwind": {
4+
"css": "src\\app.css",
5+
"baseColor": "slate"
6+
},
7+
"aliases": {
8+
"components": "$lib/components",
9+
"utils": "$lib/utils",
10+
"ui": "$lib/components/ui",
11+
"hooks": "$lib/hooks",
12+
"lib": "$lib"
13+
},
14+
"typescript": true,
15+
"registry": "https://shadcn-svelte.com/registry"
1616
}

webapp/src/app.css

Lines changed: 109 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -1,121 +1,121 @@
11
@import 'tailwindcss';
2-
@import "tw-animate-css";
2+
@import 'tw-animate-css';
33

44
@custom-variant dark (&:is(.dark *));
55

66
:root {
7-
--radius: 0.625rem;
8-
--background: oklch(1 0 0);
9-
--foreground: oklch(0.129 0.042 264.695);
10-
--card: oklch(1 0 0);
11-
--card-foreground: oklch(0.129 0.042 264.695);
12-
--popover: oklch(1 0 0);
13-
--popover-foreground: oklch(0.129 0.042 264.695);
14-
--primary: oklch(0.208 0.042 265.755);
15-
--primary-foreground: oklch(0.984 0.003 247.858);
16-
--secondary: oklch(0.968 0.007 247.896);
17-
--secondary-foreground: oklch(0.208 0.042 265.755);
18-
--muted: oklch(0.968 0.007 247.896);
19-
--muted-foreground: oklch(0.554 0.046 257.417);
20-
--accent: oklch(0.968 0.007 247.896);
21-
--accent-foreground: oklch(0.208 0.042 265.755);
22-
--destructive: oklch(0.577 0.245 27.325);
23-
--border: oklch(0.929 0.013 255.508);
24-
--input: oklch(0.929 0.013 255.508);
25-
--ring: oklch(0.704 0.04 256.788);
26-
--chart-1: oklch(0.646 0.222 41.116);
27-
--chart-2: oklch(0.6 0.118 184.704);
28-
--chart-3: oklch(0.398 0.07 227.392);
29-
--chart-4: oklch(0.828 0.189 84.429);
30-
--chart-5: oklch(0.769 0.188 70.08);
31-
--sidebar: oklch(0.984 0.003 247.858);
32-
--sidebar-foreground: oklch(0.129 0.042 264.695);
33-
--sidebar-primary: oklch(0.208 0.042 265.755);
34-
--sidebar-primary-foreground: oklch(0.984 0.003 247.858);
35-
--sidebar-accent: oklch(0.968 0.007 247.896);
36-
--sidebar-accent-foreground: oklch(0.208 0.042 265.755);
37-
--sidebar-border: oklch(0.929 0.013 255.508);
38-
--sidebar-ring: oklch(0.704 0.04 256.788);
7+
--radius: 0.625rem;
8+
--background: oklch(1 0 0);
9+
--foreground: oklch(0.129 0.042 264.695);
10+
--card: oklch(1 0 0);
11+
--card-foreground: oklch(0.129 0.042 264.695);
12+
--popover: oklch(1 0 0);
13+
--popover-foreground: oklch(0.129 0.042 264.695);
14+
--primary: oklch(0.208 0.042 265.755);
15+
--primary-foreground: oklch(0.984 0.003 247.858);
16+
--secondary: oklch(0.968 0.007 247.896);
17+
--secondary-foreground: oklch(0.208 0.042 265.755);
18+
--muted: oklch(0.968 0.007 247.896);
19+
--muted-foreground: oklch(0.554 0.046 257.417);
20+
--accent: oklch(0.968 0.007 247.896);
21+
--accent-foreground: oklch(0.208 0.042 265.755);
22+
--destructive: oklch(0.577 0.245 27.325);
23+
--border: oklch(0.929 0.013 255.508);
24+
--input: oklch(0.929 0.013 255.508);
25+
--ring: oklch(0.704 0.04 256.788);
26+
--chart-1: oklch(0.646 0.222 41.116);
27+
--chart-2: oklch(0.6 0.118 184.704);
28+
--chart-3: oklch(0.398 0.07 227.392);
29+
--chart-4: oklch(0.828 0.189 84.429);
30+
--chart-5: oklch(0.769 0.188 70.08);
31+
--sidebar: oklch(0.984 0.003 247.858);
32+
--sidebar-foreground: oklch(0.129 0.042 264.695);
33+
--sidebar-primary: oklch(0.208 0.042 265.755);
34+
--sidebar-primary-foreground: oklch(0.984 0.003 247.858);
35+
--sidebar-accent: oklch(0.968 0.007 247.896);
36+
--sidebar-accent-foreground: oklch(0.208 0.042 265.755);
37+
--sidebar-border: oklch(0.929 0.013 255.508);
38+
--sidebar-ring: oklch(0.704 0.04 256.788);
3939
}
40-
40+
4141
.dark {
42-
--background: oklch(0.129 0.042 264.695);
43-
--foreground: oklch(0.984 0.003 247.858);
44-
--card: oklch(0.208 0.042 265.755);
45-
--card-foreground: oklch(0.984 0.003 247.858);
46-
--popover: oklch(0.208 0.042 265.755);
47-
--popover-foreground: oklch(0.984 0.003 247.858);
48-
--primary: oklch(0.929 0.013 255.508);
49-
--primary-foreground: oklch(0.208 0.042 265.755);
50-
--secondary: oklch(0.279 0.041 260.031);
51-
--secondary-foreground: oklch(0.984 0.003 247.858);
52-
--muted: oklch(0.279 0.041 260.031);
53-
--muted-foreground: oklch(0.704 0.04 256.788);
54-
--accent: oklch(0.279 0.041 260.031);
55-
--accent-foreground: oklch(0.984 0.003 247.858);
56-
--destructive: oklch(0.704 0.191 22.216);
57-
--border: oklch(1 0 0 / 10%);
58-
--input: oklch(1 0 0 / 15%);
59-
--ring: oklch(0.551 0.027 264.364);
60-
--chart-1: oklch(0.488 0.243 264.376);
61-
--chart-2: oklch(0.696 0.17 162.48);
62-
--chart-3: oklch(0.769 0.188 70.08);
63-
--chart-4: oklch(0.627 0.265 303.9);
64-
--chart-5: oklch(0.645 0.246 16.439);
65-
--sidebar: oklch(0.208 0.042 265.755);
66-
--sidebar-foreground: oklch(0.984 0.003 247.858);
67-
--sidebar-primary: oklch(0.488 0.243 264.376);
68-
--sidebar-primary-foreground: oklch(0.984 0.003 247.858);
69-
--sidebar-accent: oklch(0.279 0.041 260.031);
70-
--sidebar-accent-foreground: oklch(0.984 0.003 247.858);
71-
--sidebar-border: oklch(1 0 0 / 10%);
72-
--sidebar-ring: oklch(0.551 0.027 264.364);
42+
--background: oklch(0.129 0.042 264.695);
43+
--foreground: oklch(0.984 0.003 247.858);
44+
--card: oklch(0.208 0.042 265.755);
45+
--card-foreground: oklch(0.984 0.003 247.858);
46+
--popover: oklch(0.208 0.042 265.755);
47+
--popover-foreground: oklch(0.984 0.003 247.858);
48+
--primary: oklch(0.929 0.013 255.508);
49+
--primary-foreground: oklch(0.208 0.042 265.755);
50+
--secondary: oklch(0.279 0.041 260.031);
51+
--secondary-foreground: oklch(0.984 0.003 247.858);
52+
--muted: oklch(0.279 0.041 260.031);
53+
--muted-foreground: oklch(0.704 0.04 256.788);
54+
--accent: oklch(0.279 0.041 260.031);
55+
--accent-foreground: oklch(0.984 0.003 247.858);
56+
--destructive: oklch(0.704 0.191 22.216);
57+
--border: oklch(1 0 0 / 10%);
58+
--input: oklch(1 0 0 / 15%);
59+
--ring: oklch(0.551 0.027 264.364);
60+
--chart-1: oklch(0.488 0.243 264.376);
61+
--chart-2: oklch(0.696 0.17 162.48);
62+
--chart-3: oklch(0.769 0.188 70.08);
63+
--chart-4: oklch(0.627 0.265 303.9);
64+
--chart-5: oklch(0.645 0.246 16.439);
65+
--sidebar: oklch(0.208 0.042 265.755);
66+
--sidebar-foreground: oklch(0.984 0.003 247.858);
67+
--sidebar-primary: oklch(0.488 0.243 264.376);
68+
--sidebar-primary-foreground: oklch(0.984 0.003 247.858);
69+
--sidebar-accent: oklch(0.279 0.041 260.031);
70+
--sidebar-accent-foreground: oklch(0.984 0.003 247.858);
71+
--sidebar-border: oklch(1 0 0 / 10%);
72+
--sidebar-ring: oklch(0.551 0.027 264.364);
7373
}
7474

7575
@theme inline {
76-
/* Radius (for rounded-*) */
77-
--radius-sm: calc(var(--radius) - 4px);
78-
--radius-md: calc(var(--radius) - 2px);
79-
--radius-lg: var(--radius);
80-
--radius-xl: calc(var(--radius) + 4px);
81-
82-
/* Colors */
83-
--color-background: var(--background);
84-
--color-foreground: var(--foreground);
85-
--color-muted: var(--muted);
86-
--color-muted-foreground: var(--muted-foreground);
87-
--color-popover: var(--popover);
88-
--color-popover-foreground: var(--popover-foreground);
89-
--color-card: var(--card);
90-
--color-card-foreground: var(--card-foreground);
91-
--color-border: var(--border);
92-
--color-input: var(--input);
93-
--color-primary: var(--primary);
94-
--color-primary-foreground: var(--primary-foreground);
95-
--color-secondary: var(--secondary);
96-
--color-secondary-foreground: var(--secondary-foreground);
97-
--color-accent: var(--accent);
98-
--color-accent-foreground: var(--accent-foreground);
99-
--color-destructive: var(--destructive);
100-
--color-destructive-foreground: var(--destructive-foreground);
101-
--color-ring: var(--ring);
102-
--color-radius: var(--radius);
103-
--color-sidebar: var(--sidebar);
104-
--color-sidebar-foreground: var(--sidebar-foreground);
105-
--color-sidebar-primary: var(--sidebar-primary);
106-
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
107-
--color-sidebar-accent: var(--sidebar-accent);
108-
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
109-
--color-sidebar-border: var(--sidebar-border);
110-
--color-sidebar-ring: var(--sidebar-ring);
76+
/* Radius (for rounded-*) */
77+
--radius-sm: calc(var(--radius) - 4px);
78+
--radius-md: calc(var(--radius) - 2px);
79+
--radius-lg: var(--radius);
80+
--radius-xl: calc(var(--radius) + 4px);
81+
82+
/* Colors */
83+
--color-background: var(--background);
84+
--color-foreground: var(--foreground);
85+
--color-muted: var(--muted);
86+
--color-muted-foreground: var(--muted-foreground);
87+
--color-popover: var(--popover);
88+
--color-popover-foreground: var(--popover-foreground);
89+
--color-card: var(--card);
90+
--color-card-foreground: var(--card-foreground);
91+
--color-border: var(--border);
92+
--color-input: var(--input);
93+
--color-primary: var(--primary);
94+
--color-primary-foreground: var(--primary-foreground);
95+
--color-secondary: var(--secondary);
96+
--color-secondary-foreground: var(--secondary-foreground);
97+
--color-accent: var(--accent);
98+
--color-accent-foreground: var(--accent-foreground);
99+
--color-destructive: var(--destructive);
100+
--color-destructive-foreground: var(--destructive-foreground);
101+
--color-ring: var(--ring);
102+
--color-radius: var(--radius);
103+
--color-sidebar: var(--sidebar);
104+
--color-sidebar-foreground: var(--sidebar-foreground);
105+
--color-sidebar-primary: var(--sidebar-primary);
106+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
107+
--color-sidebar-accent: var(--sidebar-accent);
108+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
109+
--color-sidebar-border: var(--sidebar-border);
110+
--color-sidebar-ring: var(--sidebar-ring);
111111
}
112-
112+
113113
@layer base {
114-
* {
115-
@apply border-border;
116-
}
117-
118-
body {
119-
@apply bg-background text-foreground;
120-
}
121-
}
114+
* {
115+
@apply border-border;
116+
}
117+
118+
body {
119+
@apply bg-background text-foreground;
120+
}
121+
}

webapp/src/lib/utils.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ export function cn(...inputs: ClassValue[]) {
66
}
77

88
// eslint-disable-next-line @typescript-eslint/no-explicit-any
9-
export type WithoutChild<T> = T extends { child?: any } ? Omit<T, "child"> : T;
9+
export type WithoutChild<T> = T extends { child?: any } ? Omit<T, 'child'> : T
1010
// eslint-disable-next-line @typescript-eslint/no-explicit-any
11-
export type WithoutChildren<T> = T extends { children?: any } ? Omit<T, "children"> : T;
12-
export type WithoutChildrenOrChild<T> = WithoutChildren<WithoutChild<T>>;
13-
export type WithElementRef<T, U extends HTMLElement = HTMLElement> = T & { ref?: U | null };
11+
export type WithoutChildren<T> = T extends { children?: any } ? Omit<T, 'children'> : T
12+
export type WithoutChildrenOrChild<T> = WithoutChildren<WithoutChild<T>>
13+
export type WithElementRef<T, U extends HTMLElement = HTMLElement> = T & { ref?: U | null }

0 commit comments

Comments
 (0)