From ee0bec5d83b009f2d162d9c584a05967df74d6ee Mon Sep 17 00:00:00 2001 From: Cody Bontecou Date: Thu, 29 Sep 2022 19:09:22 -1000 Subject: [PATCH] docs: logo alt attr documentation (#1415) Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> --- docs/guide/theme-nav.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/guide/theme-nav.md b/docs/guide/theme-nav.md index d86dcd00..55f7e41d 100644 --- a/docs/guide/theme-nav.md +++ b/docs/guide/theme-nav.md @@ -35,6 +35,8 @@ export default { } ``` +You can also pass an object as logo if you want to add `alt` attribute or customize it based on dark/light mode. Refer [`themeConfig.logo`](../config/theme-configs#logo) for details. + ## Navigation Links You may define `themeConfig.nav` option to add links to your nav.