From 927e77c7e20e38a530e319c59821196d8dd8e8d6 Mon Sep 17 00:00:00 2001 From: Nicholas Kissel Date: Tue, 24 Mar 2026 21:25:06 -0700 Subject: [PATCH 1/2] fix(docs): restore dark theme styling with custom CSS Re-enable theme.css with full custom styling (links, inputs, cards, code blocks, alerts) and update docs.json color values. Co-Authored-By: Claude Opus 4.6 --- docs/docs.json | 12 +++++------- docs/theme.css | 9 +++++++-- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/docs/docs.json b/docs/docs.json index 0c2b19a..1617044 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -2,14 +2,10 @@ "$schema": "https://mintlify.com/docs.json", "theme": "willow", "name": "Sandbox Agent SDK", - "appearance": { - "default": "dark", - "strict": true - }, "colors": { "primary": "#ff4f00", - "light": "#ff4f00", - "dark": "#ff4f00" + "light": "#ff6a2a", + "dark": "#cc3f00" }, "favicon": "/favicon.svg", "logo": { @@ -36,6 +32,7 @@ "href": "https://discord.gg/auCecybynK" }, { + "label": "GitHub", "type": "github", "href": "https://github.com/rivet-dev/sandbox-agent" } @@ -127,5 +124,6 @@ ] } ] - } + }, + "styles": ["/theme.css"] } diff --git a/docs/theme.css b/docs/theme.css index daeb719..4286d2c 100644 --- a/docs/theme.css +++ b/docs/theme.css @@ -20,7 +20,6 @@ body { color: var(--sa-text); } -/* a { color: var(--sa-primary); } @@ -41,6 +40,13 @@ select { color: var(--sa-text); } +code, +pre { + background-color: var(--sa-card); + border: 1px solid var(--sa-border); + color: var(--sa-text); +} + .card, .mintlify-card, .docs-card { @@ -64,4 +70,3 @@ select { .alert-danger { border-color: var(--sa-danger); } -*/ From 32713ff453559bb1d07e688a9811c392c1986196 Mon Sep 17 00:00:00 2001 From: Nicholas Kissel Date: Tue, 24 Mar 2026 21:33:10 -0700 Subject: [PATCH 2/2] fix(docs): keep dark mode strict appearance Co-Authored-By: Claude Opus 4.6 --- docs/docs.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/docs.json b/docs/docs.json index 1617044..8b0f858 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -2,6 +2,10 @@ "$schema": "https://mintlify.com/docs.json", "theme": "willow", "name": "Sandbox Agent SDK", + "appearance": { + "default": "dark", + "strict": true + }, "colors": { "primary": "#ff4f00", "light": "#ff6a2a",