diff --git a/docs/javascript.md b/docs/javascript.md
index bca7add3f..970fa05f2 100644
--- a/docs/javascript.md
+++ b/docs/javascript.md
@@ -90,10 +90,10 @@ The current time is ${new Date(now).toLocaleTimeString("en-US")}.
As with code blocks, if an inline expression evaluates to a DOM element or node, it will be inserted into the page. For example, you can…
-interpolate a sparkline ${Plot.plot({axis: null, margin: 0, width: 80, height: 17, x: {type: "band", round: false}, marks: [Plot.rectY(aapl.slice(-15), {x: "Date", y1: 150, y2: "Close", fill: "var(--observablehq-blue)"})]})}
+interpolate a sparkline ${Plot.plot({axis: null, margin: 0, width: 80, height: 17, x: {type: "band", round: false}, marks: [Plot.rectY(aapl.slice(-15), {x: "Date", y1: 150, y2: "Close", fill: "var(--theme-blue)"})]})}
```md echo
-interpolate a sparkline ${Plot.plot({axis: null, margin: 0, width: 80, height: 17, x: {type: "band", round: false}, marks: [Plot.rectY(aapl.slice(-15), {x: "Date", y1: 150, y2: "Close", fill: "var(--observablehq-blue)"})]})}
+interpolate a sparkline ${Plot.plot({axis: null, margin: 0, width: 80, height: 17, x: {type: "band", round: false}, marks: [Plot.rectY(aapl.slice(-15), {x: "Date", y1: 150, y2: "Close", fill: "var(--theme-blue)"})]})}
```
or even a reactive input ${Inputs.bind(html``, numberInput)} ${number}
diff --git a/docs/javascript/mutables.md b/docs/javascript/mutables.md
index df408754f..2c41293ec 100644
--- a/docs/javascript/mutables.md
+++ b/docs/javascript/mutables.md
@@ -24,7 +24,7 @@ Inputs.button([["Increment", increment], ["Reset", reset]])