Skip to content

Commit df61fae

Browse files
committed
fix(docs): align Mintlify config with current schema
Mintlify rejects colors.background and modeToggle in docs.json. Move background colors to background.color and rely on appearance for dark-mode defaults so deployments validate successfully.
1 parent 51d4fb9 commit df61fae

File tree

2 files changed

+12
-18
lines changed

2 files changed

+12
-18
lines changed

docs.json

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
"colors": {
66
"primary": "#3B82F6",
77
"light": "#60A5FA",
8-
"dark": "#2563EB",
9-
"background": {
10-
"light": "#ffffff",
11-
"dark": "#0a0a0a"
12-
}
8+
"dark": "#2563EB"
139
},
1410
"logo": {
1511
"light": "/docs/logo/light.png",
@@ -22,14 +18,15 @@
2218
"strict": false
2319
},
2420
"background": {
25-
"decoration": "grid"
21+
"decoration": "grid",
22+
"color": {
23+
"light": "#ffffff",
24+
"dark": "#0a0a0a"
25+
}
2626
},
2727
"icons": {
2828
"library": "lucide"
2929
},
30-
"modeToggle": {
31-
"default": "dark"
32-
},
3330
"navigation": {
3431
"tabs": [
3532
{

docs/docs.json

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
"colors": {
66
"primary": "#3B82F6",
77
"light": "#60A5FA",
8-
"dark": "#2563EB",
9-
"background": {
10-
"light": "#ffffff",
11-
"dark": "#0a0a0a"
12-
}
8+
"dark": "#2563EB"
139
},
1410
"logo": {
1511
"light": "/logo/light.png",
@@ -22,14 +18,15 @@
2218
"strict": false
2319
},
2420
"background": {
25-
"decoration": "grid"
21+
"decoration": "grid",
22+
"color": {
23+
"light": "#ffffff",
24+
"dark": "#0a0a0a"
25+
}
2626
},
2727
"icons": {
2828
"library": "lucide"
2929
},
30-
"modeToggle": {
31-
"default": "dark"
32-
},
3330
"navigation": {
3431
"tabs": [
3532
{

0 commit comments

Comments
 (0)