colors.dark property in your docs.json.
To add a banner, use the banner property in your docs.json:
You can also configure banners per language by setting
banner in navigation.languages. See Language-specific banners.Properties
The text content displayed in the banner. Supports basic MDX formatting including links, bold, and italic text. Custom components are not supported.
Whether users can dismiss the banner. When
true, a close button appears. If a user dismisses the banner, it stays hidden for them until you update the banner content. Defaults to false.Language-specific banners
Configure different banner content for each language in your documentation. Define language-specific banners in thenavigation.languages array in your docs.json.
Fallback behavior
Banners follow a priority order when determining which content to display:- Language-specific banner: If the current language has a
bannerconfiguration, it takes priority. - Global banner: If no language-specific banner exists, display the global
banner.