feat: complete UI design system refactoring and fix TS build errors

This commit is contained in:
Leon Tonhäuser committed 2026-08-11 03:38:34 +02:00
1 parent 0b1ffdfdfc
commit 8728308fc6
27 files changed
+847 -370

No files matched your search

+51
View File
@@ -1,6 +1,28 @@
@import "tailwindcss";
@theme {
--color-primary-50: #eef2ff;
--color-primary-100: #e0e7ff;
--color-primary-200: #c7d2fe;
--color-primary-300: #a5b4fc;
--color-primary-400: #818cf8;
--color-primary-500: #6366f1;
--color-primary-600: #4f46e5;
--color-primary-700: #4338ca;
--color-primary-800: #3730a3;
--color-primary-900: #312e81;
--color-background: var(--bg-main);
--color-foreground: var(--text-main);
--color-card: var(--bg-card);
--color-card-foreground: var(--text-card);
--color-border: var(--border-color);
--font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}
:root {
/* Legacy Vars */
--paper: #ffffff;
--ink: #050505;
--graphite: #242424;
@@ -9,9 +31,38 @@
--muted: var(--metadata);
--line: #d8d8d8;
--soft: #f3f3f3;
/* New Design System Vars */
--bg-main: #f8fafc;
--text-main: #0f172a;
--bg-card: #ffffff;
--text-card: #1e293b;
--border-color: #e2e8f0;
color-scheme: light;
}
.dark {
/* Legacy Vars - Adjusted for Dark Mode */
--paper: #09090b;
--ink: #fafafa;
--graphite: #d4d4d8;
--contact-sheet: #18181b;
--metadata: #a1a1aa;
--muted: var(--metadata);
--line: #27272a;
--soft: #27272a;
/* New Design System Vars */
--bg-main: #020617;
--text-main: #f8fafc;
--bg-card: #0f172a;
--text-card: #f1f5f9;
--border-color: #1e293b;
color-scheme: dark;
}
* {
box-sizing: border-box;
}