Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Enhance image styling with accent border and improve figure semantics

Maximilian Roosaa1a6a2e6c02
diff --git a/docs/content/select.md b/docs/content/select.md
index c632e930c..091e87e86 100644
--- a/docs/content/select.md
+++ b/docs/content/select.md
@@ -10,7 +10,10 @@ group = "Commands"
Interactive worktree picker with live preview. Navigate worktrees with keyboard shortcuts and press Enter to switch.
-![wt select demo](/assets/wt-select.gif)
+<figure>
+<img src="/assets/wt-select.gif" alt="wt select demo">
+<figcaption>Navigating worktrees with preview panes showing diffs and commit history</figcaption>
+</figure>
## Examples
diff --git a/docs/content/why-worktrunk.md b/docs/content/why-worktrunk.md
index fac70b1c8..bef033f95 100644
--- a/docs/content/why-worktrunk.md
+++ b/docs/content/why-worktrunk.md
@@ -5,6 +5,8 @@ weight = 1
Worktrunk is a CLI for git worktree management, designed for parallel AI agent workflows. Git worktrees give each agent an isolated branch and directory; Worktrunk adds branch-based navigation, unified status, and lifecycle hooks. Creating a new agent workspace is as immediate as `git switch`.
+## Quick demo
+
<figure>
<img src="/assets/wt-demo.gif" alt="Worktrunk demo showing wt list, wt switch, and wt merge">
<figcaption>Listing worktrees, creating one, working, merging back</figcaption>
diff --git a/docs/sass/custom.scss b/docs/sass/custom.scss
index efb8066c5..7af50c1bf 100644
--- a/docs/sass/custom.scss
+++ b/docs/sass/custom.scss
@@ -293,9 +293,10 @@ main {
display: block;
max-width: 100%; // Scale down to fit, but don't upscale
box-sizing: border-box; // Include border in width calculation
- border-radius: 0.5rem;
- border: 1px solid var(--wt-color-border-subtle);
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
+ border: 1px solid var(--wt-color-code-border);
+ border-left: 3px solid var(--wt-color-accent);
+ border-radius: 0 0.5rem 0.5rem 0; // Square left (accent), rounded right
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
}
// Tighten spacing between paragraphs and code blocks
@@ -819,12 +820,7 @@ ul > li::marker {
figure {
margin: 1.5rem 0;
-
- // Match Juice theme's p > img sizing behavior
- img {
- width: 100%;
- height: auto;
- }
+ // Image styling inherited from .content img
}
figcaption {