colors.dark property in your docs.json.
To add a banner, use the banner property in your docs.json:
Banners can also be configured on a per-language basis by setting the banner property in
navigation.languages.Properties
The banner message. Supports plain text and Markdown formatting.
Whether users can dismiss the banner. When
true, users can close the banner and it won’t reappear for their session. Defaults to false.