- Update tool count from 29 to 75 across all docs and locales - Expand all locale pages (de/es/fr/it/pl) to full translations - Add missing German sections: Advanced Rendering, Z-Order, ScrubInput, CI/CD, JSX Renderer, Code Panel, full figma-comparison matrix - Write complete figma-comparison (152-row matrix) for all locales - Expand comparison, features, tech-stack, contributing for es/fr/it/pl - Fix garbled text in locale mcp-tools reference pages - Architecture diagrams use '75+ tools' to avoid staleness
2.6 KiB
2.6 KiB
Tech-Stack
Kerntechnologien
| Schicht | Technologie | Warum |
|---|---|---|
| Rendering | Skia CanvasKit WASM | Dieselbe Engine wie Figma — bewährte Leistung, GPU-beschleunigt, pixelgenau |
| UI-Framework | Vue 3 + VueUse | Reaktive Composition API, hervorragende TypeScript-Unterstützung |
| Komponenten | Reka UI | Headless, barrierefreie UI-Primitive (Tree, Slider usw.) |
| Styling | Tailwind CSS 4 | Utility-first, schnelle Iteration, dunkles Theme |
| Layout | Yoga WASM | CSS-Flexbox-Engine von Meta, kampferprobt in React Native |
| Dateiformat | Kiwi-Binär + Zstd | Figmas eigenes Format — kompakt, schnelles Parsen, .fig-kompatibel |
| Kollaboration | Trystero + Yjs | P2P-WebRTC über MQTT-Signalisierung, CRDT-Sync, y-indexeddb-Persistenz |
| Farbe | culori | Farbraum-Konvertierungen (HSV, RGB, Hex) |
| KI/MCP | MCP SDK + Hono | 75 Tools für KI-Coding-Werkzeuge, stdio- + HTTP-Transporte |
| Desktop | Tauri v2 | ~5 MB native App (vs. Electrons ~100 MB), Rust-Backend |
| Build | Vite 7 | Schnelles HMR, native ES-Module |
| Testing | Playwright + bun:test | Visuelle Regression (E2E) + schnelle Unit-Tests |
| Linting | oxlint | Rust-basiert, um Größenordnungen schneller als ESLint |
| Formatierung | oxfmt | Rust-basierter Formatierer |
| Typprüfung | typescript-go (tsgo) | Native Go-Implementierung des TypeScript-Typprüfers |
Wichtige Abhängigkeiten
{
"canvaskit-wasm": "^0.40.0",
"vue": "^3.5.29",
"yoga-layout": "^3.2.1",
"reka-ui": "^2.8.2",
"tailwindcss": "^4.2.1",
"culori": "^4.0.2",
"fzstd": "^0.1.1",
"fflate": "^0.8.2",
"trystero": "^0.20.0",
"yjs": "^13.6.24",
"y-indexeddb": "^9.0.12"
}
Warum nicht...
Warum kein SVG-Rendering?
SVG ist langsam für komplexe Dokumente. Jeder Knoten ist ein DOM-Element — 10.000 Knoten bedeuten 10.000 DOM-Knoten. CanvasKit zeichnet alles auf eine einzige GPU-Oberfläche.
Warum nicht Electron (wie Figma Desktop)?
Tauri v2 nutzt den System-Webview (~5 MB) statt Chromium zu bündeln (~100 MB).
Warum nicht React?
Das Projekt migrierte früh von React zu Vue 3. Vues Reaktivitätssystem und VueUse-Composables erwiesen sich als ergonomischer.
Warum keine eigene Layout-Engine?
Yoga wird von Meta gepflegt, ist auf Milliarden von React-Native-Geräten getestet und implementiert die CSS-Flexbox-Spezifikation.
Geplante Technologien
| Technologie | Zweck | Phase |
|---|---|---|
| CSS Grid in Yoga | Grid-basiertes Auto-Layout | Blockiert durch Upstream (facebook/yoga#1893) |