Fix syntax errors in font weight options (#6248)

This commit is contained in:
alexzshl 2020-05-29 13:28:13 +08:00 committed by GitHub
parent ba03068940
commit af56088cb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -534,7 +534,7 @@
"fontWeight": {
"default": "normal",
"description": "Sets the weight (lightness or heaviness of the strokes) for the given font. Possible values:\n -\"thin\"\n -\"extra-light\"\n -\"light\"\n -\"semi-light\"\n -\"normal\" (default)\n -\"medium\"\n -\"semi-bold\"\n -\"bold\"\n -\"extra-bold\"\n -\"black\"\n -\"extra-black\" or the corresponding numeric representation of OpenType font weight.",
"oneOf": [
"oneOf": [
{
"enum": [
"thin",
@ -556,7 +556,8 @@
"minimum": 100,
"type": "integer"
}
}
]
},
"foreground": {
"$ref": "#/definitions/Color",
"default": "#cccccc",