Skip to content

Latest commit

 

History

History
87 lines (71 loc) · 2.68 KB

SHOWCASE.md

File metadata and controls

87 lines (71 loc) · 2.68 KB

Theme Showcase Standard

Every theme showcase should render the same OpenCode conversation so visual differences come from the theme rather than the content, terminal, or viewport.

Fixture

Use this prompt in a fresh OpenCode session:

Reply with exactly the following Markdown and no additional text:

# Dino Rescue: Paddock Transfer

```mermaid
sequenceDiagram
    actor Ranger
    participant App as Dino Rescue App
    participant API as Park API
    participant Tracker as GPS Tracker
    participant Gate as Paddock Gate
    participant Vet as Veterinary Team

    Ranger->>App: Select injured Stegosaurus
    App->>API: POST /api/transfers
    API->>Tracker: Request current location
    Tracker-->>API: River Valley, Sector 4

    API->>Vet: Check transport clearance
    Vet-->>API: Transfer approved

    API->>Gate: Reserve Paddock B
    Gate-->>API: Route secured

    API-->>App: 202 Transfer scheduled
    App-->>Ranger: Begin guided route

    loop Every 30 seconds
        Tracker->>API: Send dinosaur position
        API-->>App: Update live map
    end

    alt Dinosaur leaves safe route
        API->>Gate: Lock nearby predator gates
        API->>Vet: Request field assistance
        Vet-->>Ranger: Emergency team dispatched
    else Dinosaur reaches Paddock B
        Gate->>API: Confirm arrival
        API->>Tracker: End active tracking
        API-->>App: Transfer complete
        App-->>Ranger: Stegosaurus is secure
    end
```

```diff
diff --git a/src/transfers.ts b/src/transfers.ts
index 18a4d21..72bc901 100644
--- a/src/transfers.ts
+++ b/src/transfers.ts
@@ -14,8 +14,12 @@ export async function transferDinosaur(dinosaur: Dinosaur) {
-  const paddock = await findOpenPaddock()
-  return moveDinosaur(dinosaur, paddock)
+  const paddock = await findSafePaddock(dinosaur.species)
+  const route = await reserveRoute(dinosaur.location, paddock)
+
+  await notifyVeterinaryTeam(dinosaur)
+  await beginLiveTracking(dinosaur, route)
+
+  return { paddock, route, status: "in_transit" }
 }
```

Capture

  1. Use Ghostty with Ioskeley Mono at 14 pt.
  2. Size the window to 120 columns by 55 rows.
  3. Open the fixture session and scroll to show the lower sequence diagram, the complete diff, assistant metadata, prompt panel, and status line.
  4. Switch only the OpenCode theme between captures. Do not resize or scroll.
  5. Use macOS window capture (command+shift+4, then space) and click the Ghostty window.
  6. Save the image as themes/<theme-name>/showcase.png without cropping or adding simulated window decorations.

The separate palette.svg remains the authoritative full color reference. The showcase demonstrates how those colors work together in the real OpenCode TUI.