added some components
This commit is contained in:
117
src/index.css
117
src/index.css
@@ -18,8 +18,8 @@
|
||||
--shadow:
|
||||
rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;
|
||||
|
||||
--sans: system-ui, 'Segoe UI', Roboto, sans-serif;
|
||||
--heading: system-ui, 'Segoe UI', Roboto, sans-serif;
|
||||
--sans: system-ui, "Segoe UI", Roboto, sans-serif;
|
||||
--heading: system-ui, "Segoe UI", Roboto, sans-serif;
|
||||
--mono: ui-monospace, Consolas, monospace;
|
||||
|
||||
font: 18px/145% var(--sans);
|
||||
@@ -94,7 +94,7 @@
|
||||
|
||||
--sidebar-border: oklch(0.922 0 0);
|
||||
|
||||
--sidebar-ring: oklch(0.708 0 0)
|
||||
--sidebar-ring: oklch(0.708 0 0);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
@@ -117,16 +117,31 @@
|
||||
}
|
||||
}
|
||||
|
||||
#root {
|
||||
width: 1126px;
|
||||
max-width: 100%;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
border-inline: 1px solid var(--border);
|
||||
min-height: 100svh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
box-sizing: border-box;
|
||||
:root {
|
||||
--background: oklch(0.98 0.005 240);
|
||||
--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-foreground: oklch(0.98 0 0);
|
||||
--secondary: oklch(0.93 0.02 240);
|
||||
--secondary-foreground: oklch(0.25 0.08 250);
|
||||
--muted: oklch(0.95 0.01 240);
|
||||
--muted-foreground: oklch(0.5 0.04 250);
|
||||
--accent: oklch(0.93 0.02 240);
|
||||
--accent-foreground: oklch(0.25 0.08 250);
|
||||
--destructive: oklch(0.577 0.245 27.325);
|
||||
--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-foreground: oklch(0.9 0.02 240);
|
||||
--sidebar-primary: oklch(0.65 0.15 200);
|
||||
--sidebar-primary-foreground: oklch(0.1 0.02 250);
|
||||
--sidebar-accent: oklch(0.28 0.07 255);
|
||||
--sidebar-accent-foreground: oklch(0.95 0.01 240);
|
||||
--sidebar-border: oklch(0.3 0.06 255);
|
||||
--sidebar-ring: oklch(0.55 0.12 250);
|
||||
}
|
||||
|
||||
body {
|
||||
@@ -179,7 +194,7 @@ code {
|
||||
|
||||
@theme inline {
|
||||
--font-heading: var(--font-sans);
|
||||
--font-sans: 'Geist Variable', sans-serif;
|
||||
--font-sans: "Geist Variable", sans-serif;
|
||||
--color-sidebar-ring: var(--sidebar-ring);
|
||||
--color-sidebar-border: var(--sidebar-border);
|
||||
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
||||
@@ -221,43 +236,49 @@ code {
|
||||
}
|
||||
|
||||
.dark {
|
||||
--background: oklch(0.145 0 0);
|
||||
--foreground: oklch(0.985 0 0);
|
||||
--card: oklch(0.205 0 0);
|
||||
--card-foreground: oklch(0.985 0 0);
|
||||
--popover: oklch(0.205 0 0);
|
||||
--popover-foreground: oklch(0.985 0 0);
|
||||
--primary: oklch(0.922 0 0);
|
||||
--primary-foreground: oklch(0.205 0 0);
|
||||
--secondary: oklch(0.269 0 0);
|
||||
--secondary-foreground: oklch(0.985 0 0);
|
||||
--muted: oklch(0.269 0 0);
|
||||
--muted-foreground: oklch(0.708 0 0);
|
||||
--accent: oklch(0.269 0 0);
|
||||
--accent-foreground: oklch(0.985 0 0);
|
||||
--destructive: oklch(0.704 0.191 22.216);
|
||||
--border: oklch(1 0 0 / 10%);
|
||||
--input: oklch(1 0 0 / 15%);
|
||||
--ring: oklch(0.556 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);
|
||||
--sidebar: oklch(0.205 0 0);
|
||||
--sidebar-foreground: oklch(0.985 0 0);
|
||||
--sidebar-primary: oklch(0.488 0.243 264.376);
|
||||
--sidebar-primary-foreground: oklch(0.985 0 0);
|
||||
--sidebar-accent: oklch(0.269 0 0);
|
||||
--sidebar-accent-foreground: oklch(0.985 0 0);
|
||||
--sidebar-border: oklch(1 0 0 / 10%);
|
||||
--sidebar-ring: oklch(0.556 0 0);
|
||||
--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 */
|
||||
--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);
|
||||
--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);
|
||||
--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);
|
||||
|
||||
/* 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 */
|
||||
}
|
||||
|
||||
@layer base {
|
||||
* {
|
||||
@apply border-border outline-ring/50;}
|
||||
@apply border-border outline-ring/50;
|
||||
}
|
||||
body {
|
||||
@apply bg-background text-foreground;}
|
||||
@apply bg-background text-foreground;
|
||||
}
|
||||
html {
|
||||
@apply font-sans;}}
|
||||
@apply font-sans;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user