[dyad] wrote 3 file(s)

This commit is contained in:
Michael committed 2025-11-06 16:08:49 +01:00
1 parent 52664951c3
commit 080b08caf0
3 files changed
+155 -197

No files matched your search

+1
View File
@@ -9,6 +9,7 @@ import Index from "./pages/Index";
import Login from "./pages/Login"; import Login from "./pages/Login";
import NotFound from "./pages/NotFound"; import NotFound from "./pages/NotFound";
import AuthService from "./services/AuthService"; import AuthService from "./services/AuthService";
import "./globals.css";
const queryClient = new QueryClient(); const queryClient = new QueryClient();
+76 -101
View File
@@ -1,101 +1,76 @@
@tailwind base; @tailwind base;
@tailwind components; @tailwind components;
@tailwind utilities; @tailwind utilities;
@layer base { @layer base {
:root { :root {
--background: 0 0% 100%; --background: 0 0% 100%;
--foreground: 222.2 84% 4.9%; --foreground: 222.2 84% 4.9%;
--card: 0 0% 100%; --card: 0 0% 100%;
--card-foreground: 222.2 84% 4.9%; --card-foreground: 222.2 84% 4.9%;
--popover: 0 0% 100%; --popover: 0 0% 100%;
--popover-foreground: 222.2 84% 4.9%; --popover-foreground: 222.2 84% 4.9%;
--primary: 222.2 47.4% 11.2%; --primary: 222.2 47.4% 11.2%;
--primary-foreground: 210 40% 98%; --primary-foreground: 210 40% 98%;
--secondary: 210 40% 96.1%; --secondary: 210 40% 96.1%;
--secondary-foreground: 222.2 47.4% 11.2%; --secondary-foreground: 222.2 47.4% 11.2%;
--muted: 210 40% 96.1%; --muted: 210 40% 96.1%;
--muted-foreground: 215.4 16.3% 46.9%; --muted-foreground: 215.4 16.3% 46.9%;
--accent: 210 40% 96.1%; --accent: 210 40% 96.1%;
--accent-foreground: 222.2 47.4% 11.2%; --accent-foreground: 222.2 47.4% 11.2%;
--destructive: 0 84.2% 60.2%; --destructive: 0 84.2% 60.2%;
--destructive-foreground: 210 40% 98%; --destructive-foreground: 210 40% 98%;
--border: 214.3 31.8% 91.4%; --border: 214.3 31.8% 91.4%;
--input: 214.3 31.8% 91.4%; --input: 214.3 31.8% 91.4%;
--ring: 222.2 84% 4.9%; --ring: 222.2 84% 4.9%;
--radius: 0.5rem; --radius: 0.5rem;
}
--sidebar-background: 0 0% 98%;
.dark {
--sidebar-foreground: 240 5.3% 26.1%; --background: 222.2 84% 4.9%;
--foreground: 210 40% 98%;
--sidebar-primary: 240 5.9% 10%;
--card: 222.2 84% 4.9%;
--sidebar-primary-foreground: 0 0% 98%; --card-foreground: 210 40% 98%;
--sidebar-accent: 240 4.8% 95.9%; --popover: 222.2 84% 4.9%;
--popover-foreground: 210 40% 98%;
--sidebar-accent-foreground: 240 5.9% 10%;
--primary: 210 40% 98%;
--sidebar-border: 220 13% 91%; --primary-foreground: 222.2 47.4% 11.2%;
--sidebar-ring: 217.2 91.2% 59.8%; --secondary: 217.2 32.6% 17.5%;
} --secondary-foreground: 210 40% 98%;
.dark { --muted: 217.2 32.6% 17.5%;
--background: 222.2 84% 4.9%; --muted-foreground: 215 20.2% 65.1%;
--foreground: 210 40% 98%;
--accent: 217.2 32.6% 17.5%;
--card: 222.2 84% 4.9%; --accent-foreground: 210 40% 98%;
--card-foreground: 210 40% 98%;
--destructive: 0 62.8% 30.6%;
--popover: 222.2 84% 4.9%; --destructive-foreground: 210 40% 98%;
--popover-foreground: 210 40% 98%;
--border: 217.2 32.6% 17.5%;
--primary: 210 40% 98%; --input: 217.2 32.6% 17.5%;
--primary-foreground: 222.2 47.4% 11.2%; --ring: 212.7 26.8% 83.9%;
}
--secondary: 217.2 32.6% 17.5%; }
--secondary-foreground: 210 40% 98%;
@layer base {
--muted: 217.2 32.6% 17.5%; * {
--muted-foreground: 215 20.2% 65.1%; @apply border-border;
}
--accent: 217.2 32.6% 17.5%; body {
--accent-foreground: 210 40% 98%; @apply bg-background text-foreground;
}
--destructive: 0 62.8% 30.6%; }
--destructive-foreground: 210 40% 98%;
--border: 217.2 32.6% 17.5%;
--input: 217.2 32.6% 17.5%;
--ring: 212.7 26.8% 83.9%;
--sidebar-background: 240 5.9% 10%;
--sidebar-foreground: 240 4.8% 95.9%;
--sidebar-primary: 224.3 76.3% 48%;
--sidebar-primary-foreground: 0 0% 100%;
--sidebar-accent: 240 3.7% 15.9%;
--sidebar-accent-foreground: 240 4.8% 95.9%;
--sidebar-border: 240 3.7% 15.9%;
--sidebar-ring: 217.2 91.2% 59.8%;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
}
+78 -96
View File
@@ -1,96 +1,78 @@
import type { Config } from "tailwindcss"; import type { Config } from "tailwindcss";
export default { export default {
darkMode: ["class"], darkMode: ["class"],
content: [ content: [
"./pages/**/*.{ts,tsx}", "./pages/**/*.{ts,tsx}",
"./components/**/*.{ts,tsx}", "./components/**/*.{ts,tsx}",
"./app/**/*.{ts,tsx}", "./app/**/*.{ts,tsx}",
"./src/**/*.{ts,tsx}", "./src/**/*.{ts,tsx}",
], ],
prefix: "", prefix: "",
theme: { theme: {
container: { container: {
center: true, center: true,
padding: "2rem", padding: "2rem",
screens: { screens: {
"2xl": "1400px", "2xl": "1400px",
}, },
}, },
extend: { extend: {
colors: { colors: {
border: "hsl(var(--border))", border: "hsl(var(--border))",
input: "hsl(var(--input))", input: "hsl(var(--input))",
ring: "hsl(var(--ring))", ring: "hsl(var(--ring))",
background: "hsl(var(--background))", background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))", foreground: "hsl(var(--foreground))",
primary: { primary: {
DEFAULT: "hsl(var(--primary))", DEFAULT: "hsl(var(--primary))",
foreground: "hsl(var(--primary-foreground))", foreground: "hsl(var(--primary-foreground))",
}, },
secondary: { secondary: {
DEFAULT: "hsl(var(--secondary))", DEFAULT: "hsl(var(--secondary))",
foreground: "hsl(var(--secondary-foreground))", foreground: "hsl(var(--secondary-foreground))",
}, },
destructive: { destructive: {
DEFAULT: "hsl(var(--destructive))", DEFAULT: "hsl(var(--destructive))",
foreground: "hsl(var(--destructive-foreground))", foreground: "hsl(var(--destructive-foreground))",
}, },
muted: { muted: {
DEFAULT: "hsl(var(--muted))", DEFAULT: "hsl(var(--muted))",
foreground: "hsl(var(--muted-foreground))", foreground: "hsl(var(--muted-foreground))",
}, },
accent: { accent: {
DEFAULT: "hsl(var(--accent))", DEFAULT: "hsl(var(--accent))",
foreground: "hsl(var(--accent-foreground))", foreground: "hsl(var(--accent-foreground))",
}, },
popover: { popover: {
DEFAULT: "hsl(var(--popover))", DEFAULT: "hsl(var(--popover))",
foreground: "hsl(var(--popover-foreground))", foreground: "hsl(var(--popover-foreground))",
}, },
card: { card: {
DEFAULT: "hsl(var(--card))", DEFAULT: "hsl(var(--card))",
foreground: "hsl(var(--card-foreground))", foreground: "hsl(var(--card-foreground))",
}, },
sidebar: { },
DEFAULT: "hsl(var(--sidebar-background))", borderRadius: {
foreground: "hsl(var(--sidebar-foreground))", lg: "var(--radius)",
primary: "hsl(var(--sidebar-primary))", md: "calc(var(--radius) - 2px)",
"primary-foreground": "hsl(var(--sidebar-primary-foreground))", sm: "calc(var(--radius) - 4px)",
accent: "hsl(var(--sidebar-accent))", },
"accent-foreground": "hsl(var(--sidebar-accent-foreground))", keyframes: {
border: "hsl(var(--sidebar-border))", "accordion-down": {
ring: "hsl(var(--sidebar-ring))", from: { height: "0" },
}, to: { height: "var(--radix-accordion-content-height)" },
}, },
borderRadius: { "accordion-up": {
lg: "var(--radius)", from: { height: "var(--radix-accordion-content-height)" },
md: "calc(var(--radius) - 2px)", to: { height: "0" },
sm: "calc(var(--radius) - 4px)", },
}, },
keyframes: { animation: {
"accordion-down": { "accordion-down": "accordion-down 0.2s ease-out",
from: { "accordion-up": "accordion-up 0.2s ease-out",
height: "0", },
}, },
to: { },
height: "var(--radix-accordion-content-height)", plugins: [require("tailwindcss-animate")],
}, } satisfies Config;
},
"accordion-up": {
from: {
height: "var(--radix-accordion-content-height)",
},
to: {
height: "0",
},
},
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
},
},
},
plugins: [require("tailwindcss-animate")],
} satisfies Config;