Big restructure

This commit is contained in:
Alois 2026-03-14 12:43:26 +01:00
commit 4ee57ab459
69 changed files with 124 additions and 124 deletions

152
apps/web/src/index.css Normal file
View file

@ -0,0 +1,152 @@
@import "tailwindcss";
@import "tailwind-scrollbar-hide/v4";
@import "tw-animate-css";
@source "./**/*.{ts,tsx}";
@source "../../../packages/ui/src/**/*.{ts,tsx}";
@source "../../../packages/**/src/**/*.{ts,tsx}";
@source "../../../packages/chat/src/**/*.{ts,tsx}";
@custom-variant dark (&:is(.dark *));
@theme inline {
--breakpoint-sm: 640px;
--breakpoint-md: 768px;
--breakpoint-lg: 1024px;
--breakpoint-xl: 1280px;
--breakpoint-2xl: 1536px;
--animate-first: moveVertical 30s ease infinite;
--animate-second: moveInCircle 20s reverse infinite;
--animate-third: moveInCircle 40s linear infinite;
--animate-fourth: moveHorizontal 40s ease infinite;
--animate-fifth: moveInCircle 20s ease infinite;
--color-background: var(--background);
--color-foreground: var(--foreground);
--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-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) - 4px);
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 4px);
}
:root {
--radius: 0.625rem;
--background: #f7f7f7;
--foreground: #1f1f1f;
--card: #ffffff;
--card-foreground: #1f1f1f;
--popover: #ffffff;
--popover-foreground: #1f1f1f;
--primary: #babbf1;
--primary-foreground: #181a22;
--secondary: #efefef;
--secondary-foreground: #1f1f1f;
--muted: #ececec;
--muted-foreground: #666666;
--accent: var(--border);
--accent-foreground: #1f1f1f;
--destructive: #d8d8d8;
--destructive-foreground: #1f1f1f;
--border: #dadada;
--input: #e7e7e7;
--ring: #babbf1;
--chart-1: #babbf1;
--chart-2: #bcbcbc;
--chart-3: #969696;
--chart-4: #717171;
--chart-5: #4f4f4f;
--sidebar: #f1f1f1;
--sidebar-foreground: #1f1f1f;
--sidebar-primary: #babbf1;
--sidebar-primary-foreground: #181a22;
--sidebar-accent: #e7e7e7;
--sidebar-accent-foreground: #1f1f1f;
--sidebar-border: #dadada;
--sidebar-ring: #babbf1;
}
.dark {
--background: #141414;
--foreground: #f5f5f5;
--card: #1d1d1d;
--card-foreground: #f5f5f5;
--popover: #1d1d1d;
--popover-foreground: #f5f5f5;
--primary: #babbf1;
--primary-foreground: #11131a;
--secondary: #232323;
--secondary-foreground: #f5f5f5;
--muted: #262626;
--muted-foreground: #c7c7c7;
--accent: var(--border);
--accent-foreground: #f5f5f5;
--destructive: #2c2c2c;
--destructive-foreground: #f5f5f5;
--border: #343434;
--input: #2a2a2a;
--ring: #babbf1;
--chart-1: #babbf1;
--chart-2: #bcbcbc;
--chart-3: #969696;
--chart-4: #707070;
--chart-5: #525252;
--sidebar: #171717;
--sidebar-foreground: #f5f5f5;
--sidebar-primary: #babbf1;
--sidebar-primary-foreground: #11131a;
--sidebar-accent: #262626;
--sidebar-accent-foreground: #f5f5f5;
--sidebar-border: #343434;
--sidebar-ring: #babbf1;
}
@layer base {
* {
@apply border-border outline-ring/50;
}
body {
@apply bg-background text-foreground;
font-family: "Inter", system-ui, sans-serif;
}
div {
@apply text-foreground;
}
::selection {
background: var(--color-primary, var(--primary));
color: var(--color-primary-foreground, var(--primary-foreground));
}
::-moz-selection {
background: var(--color-primary, var(--primary));
color: var(--color-primary-foreground, var(--primary-foreground));
}
}