Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix(docs): lift three faint docs surfaces to AA contrast

nirholas7b35a875aa0f
diff --git a/docs/index.html b/docs/index.html
index 302343796..b6e0a680e 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -771,6 +771,14 @@
background: transparent !important;
padding: 0 !important;
}
+ /* atom-one-dark comments ship as #5c6370, which is 3.13:1 against
+ the code-block background below and fails AA. Comments carry the
+ explanation in most of our samples, so they get a readable tone
+ rather than a decorative one. */
+ .hljs-comment,
+ .hljs-quote {
+ color: #7d8496 !important;
+ }
/* Anchor IDs — offset for fixed header */
.docs-content h2[id],
diff --git a/public/doc-freshness.js b/public/doc-freshness.js
index a9d803ecd..39073c4d8 100644
--- a/public/doc-freshness.js
+++ b/public/doc-freshness.js
@@ -121,7 +121,10 @@ function injectStyle() {
.doc-freshness.is-stale .doc-freshness-chip{color:#ff8f6b}
.doc-freshness.is-conceptual .doc-freshness-chip{opacity:0.62}
.doc-freshness-text{flex:1 1 240px;min-width:0;opacity:0.78}
-.doc-freshness-link{flex:none;color:inherit;opacity:0.72;text-decoration:none;border-bottom:1px solid currentColor;
+/* The link is a control, not prose, so it cannot be dimmed the way
+ .doc-freshness-text is: at 0.72 it measured 4.01:1 against the banner
+ background, under AA. 0.88 keeps it visibly secondary at 5.4:1. */
+.doc-freshness-link{flex:none;color:inherit;opacity:0.88;text-decoration:none;border-bottom:1px solid currentColor;
padding-bottom:1px;transition:opacity .15s ease}
.doc-freshness-link:hover{opacity:1}
.doc-freshness-link:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:3px}
diff --git a/public/docs-live.css b/public/docs-live.css
index 8ec9574d5..9bf5b1c9f 100644
--- a/public/docs-live.css
+++ b/public/docs-live.css
@@ -14,6 +14,10 @@
--dlive-line: var(--border, rgba(255, 255, 255, 0.09));
--dlive-text: var(--text-body, rgba(224, 224, 224, 0.88));
--dlive-muted: var(--text-muted, rgba(224, 224, 224, 0.62));
+ /* Accent-on-accent-wash text. The raw accent over the badge's 14% wash of
+ itself lands at 3.38:1, under AA for 11.5px type, so badge text steps
+ away from the wash: toward white on dark, toward ink on light. */
+ --dlive-accent-text: color-mix(in srgb, var(--dlive-accent) 70%, #ffffff);
margin: 1.35rem 0;
border: 1px solid var(--dlive-line);
border-radius: var(--dlive-radius);
@@ -27,6 +31,7 @@
--dlive-line: rgba(10, 12, 20, 0.12);
--dlive-text: #1b1d24;
--dlive-muted: rgba(27, 29, 36, 0.62);
+ --dlive-accent-text: color-mix(in srgb, var(--dlive-accent) 72%, #0a0c14);
}
/* ── Toolbar ──────────────────────────────────────────────────────────────── */
@@ -55,7 +60,7 @@
font-size: 11.5px;
font-weight: 650;
letter-spacing: 0.02em;
- color: var(--dlive-accent);
+ color: var(--dlive-accent-text);
background: color-mix(in srgb, var(--dlive-accent) 14%, transparent);
border: 1px solid color-mix(in srgb, var(--dlive-accent) 32%, transparent);
white-space: nowrap;