- pgSchema "mesh" with 4 tables isolating the peer mesh domain - Enums: visibility, transport, tier, role - audit_log is metadata-only (E2E encryption enforced at broker/client) - Cascade on mesh delete, soft-delete via archivedAt/revokedAt Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
4.8 KiB
4.8 KiB
TurboStarter Wireframe Library
Overview
This folder contains reusable Excalidraw wireframes based on TurboStarter's boilerplate UI. Use these as templates when creating project-specific wireframes.
Full Architecture: See ARCHITECTURE.md for complete details on the design system, execution plan, and screen inventory.
Folder Structure
.context/turbostarter-framework-context/wireframes/
├── CLAUDE.md # This file - AI context
├── ARCHITECTURE.md # Full architecture documentation
├── wireframe-themes.json # Theme color definitions (8 variants)
├── apply-theme.js # Script to apply themes to wireframes
├── wireframe-theming.md # Detailed theming documentation
│
├── _templates/ # Reusable building blocks ($tokens)
│ ├── layouts/ # dashboard, auth, marketing
│ └── components/ # sidebar, header, data-table, etc.
│
├── low-fidelity/ # Basic layouts ($tokens)
├── medium-fidelity/ # + Labels & content ($tokens)
├── high-fidelity/ # + Final polish ($tokens)
│
└── themed/ # Ready-to-view files (actual colors)
├── high/ # HIGH fidelity with orange theme
├── medium/ # MEDIUM fidelity with orange theme
├── low/ # LOW fidelity with orange theme
└── templates/ # Templates with orange theme
Quick Start
View Wireframes (Open in Excalidraw)
Use files from themed/ folder - they have actual colors:
themed/high/auth-login.excalidraw
themed/high/dashboard-user.excalidraw
themed/high/data-table-users.excalidraw
Change Theme
# Apply different theme to all files
cd .context/turbostarter-framework-context/wireframes
for f in high-fidelity/*.excalidraw; do
node apply-theme.js "$f" blue-light "themed/high/$(basename $f)"
done
Available themes: orange-light, orange-dark, blue-light, blue-dark, green-light, green-dark, violet-light, violet-dark
Token Colors (For Creating New Wireframes)
| Token | Purpose |
|---|---|
$background |
Page/screen background |
$foreground |
Primary text |
$primary |
Brand color, CTAs |
$primary-foreground |
Text on primary |
$secondary |
Secondary backgrounds |
$muted |
Disabled/placeholder backgrounds |
$muted-foreground |
Disabled/placeholder text |
$border |
Borders, dividers |
$card |
Card backgrounds |
$destructive |
Delete/error |
$success |
Success states |
$sidebar |
Sidebar background |
$sidebar-foreground |
Sidebar text |
Screen Inventory (16 screens × 3 fidelities = 48 files)
Auth Screens (4)
auth-login- Email/password + OAuthauth-register- Registration formauth-forgot-password- Password resetauth-join-org- Organization invitation
Dashboard Layouts (3)
dashboard-user- User dashboard with cardsdashboard-org- Organization analyticsdashboard-admin- Admin panel
Sidebars (3)
sidebar-apps- Apps navigationsidebar-dashboard- User dashboard navsidebar-admin- Admin navigation
Settings (3)
settings-general- Profile, languagesettings-security- 2FA, passkeys, sessionssettings-billing- Plans, credits, history
Data Tables (3)
data-table-users- Admin users managementdata-table-members- Organization membersdata-table-invitations- Pending invitations
Templates (9 reusable components)
Layouts
dashboard- Sidebar + Header + Contentauth- Two-column auth splitmarketing- Header + Content + Footer
Components
sidebar- Collapsible navigationheader- Dashboard headerdata-table- Table + toolbar + paginationcard-grid- 3-column card layoutform- Inputs + buttons + OAuthmodal- Dialog with backdrop
Fidelity Levels
| Level | What | Use For |
|---|---|---|
| LOW | Boxes, layout only | Early concepts, IA validation |
| MEDIUM | + Labels, content | Design reviews, feedback |
| HIGH | + Details, polish | Developer handoff, approval |
Standard Dimensions
- Canvas: 1440×900 (desktop)
- Sidebar: 280px wide
- Header: 64px height
- Content padding: 24px
- Card gap: 16px
- Button/Input height: 40-44px
- Grid: 20px
Commands
# Apply theme
node apply-theme.js input.excalidraw orange-light output.excalidraw
# Validate JSON
node -e "JSON.parse(require('fs').readFileSync('file.excalidraw')); console.log('Valid')"
# Open themed folder
open themed/high/
Related Files
- Architecture:
ARCHITECTURE.md - TurboStarter themes:
packages/ui/shared/src/styles/themes/ - UI components:
packages/ui/ - App pages:
apps/web/src/app/[locale]/