blob: 420540244ed158e4b5bc11bea1b20a625fe3a5a8 [file] [log] [blame]
{
"fonts": [
{
"family": "Foo",
"style": "Medium",
"weight": 100
},
{
"family": "Bar",
"style": "Regular",
"weight": 80
},
{
"family": "Baz",
"style": "Bold",
"weight": 200
}
],
"tests": [
{
"method": "match",
"query": {
"family": "Foo",
"weight": 200
},
"result": {
"family": "Foo",
"weight": 200,
"embolden": true
}
},
{
"method": "match",
"query": {
"family": "Bar",
"weight": 102
},
"result": {
"family": "Bar",
"weight": 80
}
},
{
"method": "match",
"query": {
"family": "Bar",
"weight": 200
},
"result": {
"family": "Bar",
"weight": 200,
"embolden": true
}
},
{
"method": "match",
"query": {
"family": "Baz",
"weight": 200
},
"result": {
"family": "Baz",
"weight": 200,
"embolden": null
}
}
]
}