Skip to content

Commit 9d3cb5a

Browse files
Update settings.mdx
1 parent 6954dc5 commit 9d3cb5a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

settings.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,14 @@ See [Themes](themes) for more information.
127127
<ResponseField name="eyebrows" type="&quot;section&quot; | &quot;breadcrumbs&quot;">
128128
The style of the page eyebrow. Choose `section` to show the section name or `breadcrumbs` to show the full navigation path. Defaults to `section`.
129129
</ResponseField>
130-
<ResponseField name="codeblocks" type="&quot;system&quot; | &quot;dark&quot; | string | object">
131-
The theme of the code blocks. You can use simple themes, specific theme names, or separate themes for light and dark modes.
130+
<ResponseField name="codeblocks" type="&quot;system&quot; | &quot;dark&quot; | object">
131+
Code block theme configuration. Defaults to `"system"`.
132132

133-
**Simple options:**
134-
- `"system"`: Match the site theme (default)
135-
- `"dark"`: Always use dark code blocks
133+
**Simple themes:**
134+
- `"system"`: Match site theme
135+
- `"dark"`: Always dark
136136

137-
**Theme name:**
138-
Use any [Shiki theme](https://shiki.style/themes) name as a string:
137+
**Custom themes:**
139138
```json
140139
"styling": {
141140
"codeblocks": {
@@ -144,8 +143,7 @@ See [Themes](themes) for more information.
144143
}
145144
```
146145

147-
**Separate light/dark themes:**
148-
Configure different themes for light and dark modes:
146+
**Light/dark themes:**
149147
```json
150148
"styling": {
151149
"codeblocks": {
@@ -156,6 +154,8 @@ See [Themes](themes) for more information.
156154
}
157155
}
158156
```
157+
158+
See [Shiki themes](https://shiki.style/themes) for available options.
159159
</ResponseField>
160160
</Expandable>
161161
</ResponseField>

0 commit comments

Comments
 (0)