use spaces instead of commas in flags

This commit is contained in:
Aman Varshney
2025-04-01 14:57:46 +05:30
parent 47e429554d
commit b296ac28ed
14 changed files with 390 additions and 163 deletions

View File

@@ -1,18 +1,18 @@
export const NAV_THEME = {
light: {
background: "hsl(0 0% 100%)", // background
border: "hsl(240 5.9% 90%)", // border
card: "hsl(0 0% 100%)", // card
notification: "hsl(0 84.2% 60.2%)", // destructive
primary: "hsl(240 5.9% 10%)", // primary
text: "hsl(240 10% 3.9%)", // foreground
background: "hsl(0 0% 100%)",
border: "hsl(240 5.9% 90%)",
card: "hsl(0 0% 100%)",
notification: "hsl(0 84.2% 60.2%)",
primary: "hsl(240 5.9% 10%)",
text: "hsl(240 10% 3.9%)",
},
dark: {
background: "hsl(240 10% 3.9%)", // background
border: "hsl(240 3.7% 15.9%)", // border
card: "hsl(240 10% 3.9%)", // card
notification: "hsl(0 72% 51%)", // destructive
primary: "hsl(0 0% 98%)", // primary
text: "hsl(0 0% 98%)", // foreground
background: "hsl(240 10% 3.9%)",
border: "hsl(240 3.7% 15.9%)",
card: "hsl(240 10% 3.9%)",
notification: "hsl(0 72% 51%)",
primary: "hsl(0 0% 98%)",
text: "hsl(0 0% 98%)",
},
};

View File

@@ -19,9 +19,8 @@ const app = new Elysia()
const { request } = context;
if (["POST", "GET"].includes(request.method)) {
return auth.handler(request);
} else {
context.error(405);
}
context.error(405);
})
.all("/trpc/*", async (context) => {
const res = await fetchRequestHandler({
@@ -34,5 +33,5 @@ const app = new Elysia()
})
.get("/", () => "OK")
.listen(3000, () => {
console.log(`Server is running on http://localhost:3000`);
console.log("Server is running on http://localhost:3000");
});