feat(v2): add style property to theme-classic navbar (#3432)

* feat(v2): add style property to theme-classic navbar

* revert config test change

* review changes
This commit is contained in:
Bartosz Kaszubowski 2020-09-11 18:03:06 +02:00 committed by GitHub
parent c0ce83f243
commit 086bee287d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 29 additions and 2 deletions

View file

@ -189,6 +189,7 @@ const ThemeConfigSchema = Joi.object({
isCloseable: Joi.bool().default(true),
}).optional(),
navbar: Joi.object({
style: Joi.string().equal('dark', 'primary'),
hideOnScroll: Joi.bool().default(false),
// TODO temporary (@alpha-58)
links: Joi.any().forbidden().messages({