diff --git a/BRAIN.md b/BRAIN.md index f5710c9..52bb27e 100644 --- a/BRAIN.md +++ b/BRAIN.md @@ -5,34 +5,37 @@ ## 🎹 1. Design-Tokens & Gemini-Dark-Theme (Copy & Paste) -### Farbpalette (Strict Hex Values) +### Farbpalette (Strict Hex Values - Google Gemini Material 3 Dark) ```css -/* Backgrounds */ ---bg-app: #0b0f19; /* Tiefstes Obsidian / OLED Base */ ---bg-surface: #131314; /* Leicht erhobene Panels, Sidebar */ ---bg-card: #1e1f20; /* Swipe-Karten, Dialoge, Dropdowns */ ---bg-card-hover: #282a2c; /* Hover-ZustĂ€nde */ +/* Backgrounds (Material 3 Dark Theme) */ +--bg-canvas: #131314; /* Google Gemini Canvas */ +--bg-surface: #1e1f20; /* Surface Container (Karten, Dialoge, Panels) */ +--bg-elevated: #282a2c; /* Elevated Container / Tonal Chips / Hover */ +--bg-field: #131314; /* Input Field Fill */ /* Borders & Dividers */ ---border-subtle: rgba(255, 255, 255, 0.08); /* 1px Standard-Kante */ ---border-focus: rgba(138, 180, 248, 0.40); /* Gemini Blue Glow */ +--border-subtle: rgba(255, 255, 255, 0.08); /* 1px Hairline Kante */ +--border-focus: rgba(168, 199, 250, 0.40); /* Gemini Primary Blue Hairline */ -/* Akzente & Status */ ---accent-blue: #8ab4f8; /* Gemini PrimĂ€rblau (Buttons, Links, Active) */ ---accent-purple: #c58af9; /* Gemini Voice / Magic Glow */ ---swipe-keep: #81c995; /* Swipe Rechts (Behalten / ToDo / Success) */ ---swipe-discard: #f28b82; /* Swipe Links (Verwerfen / Archive / Danger) */ +/* Akzente & Status (Material 3 Soft Pastels - KEINE grellen AI-FarbverlĂ€ufe) */ +--color-primary: #a8c7fa; /* Google Gemini Primary Blue */ +--color-on-pri: #041e49; /* Text on Primary Container */ +--color-success: #a8dab5; /* Soft Green (Check / Kept) */ +--color-danger: #f28b82; /* Soft Coral Red (Discard / Delete) */ +--color-warning: #fdd663; /* Warm Amber */ /* Typografie */ ---text-primary: #e3e3e3; /* Haupttext (hoher Kontrast, augenschonend) */ ---text-muted: #9aa0a6; /* SekundĂ€rtexte, Metadaten, Placeholders */ ---text-subtle: #5f6368; /* Timestamps, Footer, Deaktiviert */ +--text-primary: #e3e3e3; /* High Emphasis */ +--text-secondary: #c4c7c5; /* Medium Emphasis */ +--text-muted: #8e918f; /* Low Emphasis / Subtle */ ``` ### UI-Regeln & Radien -* **Buttons / Pills:** Ausnahmslos `rounded-full` (`border-radius: 9999px`). -* **Karten (Triage Deck):** `rounded-3xl` (`24px`), Padding `p-6`, Border `1px solid var(--border-subtle)`. -* **Input-Feld (Instant Capture):** `rounded-full`, Höhe `h-14` (56px) fĂŒr mobile Daumenbedienung, Autofokus bei Mount. +* **Keine grellen FarbverlĂ€ufe:** Niemals Blau-zu-Lila-Gradienten wie billige AI-Templates. Strikte neutrale Anthrazit-FlĂ€chen mit sanften Pastell-Akzenten. +* **Keine grellen Glow-Schatten:** Keine starken farbigen Drop-Shadows oder Neon-Glows. Feine `border: 1px solid rgba(255,255,255,0.08)` Hairlines nutzen. +* **Buttons / Pills:** `rounded-full` (`border-radius: 9999px`) fĂŒr Filter, Actions und Navigation. +* **Karten:** `rounded-2xl` (`16px`) oder `rounded-3xl` (`24px`), Padding `p-5` bis `p-6`, Border `1px solid rgba(255, 255, 255, 0.08)`. +* **Input-Feld (Instant Capture):** Prompt-Box-Stil wie Google Gemini, Höhe `h-14` (56px) fĂŒr mobile Daumenbedienung, Autofokus bei Mount. * **Gesten-Physik (Framer Motion):** * Swipe-Schwellenwert: `dragConstraints={{ left: -150, right: 150 }}` * Spring-Config: `{ type: "spring", stiffness: 350, damping: 25 }` diff --git a/docker-compose.yml b/docker-compose.yml index 1d214ca..d257c66 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ services: build: context: . dockerfile: Dockerfile - image: git.dsit.me/sandrodach/mindsift:latest + image: git.dsit.me/sandrodach/mindsift:dev container_name: mindsift restart: unless-stopped ports: diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 62712e6..a5841e3 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -8,7 +8,6 @@ import { Brain, LogOut, User as UserIcon, - Sparkles, } from 'lucide-react'; import { DashboardStats, SharedList, Thought, User } from './lib/types'; import { api, clearToken, getToken } from './lib/api'; @@ -128,12 +127,9 @@ export const App: React.FC = () => { }; return ( -
- {/* Ambient Top Gemini Glow */} -
- +
{/* Header Bar */} -
+
{/* Brand Logo */}
{ setActiveTab('triage'); setCaptureFocusCount((c) => c + 1); }} - className="flex items-center gap-2.5 cursor-pointer group" + className="flex items-center gap-2.5 cursor-pointer group select-none" > -
- +
+
-
- +
+ MindSift - - Der Kopf frei in drei Sekunden. + + Der Kopf frei in drei Sekunden
@@ -160,10 +156,10 @@ export const App: React.FC = () => {
@@ -171,35 +167,29 @@ export const App: React.FC = () => {
{/* Main Content Container */} -
- {/* Global Instant Capture Section (Always Ready at Top) */} -
+
+ {/* Global Instant Capture Section */} +
- {/* Pill Navigation Tabs */} -