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 <noreply@anthropic.com>
This commit is contained in:
Nicholas Kissel 2026-03-24 21:25:06 -07:00
parent f353e39fc6
commit 927e77c7e2
2 changed files with 12 additions and 9 deletions

View file

@ -2,14 +2,10 @@
"$schema": "https://mintlify.com/docs.json", "$schema": "https://mintlify.com/docs.json",
"theme": "willow", "theme": "willow",
"name": "Sandbox Agent SDK", "name": "Sandbox Agent SDK",
"appearance": {
"default": "dark",
"strict": true
},
"colors": { "colors": {
"primary": "#ff4f00", "primary": "#ff4f00",
"light": "#ff4f00", "light": "#ff6a2a",
"dark": "#ff4f00" "dark": "#cc3f00"
}, },
"favicon": "/favicon.svg", "favicon": "/favicon.svg",
"logo": { "logo": {
@ -36,6 +32,7 @@
"href": "https://discord.gg/auCecybynK" "href": "https://discord.gg/auCecybynK"
}, },
{ {
"label": "GitHub",
"type": "github", "type": "github",
"href": "https://github.com/rivet-dev/sandbox-agent" "href": "https://github.com/rivet-dev/sandbox-agent"
} }
@ -127,5 +124,6 @@
] ]
} }
] ]
} },
"styles": ["/theme.css"]
} }

View file

@ -20,7 +20,6 @@ body {
color: var(--sa-text); color: var(--sa-text);
} }
/*
a { a {
color: var(--sa-primary); color: var(--sa-primary);
} }
@ -41,6 +40,13 @@ select {
color: var(--sa-text); color: var(--sa-text);
} }
code,
pre {
background-color: var(--sa-card);
border: 1px solid var(--sa-border);
color: var(--sa-text);
}
.card, .card,
.mintlify-card, .mintlify-card,
.docs-card { .docs-card {
@ -64,4 +70,3 @@ select {
.alert-danger { .alert-danger {
border-color: var(--sa-danger); border-color: var(--sa-danger);
} }
*/