mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-17 14:08:41 -09:00
Update config schema
This commit is contained in:
parent
2cebe0fc9f
commit
3143f7b963
1 changed files with 28 additions and 42 deletions
|
|
@ -1,5 +1,31 @@
|
||||||
{
|
{
|
||||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||||
|
"definitions": {
|
||||||
|
"FontWeight": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"enum": [
|
||||||
|
"100",
|
||||||
|
"200",
|
||||||
|
"300",
|
||||||
|
"400",
|
||||||
|
"500",
|
||||||
|
"600",
|
||||||
|
"700",
|
||||||
|
"800",
|
||||||
|
"900",
|
||||||
|
"bold",
|
||||||
|
"normal"
|
||||||
|
],
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "number"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "A string or number representing text font weight."
|
||||||
|
}
|
||||||
|
},
|
||||||
"properties": {
|
"properties": {
|
||||||
"config": {
|
"config": {
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -165,51 +191,11 @@
|
||||||
"type": "number"
|
"type": "number"
|
||||||
},
|
},
|
||||||
"fontWeight": {
|
"fontWeight": {
|
||||||
"anyOf": [
|
"$ref": "#/definitions/FontWeight",
|
||||||
{
|
|
||||||
"enum": [
|
|
||||||
"100",
|
|
||||||
"200",
|
|
||||||
"300",
|
|
||||||
"400",
|
|
||||||
"500",
|
|
||||||
"600",
|
|
||||||
"700",
|
|
||||||
"800",
|
|
||||||
"900",
|
|
||||||
"bold",
|
|
||||||
"normal"
|
|
||||||
],
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "number"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "default font weight eg:'normal', '400', 'bold'"
|
"description": "default font weight eg:'normal', '400', 'bold'"
|
||||||
},
|
},
|
||||||
"fontWeightBold": {
|
"fontWeightBold": {
|
||||||
"anyOf": [
|
"$ref": "#/definitions/FontWeight",
|
||||||
{
|
|
||||||
"enum": [
|
|
||||||
"100",
|
|
||||||
"200",
|
|
||||||
"300",
|
|
||||||
"400",
|
|
||||||
"500",
|
|
||||||
"600",
|
|
||||||
"700",
|
|
||||||
"800",
|
|
||||||
"900",
|
|
||||||
"bold",
|
|
||||||
"normal"
|
|
||||||
],
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "number"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "font weight for bold characters eg:'normal', '600', 'bold'"
|
"description": "font weight for bold characters eg:'normal', '600', 'bold'"
|
||||||
},
|
},
|
||||||
"foregroundColor": {
|
"foregroundColor": {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue