From ec9ba8fd9fc3685436d933d8f667546750729517 Mon Sep 17 00:00:00 2001 From: Sandro Date: Sat, 24 Oct 2026 20:07:27 +0200 Subject: [PATCH] feat(design): centralize design system with CSS variables and semantic classes in index.css --- frontend/src/App.tsx | 76 ++---- .../features/capture/InstantCaptureBar.tsx | 28 +-- .../src/features/lists/SharedListsView.tsx | 90 +++---- .../src/features/settings/EcosystemView.tsx | 40 ++-- frontend/src/features/triage/TasksView.tsx | 41 ++-- frontend/src/features/triage/TriageDeck.tsx | 62 +++-- .../src/features/workspace/WorkspaceView.tsx | 128 +++++----- frontend/src/index.css | 219 +++++++++++++++--- frontend/tailwind.config.js | 48 ++-- 9 files changed, 428 insertions(+), 304 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 37d044b..be5583c 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -148,9 +148,9 @@ export const App: React.FC = () => { }; return ( -
+
{/* Top Header Bar */} -
+
{/* Logo & Headline */}
{ }} className="flex items-center gap-2.5 cursor-pointer group select-none" > -
+
@@ -180,10 +180,10 @@ export const App: React.FC = () => { triggerHaptic(10); setShowProfileModal(true); }} - className="h-8 pl-1 pr-3 rounded-full bg-[#222428] hover:bg-[#282a2f] border border-white/[0.08] text-xs font-medium text-white flex items-center gap-2 transition-colors" + className="h-8 pl-1 pr-3 rounded-full bg-panel hover:bg-panel-elevated border border-border text-xs font-medium text-white flex items-center gap-2 transition-colors" title="Profil & Einstellungen" > -
+
{user?.displayName ? user.displayName.slice(0, 1).toUpperCase() : 'U'}
{user?.displayName || 'Konto'} @@ -192,29 +192,19 @@ export const App: React.FC = () => {
{/* Monochrome square tabs attached to header */} -