mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-20 12:37:01 +02:00
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:
parent
c0ce83f243
commit
086bee287d
4 changed files with 29 additions and 2 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue