diff --git a/package-lock.json b/package-lock.json
index 814e716..ec6fd76 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -92,6 +92,7 @@
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.0.tgz",
"integrity": "sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA==",
"license": "MIT",
+ "peer": true,
"dependencies": {
"@babel/code-frame": "^7.29.0",
"@babel/generator": "^7.29.0",
@@ -653,29 +654,6 @@
"@noble/ciphers": "^1.0.0"
}
},
- "node_modules/@emnapi/core": {
- "version": "1.10.0",
- "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.10.0.tgz",
- "integrity": "sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==",
- "dev": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "@emnapi/wasi-threads": "1.2.1",
- "tslib": "^2.4.0"
- }
- },
- "node_modules/@emnapi/runtime": {
- "version": "1.10.0",
- "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.10.0.tgz",
- "integrity": "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==",
- "dev": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "tslib": "^2.4.0"
- }
- },
"node_modules/@emnapi/wasi-threads": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz",
@@ -1176,6 +1154,7 @@
"resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-1.3.0.tgz",
"integrity": "sha512-2I0gnIVPtfnMw9ee9h1dJG7tp81+8Ob3OJb3Mv37rx5L40/b0i7djjCVvGOVqc9AEIQyvyu1i6ypKdFw8R8gQw==",
"license": "MIT",
+ "peer": true,
"engines": {
"node": "^14.21.3 || >=16"
},
@@ -3444,6 +3423,7 @@
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.2.tgz",
"integrity": "sha512-A1sre26ke7HDIuY/M23nd9gfB+nrmhtYyMINbjI1zHJxYteKR6qSMX56FsmjMcDb3SMcjJg5BiRRgOCC/yBD0g==",
"license": "MIT",
+ "peer": true,
"dependencies": {
"undici-types": "~7.16.0"
}
@@ -3454,6 +3434,7 @@
"integrity": "sha512-ilcTH/UniCkMdtexkoCN0bI7pMcJDvmQFPvuPvmEaYA/NSfFTAgdUSLAoVjaRJm7+6PvcM+q1zYOwS4wTYMF9w==",
"devOptional": true,
"license": "MIT",
+ "peer": true,
"dependencies": {
"csstype": "^3.2.2"
}
@@ -3464,6 +3445,7 @@
"integrity": "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==",
"devOptional": true,
"license": "MIT",
+ "peer": true,
"peerDependencies": {
"@types/react": "^19.2.0"
}
@@ -3534,6 +3516,7 @@
"integrity": "sha512-HDQH9O/47Dxi1ceDhBXdaldtf/WV9yRYMjbjCuNk3qnaTD564qwv61Y7+gTxwxRKzSrgO5uhtw584igXVuuZkA==",
"dev": true,
"license": "MIT",
+ "peer": true,
"dependencies": {
"@typescript-eslint/scope-manager": "8.59.1",
"@typescript-eslint/types": "8.59.1",
@@ -3777,6 +3760,7 @@
"integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==",
"dev": true,
"license": "MIT",
+ "peer": true,
"bin": {
"acorn": "bin/acorn"
},
@@ -4058,6 +4042,7 @@
}
],
"license": "MIT",
+ "peer": true,
"dependencies": {
"baseline-browser-mapping": "^2.10.12",
"caniuse-lite": "^1.0.30001782",
@@ -4781,6 +4766,7 @@
"integrity": "sha512-XbEXaRva5cF0ZQB8w6MluHA0kZZfV2DuCMJ3ozyEOHLwDpZX2Lmm/7Pp0xdJmI0GL1W05VH5VwIFHEm1Vcw2gw==",
"dev": true,
"license": "MIT",
+ "peer": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.8.0",
"@eslint-community/regexpp": "^4.12.2",
@@ -5031,6 +5017,7 @@
"resolved": "https://registry.npmjs.org/express/-/express-5.2.1.tgz",
"integrity": "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==",
"license": "MIT",
+ "peer": true,
"dependencies": {
"accepts": "^2.0.0",
"body-parser": "^2.2.1",
@@ -5696,6 +5683,7 @@
"resolved": "https://registry.npmjs.org/hono/-/hono-4.12.16.tgz",
"integrity": "sha512-jN0ZewiNAWSe5khM3EyCmBb250+b40wWbwNILNfEvq84VREWwOIkuUsFONk/3i3nqkz7Oe1PcpM2mwQEK2L9Kg==",
"license": "MIT",
+ "peer": true,
"engines": {
"node": ">=16.9.0"
}
@@ -5770,6 +5758,7 @@
}
],
"license": "MIT",
+ "peer": true,
"peerDependencies": {
"typescript": "^5 || ^6"
},
@@ -7148,6 +7137,7 @@
}
],
"license": "MIT",
+ "peer": true,
"dependencies": {
"nanoid": "^3.3.11",
"picocolors": "^1.1.1",
@@ -7409,6 +7399,7 @@
"resolved": "https://registry.npmjs.org/react/-/react-19.2.5.tgz",
"integrity": "sha512-llUJLzz1zTUBrskt2pwZgLq59AemifIftw4aB7JxOqf1HY2FDaGDxgwpAPVzHU1kdWabH7FauP4i1oEeer2WCA==",
"license": "MIT",
+ "peer": true,
"engines": {
"node": ">=0.10.0"
}
@@ -7440,6 +7431,7 @@
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.5.tgz",
"integrity": "sha512-J5bAZz+DXMMwW/wV3xzKke59Af6CHY7G4uYLN1OvBcKEsWOs4pQExj86BBKamxl/Ik5bx9whOrvBlSDfWzgSag==",
"license": "MIT",
+ "peer": true,
"dependencies": {
"scheduler": "^0.27.0"
},
@@ -8365,6 +8357,7 @@
"integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
"devOptional": true,
"license": "Apache-2.0",
+ "peer": true,
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
@@ -8577,6 +8570,7 @@
"integrity": "sha512-rZuUu9j6J5uotLDs+cAA4O5H4K1SfPliUlQwqa6YEwSrWDZzP4rhm00oJR5snMewjxF5V/K3D4kctsUTsIU9Mw==",
"dev": true,
"license": "MIT",
+ "peer": true,
"dependencies": {
"lightningcss": "^1.32.0",
"picomatch": "^4.0.4",
@@ -8900,6 +8894,7 @@
"resolved": "https://registry.npmjs.org/zod/-/zod-4.4.2.tgz",
"integrity": "sha512-IynmDyxsEsb9RKzO3J9+4SxXnl2FTFSzNBaKKaMV6tsSk0rw9gYw9gs+JFCq/qk2LCZ78KDwyj+Z289TijSkUw==",
"license": "MIT",
+ "peer": true,
"funding": {
"url": "https://github.com/sponsors/colinhacks"
}
diff --git a/src/components/ui/button.tsx b/src/components/ui/button.tsx
index 6145c80..375f094 100644
--- a/src/components/ui/button.tsx
+++ b/src/components/ui/button.tsx
@@ -5,7 +5,7 @@ import { Slot } from "radix-ui"
import { cn } from "@/lib/utils"
const buttonVariants = cva(
- "group/button inline-flex shrink-0 items-center justify-center rounded-md border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-1 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
+ "group/button inline-flex cursor-pointer shrink-0 items-center justify-center rounded-md border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-1 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
{
variants: {
variant: {
diff --git a/src/index.css b/src/index.css
index fbca959..84cd063 100644
--- a/src/index.css
+++ b/src/index.css
@@ -37,63 +37,34 @@
}
--background: oklch(1 0 0);
-
--foreground: oklch(0.145 0 0);
-
--card: oklch(1 0 0);
-
--card-foreground: oklch(0.145 0 0);
-
--popover: oklch(1 0 0);
-
--popover-foreground: oklch(0.145 0 0);
-
--primary: oklch(0.205 0 0);
-
--primary-foreground: oklch(0.985 0 0);
-
--secondary: oklch(0.97 0 0);
-
--secondary-foreground: oklch(0.205 0 0);
-
--muted: oklch(0.97 0 0);
-
--muted-foreground: oklch(0.556 0 0);
-
--accent-foreground: oklch(0.205 0 0);
-
--destructive: oklch(0.577 0.245 27.325);
-
--input: oklch(0.922 0 0);
-
--ring: oklch(0.708 0 0);
-
--chart-1: oklch(0.87 0 0);
-
--chart-2: oklch(0.556 0 0);
-
--chart-3: oklch(0.439 0 0);
-
--chart-4: oklch(0.371 0 0);
-
--chart-5: oklch(0.269 0 0);
-
--radius: 0.625rem;
-
--sidebar: oklch(0.985 0 0);
-
--sidebar-foreground: oklch(0.145 0 0);
-
--sidebar-primary: oklch(0.205 0 0);
-
--sidebar-primary-foreground: oklch(0.985 0 0);
-
--sidebar-accent: oklch(0.97 0 0);
-
--sidebar-accent-foreground: oklch(0.205 0 0);
-
--sidebar-border: oklch(0.922 0 0);
-
--sidebar-ring: oklch(0.708 0 0);
}
@@ -122,7 +93,7 @@
--foreground: oklch(0.15 0.02 250);
--card: oklch(1 0 0);
--card-foreground: oklch(0.15 0.02 250);
- --primary: oklch(0.35 0.12 250); /* Koyu lacivert */
+ --primary: oklch(0.35 0.12 250);
--primary-foreground: oklch(0.98 0 0);
--secondary: oklch(0.93 0.02 240);
--secondary-foreground: oklch(0.25 0.08 250);
@@ -134,7 +105,7 @@
--border: oklch(0.88 0.02 240);
--input: oklch(0.88 0.02 240);
--ring: oklch(0.45 0.12 250);
- --sidebar: oklch(0.2 0.06 255); /* Lacivert sidebar */
+ --sidebar: oklch(0.2 0.06 255);
--sidebar-foreground: oklch(0.9 0.02 240);
--sidebar-primary: oklch(0.65 0.15 200);
--sidebar-primary-foreground: oklch(0.1 0.02 250);
@@ -148,13 +119,6 @@ body {
margin: 0;
}
-
-
-
-
-
-
-
@theme inline {
--font-heading: var(--font-sans);
--font-sans: "Geist Variable", sans-serif;
@@ -199,39 +163,38 @@ body {
}
.dark {
- --background: oklch(0.13 0.025 255); /* Koyu lacivert zemin */
- --foreground: oklch(0.92 0.015 240);
- --card: oklch(0.18 0.03 255);
- --card-foreground: oklch(0.92 0.015 240);
- --popover: oklch(0.18 0.03 255);
- --popover-foreground: oklch(0.92 0.015 240);
- --primary: oklch(0.65 0.18 230); /* Canlı mavi CTA */
+ --background: oklch(0.20 0.025 255);
+ --foreground: oklch(0.93 0.012 240);
+ --card: oklch(0.25 0.028 255);
+ --card-foreground: oklch(0.93 0.012 240);
+ --popover: oklch(0.25 0.028 255);
+ --popover-foreground: oklch(0.93 0.012 240);
+ --primary: oklch(0.68 0.18 230);
--primary-foreground: oklch(0.1 0.02 255);
- --secondary: oklch(0.22 0.04 255);
- --secondary-foreground: oklch(0.88 0.015 240);
- --muted: oklch(0.22 0.04 255);
- --muted-foreground: oklch(0.6 0.06 250);
- --accent: oklch(0.25 0.05 255);
- --accent-foreground: oklch(0.9 0.015 240);
+ --secondary: oklch(0.30 0.04 255);
+ --secondary-foreground: oklch(0.90 0.012 240);
+ --muted: oklch(0.30 0.04 255);
+ --muted-foreground: oklch(0.65 0.055 250);
+ --accent: oklch(0.33 0.05 255);
+ --accent-foreground: oklch(0.92 0.012 240);
--destructive: oklch(0.65 0.22 25);
- --border: oklch(0.28 0.05 255);
- --input: oklch(0.22 0.04 255);
- --ring: oklch(0.55 0.16 230);
- --sidebar: oklch(0.1 0.02 260); /* Daha koyu sidebar */
- --sidebar-foreground: oklch(0.88 0.015 240);
- --sidebar-primary: oklch(0.65 0.18 230);
+ --border: oklch(0.36 0.05 255);
+ --input: oklch(0.30 0.04 255);
+ --ring: oklch(0.60 0.16 230);
+ --sidebar: oklch(0.17 0.022 260);
+ --sidebar-foreground: oklch(0.90 0.012 240);
+ --sidebar-primary: oklch(0.68 0.18 230);
--sidebar-primary-foreground: oklch(0.98 0 0);
- --sidebar-accent: oklch(0.18 0.03 258);
- --sidebar-accent-foreground: oklch(0.88 0.015 240);
- --sidebar-border: oklch(0.2 0.035 258);
- --sidebar-ring: oklch(0.55 0.16 230);
+ --sidebar-accent: oklch(0.26 0.03 258);
+ --sidebar-accent-foreground: oklch(0.90 0.012 240);
+ --sidebar-border: oklch(0.30 0.035 258);
+ --sidebar-ring: oklch(0.60 0.16 230);
- /* Chart renkleri - finansal veri için */
- --chart-1: oklch(0.65 0.18 230); /* Mavi - gelir */
- --chart-2: oklch(0.68 0.17 155); /* Yeşil - kar */
- --chart-3: oklch(0.72 0.16 85); /* Sarı - bekleyen */
- --chart-4: oklch(0.65 0.22 25); /* Kırmızı - zarar */
- --chart-5: oklch(0.68 0.15 290); /* Mor - diğer */
+ --chart-1: oklch(0.68 0.18 230);
+ --chart-2: oklch(0.70 0.17 155);
+ --chart-3: oklch(0.74 0.16 85);
+ --chart-4: oklch(0.68 0.22 25);
+ --chart-5: oklch(0.70 0.15 290);
}
@layer base {
@@ -244,4 +207,4 @@ body {
html {
@apply font-sans;
}
-}
+}
\ No newline at end of file
diff --git a/src/layouts/DashboardLayout.tsx b/src/layouts/DashboardLayout.tsx
index fa81dc3..7fb2e96 100644
--- a/src/layouts/DashboardLayout.tsx
+++ b/src/layouts/DashboardLayout.tsx
@@ -492,7 +492,7 @@ export function DashboardLayout() {