From ec43e0250bea0347907f796ac71c3970ebfa984f Mon Sep 17 00:00:00 2001
From: amarantha-k
Date: Fri, 29 May 2026 07:35:27 -0700
Subject: [PATCH] update image and dark mode rendering
---
docs/agents/agentic-transactions.page.tsx | 22 ++++++++++------------
docs/img/x402-sequence-light.svg | 13 +++++++------
2 files changed, 17 insertions(+), 18 deletions(-)
diff --git a/docs/agents/agentic-transactions.page.tsx b/docs/agents/agentic-transactions.page.tsx
index 9a4d41cbc7..c9b51fd647 100644
--- a/docs/agents/agentic-transactions.page.tsx
+++ b/docs/agents/agentic-transactions.page.tsx
@@ -236,6 +236,11 @@ export default function AgenticTransactions() {
color: #7c1fff;
}
+ /* Agentic payment loop diagram — swap to dark SVG in dark mode */
+ html:not(.light) .agentic-loop-diagram {
+ content: url(${require('../../static/img/xrpl-agentic-payment-loop.svg')});
+ }
+
/* Benefit cards: 3-col grid */
.benefit-card-grid {
display: grid;
@@ -340,18 +345,11 @@ export default function AgenticTransactions() {
)}
- {/* Dark/light diagram variants */}
-
-
-
-
+
{/* ── SEE IT FIRST ─────────────────────────────────────────────────── */}
diff --git a/docs/img/x402-sequence-light.svg b/docs/img/x402-sequence-light.svg
index 4c4f927242..d2e453de57 100644
--- a/docs/img/x402-sequence-light.svg
+++ b/docs/img/x402-sequence-light.svg
@@ -67,12 +67,13 @@
200 OK
- GET /hello
-
-
- 1
+ GET /hello + X-PAYMENT header
+
+ X-PAYMENT: — (no prior payment)
+
+ 1
Payment Transaction
- amount: 1000 drops · destination: payTo
+ amount: 1000 drops · destination: payTo · Memo: { requestId, payTo }
3