refactor(v2): minor cleanups (#4959)

* refactor(v2): minor cleanups

* Fixes
This commit is contained in:
Alexey Pyltsyn 2021-06-16 11:59:50 +03:00 committed by GitHub
parent af3640dca2
commit bfd33dc63a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 203 additions and 198 deletions

View file

@ -250,8 +250,8 @@ const ThemeConfigSchema = Joi.object({
announcementBar: Joi.object({
id: Joi.string().default('announcement-bar'),
content: Joi.string(),
backgroundColor: Joi.string().default('#fff'),
textColor: Joi.string().default('#000'),
backgroundColor: Joi.string(),
textColor: Joi.string(),
isCloseable: Joi.bool().default(true),
}).optional(),
navbar: Joi.object({