Skip to content

Commit d32182c

Browse files
committed
add dark mode ToC image
1 parent b4ab1e5 commit d32182c

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

guides/changelogs.mdx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,17 @@ Check out the [Mintlify changelog](/changelog) as an example: you can include li
1212

1313
Each `Update` element label is automatically used to create a table of contents on the right side of the page:
1414

15-
<Frame caption="Table of contents">
16-
![Changelogs with table of contents](/images/changelog-toc.png)
15+
<Frame>
16+
<img
17+
src="/images/changelog-toc-light.png"
18+
alt="Changelog with table of contents displayed in light mode."
19+
className="block dark:hidden"
20+
/>
21+
<img
22+
src="/images/changelog-toc-dark.png"
23+
alt="Changelog with table of contents displayed in dark mode."
24+
className="hidden dark:block"
25+
/>
1726
</Frame>
1827

1928
## Tag filters

images/changelog-toc-dark.png

596 KB
Loading

0 commit comments

Comments
 (0)