mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-28 19:08:32 +08:00
updated font family schema
This commit is contained in:
parent
7fb6593c0c
commit
555318d0bc
1 changed files with 4 additions and 1 deletions
|
|
@ -79,7 +79,10 @@ const CONFIG_SCHEMA = joi.object({
|
|||
.valid("lowercase", "uppercase", "blank", "dynamic"),
|
||||
keymapLayout: joi.string().valid().max(50).token(),
|
||||
keymapShowTopRow: joi.string().valid("always", "layout", "never"),
|
||||
fontFamily: joi.string().max(50).token(),
|
||||
fontFamily: joi
|
||||
.string()
|
||||
.max(50)
|
||||
.regex(/^[a-zA-Z0-9_-+.]+$/),
|
||||
smoothLineScroll: joi.boolean(),
|
||||
alwaysShowDecimalPlaces: joi.boolean(),
|
||||
alwaysShowWordsHistory: joi.boolean(),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue