Skip to content

Commit a5e9e49

Browse files
committed
update themed images logic in utils
1 parent 1955d99 commit a5e9e49

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/utils.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ $$
273273

274274
Image path should include `#gh-light-mode-only` for the Light Theme and `#gh-dark-mode-only` for the Dark Theme
275275

276-
![Docusaurus themed image](/img/logo.svg#gh-light-mode-only)![Docusaurus themed image](/img/logo_dark.svg#gh-dark-mode-only)
276+
![Docusaurus themed image](/img/logo_dark.svg#gh-light-mode-only)![Docusaurus themed image](/img/logo.svg#gh-dark-mode-only)
277277

278278
### Second Version
279279

@@ -287,8 +287,8 @@ import ThemedImage from "@theme/ThemedImage";
287287
<ThemedImage
288288
alt="Docusaurus themed image"
289289
sources={{
290-
light: useBaseUrl("/img/logo.svg"),
291-
dark: useBaseUrl("/img/logo_dark.svg"),
290+
light: useBaseUrl("/img/logo_dark.svg"),
291+
dark: useBaseUrl("/img/logo.svg"),
292292
}}
293293
/>
294294

0 commit comments

Comments
 (0)