d2aa9d8ae2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
198 lines
6.8 KiB
CSS
198 lines
6.8 KiB
CSS
@import "tailwindcss";
|
||
@import "tw-animate-css";
|
||
@import "shadcn/tailwind.css";
|
||
|
||
@custom-variant dark (&:is(.dark *));
|
||
|
||
@theme inline {
|
||
--color-background: var(--background);
|
||
--color-foreground: var(--foreground);
|
||
--font-sans: var(--font-sans);
|
||
--font-mono: var(--font-geist-mono);
|
||
--font-heading: var(--font-sans);
|
||
--color-sidebar-ring: var(--sidebar-ring);
|
||
--color-sidebar-border: var(--sidebar-border);
|
||
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
||
--color-sidebar-accent: var(--sidebar-accent);
|
||
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
||
--color-sidebar-primary: var(--sidebar-primary);
|
||
--color-sidebar-foreground: var(--sidebar-foreground);
|
||
--color-sidebar: var(--sidebar);
|
||
--color-income: var(--income);
|
||
--color-income-foreground: var(--income-foreground);
|
||
--color-expense: var(--expense);
|
||
--color-expense-foreground: var(--expense-foreground);
|
||
--color-budget: var(--budget);
|
||
--color-budget-foreground: var(--budget-foreground);
|
||
--color-warning: var(--warning);
|
||
--color-warning-foreground: var(--warning-foreground);
|
||
--color-chart-5: var(--chart-5);
|
||
--color-chart-4: var(--chart-4);
|
||
--color-chart-3: var(--chart-3);
|
||
--color-chart-2: var(--chart-2);
|
||
--color-chart-1: var(--chart-1);
|
||
--color-ring: var(--ring);
|
||
--color-input: var(--input);
|
||
--color-border: var(--border);
|
||
--color-destructive: var(--destructive);
|
||
--color-accent-foreground: var(--accent-foreground);
|
||
--color-accent: var(--accent);
|
||
--color-muted-foreground: var(--muted-foreground);
|
||
--color-muted: var(--muted);
|
||
--color-secondary-foreground: var(--secondary-foreground);
|
||
--color-secondary: var(--secondary);
|
||
--color-primary-foreground: var(--primary-foreground);
|
||
--color-primary: var(--primary);
|
||
--color-popover-foreground: var(--popover-foreground);
|
||
--color-popover: var(--popover);
|
||
--color-card-foreground: var(--card-foreground);
|
||
--color-card: var(--card);
|
||
--radius-sm: calc(var(--radius) * 0.6);
|
||
--radius-md: calc(var(--radius) * 0.8);
|
||
--radius-lg: var(--radius);
|
||
--radius-xl: calc(var(--radius) * 1.4);
|
||
--radius-2xl: calc(var(--radius) * 1.8);
|
||
--radius-3xl: calc(var(--radius) * 2.2);
|
||
--radius-4xl: calc(var(--radius) * 2.6);
|
||
}
|
||
|
||
/*
|
||
* BÜTÇEM marka paleti — mavi ve beyaz tonları (oklch). Sabit renk kodu yalnızca burada.
|
||
* Anlamsal renkler: --income (gelir/yeşil), --expense (gider/kırmızı),
|
||
* --budget (bütçe-plan/mavi), --warning (uyarı/turuncu). Grafikler de bunları kullanır.
|
||
*/
|
||
:root {
|
||
--background: oklch(0.99 0.004 250);
|
||
--foreground: oklch(0.22 0.04 262);
|
||
--card: oklch(1 0 0);
|
||
--card-foreground: oklch(0.22 0.04 262);
|
||
--popover: oklch(1 0 0);
|
||
--popover-foreground: oklch(0.22 0.04 262);
|
||
--primary: oklch(0.49 0.17 258);
|
||
--primary-foreground: oklch(0.99 0.004 250);
|
||
--secondary: oklch(0.955 0.016 250);
|
||
--secondary-foreground: oklch(0.3 0.06 260);
|
||
--muted: oklch(0.955 0.012 250);
|
||
--muted-foreground: oklch(0.5 0.03 258);
|
||
--accent: oklch(0.935 0.03 250);
|
||
--accent-foreground: oklch(0.3 0.08 260);
|
||
--destructive: oklch(0.56 0.21 25);
|
||
--border: oklch(0.905 0.016 252);
|
||
--input: oklch(0.89 0.018 252);
|
||
--ring: oklch(0.6 0.15 258);
|
||
|
||
--income: oklch(0.58 0.15 152);
|
||
--income-foreground: oklch(0.99 0.004 250);
|
||
--expense: oklch(0.56 0.21 25);
|
||
--expense-foreground: oklch(0.99 0.004 250);
|
||
--budget: oklch(0.55 0.17 258);
|
||
--budget-foreground: oklch(0.99 0.004 250);
|
||
--warning: oklch(0.68 0.17 55);
|
||
--warning-foreground: oklch(0.22 0.04 262);
|
||
|
||
--chart-1: var(--income);
|
||
--chart-2: var(--budget);
|
||
--chart-3: var(--expense);
|
||
--chart-4: var(--warning);
|
||
--chart-5: oklch(0.65 0.08 230);
|
||
--radius: 0.625rem;
|
||
|
||
/* Kullanıcı verisi renkleri (kategori/hesap): anahtar → değişken (shared/appearance.ts) */
|
||
--swatch-blue: oklch(0.6 0.15 258);
|
||
--swatch-sky: oklch(0.6 0.15 230);
|
||
--swatch-teal: oklch(0.6 0.15 185);
|
||
--swatch-green: oklch(0.6 0.15 150);
|
||
--swatch-lime: oklch(0.6 0.15 125);
|
||
--swatch-amber: oklch(0.6 0.15 80);
|
||
--swatch-orange: oklch(0.6 0.15 55);
|
||
--swatch-red: oklch(0.6 0.15 25);
|
||
--swatch-rose: oklch(0.6 0.15 10);
|
||
--swatch-pink: oklch(0.6 0.15 350);
|
||
--swatch-purple: oklch(0.6 0.15 305);
|
||
--swatch-indigo: oklch(0.6 0.15 275);
|
||
--swatch-slate: oklch(0.55 0.03 255);
|
||
--sidebar: oklch(0.975 0.008 250);
|
||
--sidebar-foreground: oklch(0.22 0.04 262);
|
||
--sidebar-primary: oklch(0.49 0.17 258);
|
||
--sidebar-primary-foreground: oklch(0.99 0.004 250);
|
||
--sidebar-accent: oklch(0.935 0.03 250);
|
||
--sidebar-accent-foreground: oklch(0.3 0.08 260);
|
||
--sidebar-border: oklch(0.905 0.016 252);
|
||
--sidebar-ring: oklch(0.6 0.15 258);
|
||
}
|
||
|
||
.dark {
|
||
--background: oklch(0.18 0.04 264);
|
||
--foreground: oklch(0.96 0.01 250);
|
||
--card: oklch(0.22 0.045 264);
|
||
--card-foreground: oklch(0.96 0.01 250);
|
||
--popover: oklch(0.22 0.045 264);
|
||
--popover-foreground: oklch(0.96 0.01 250);
|
||
--primary: oklch(0.76 0.12 245);
|
||
--primary-foreground: oklch(0.18 0.04 264);
|
||
--secondary: oklch(0.27 0.045 264);
|
||
--secondary-foreground: oklch(0.96 0.01 250);
|
||
--muted: oklch(0.26 0.04 264);
|
||
--muted-foreground: oklch(0.73 0.03 250);
|
||
--accent: oklch(0.3 0.06 262);
|
||
--accent-foreground: oklch(0.96 0.01 250);
|
||
--destructive: oklch(0.7 0.18 22);
|
||
--border: oklch(1 0 0 / 11%);
|
||
--input: oklch(1 0 0 / 16%);
|
||
--ring: oklch(0.7 0.12 245);
|
||
|
||
--income: oklch(0.75 0.16 152);
|
||
--income-foreground: oklch(0.18 0.04 264);
|
||
--expense: oklch(0.7 0.18 22);
|
||
--expense-foreground: oklch(0.18 0.04 264);
|
||
--budget: oklch(0.73 0.13 245);
|
||
--budget-foreground: oklch(0.18 0.04 264);
|
||
--warning: oklch(0.79 0.15 62);
|
||
--warning-foreground: oklch(0.18 0.04 264);
|
||
|
||
--chart-1: var(--income);
|
||
--chart-2: var(--budget);
|
||
--chart-3: var(--expense);
|
||
--chart-4: var(--warning);
|
||
--chart-5: oklch(0.7 0.07 230);
|
||
|
||
--swatch-blue: oklch(0.74 0.13 258);
|
||
--swatch-sky: oklch(0.74 0.13 230);
|
||
--swatch-teal: oklch(0.74 0.13 185);
|
||
--swatch-green: oklch(0.74 0.13 150);
|
||
--swatch-lime: oklch(0.74 0.13 125);
|
||
--swatch-amber: oklch(0.74 0.13 80);
|
||
--swatch-orange: oklch(0.74 0.13 55);
|
||
--swatch-red: oklch(0.74 0.13 25);
|
||
--swatch-rose: oklch(0.74 0.13 10);
|
||
--swatch-pink: oklch(0.74 0.13 350);
|
||
--swatch-purple: oklch(0.74 0.13 305);
|
||
--swatch-indigo: oklch(0.74 0.13 275);
|
||
--swatch-slate: oklch(0.72 0.03 255);
|
||
--sidebar: oklch(0.2 0.045 264);
|
||
--sidebar-foreground: oklch(0.96 0.01 250);
|
||
--sidebar-primary: oklch(0.76 0.12 245);
|
||
--sidebar-primary-foreground: oklch(0.18 0.04 264);
|
||
--sidebar-accent: oklch(0.28 0.055 262);
|
||
--sidebar-accent-foreground: oklch(0.96 0.01 250);
|
||
--sidebar-border: oklch(1 0 0 / 11%);
|
||
--sidebar-ring: oklch(0.7 0.12 245);
|
||
}
|
||
|
||
@layer base {
|
||
* {
|
||
@apply border-border outline-ring/50;
|
||
}
|
||
body {
|
||
@apply bg-background text-foreground;
|
||
}
|
||
html {
|
||
@apply font-sans;
|
||
}
|
||
}
|
||
|
||
/* Mobil alt menü + iOS ana ekran çentiği için güvenli alan */
|
||
@utility pb-safe {
|
||
padding-bottom: env(safe-area-inset-bottom);
|
||
}
|