Skip to content

Commit

Permalink
feat: Added manage apis for windlowColor and windowOpacity (#157)
Browse files Browse the repository at this point in the history
* feat: Added manage apis for windlowColor and windowOpacity
  • Loading branch information
kevinshahfws committed Aug 7, 2023
1 parent be3b112 commit f508358
Show file tree
Hide file tree
Showing 2 changed files with 176 additions and 58 deletions.
138 changes: 80 additions & 58 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

96 changes: 96 additions & 0 deletions src/openrpc/closed_captions.json
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,102 @@
}
}
]
},
{
"name": "windowColor",
"tags": [
{
"name": "property"
},
{
"name": "capabilities",
"x-uses": [
"xrn:firebolt:capability:accessibility:closedcaptions"
]
}
],
"summary": "The preferred window color for displaying closed-captions, .",
"params": [],
"result": {
"name": "color",
"schema": {
"$ref": "https://meta.comcast.com/firebolt/accessibility#/definitions/Color"
}
},
"examples": [
{
"name": "Default example #1",
"params": [],
"result": {
"name": "color",
"value": "#000000"
}
},
{
"name": "Default example #2",
"params": [],
"result": {
"name": "color",
"value": "white"
}
},
{
"name": "Default example #3",
"params": [],
"result": {
"name": "color",
"value": null
}
}
]
},
{
"name": "windowOpacity",
"tags": [
{
"name": "property"
},
{
"name": "capabilities",
"x-uses": [
"xrn:firebolt:capability:accessibility:closedcaptions"
]
}
],
"summary": "The preferred window opacity for displaying closed-captions backgrounds.",
"params": [],
"result": {
"name": "opacity",
"schema": {
"$ref": "https://meta.comcast.com/firebolt/accessibility#/definitions/Opacity"
}
},
"examples": [
{
"name": "Default example #1",
"params": [],
"result": {
"name": "opacity",
"value": 99
}
},
{
"name": "Default example #2",
"params": [],
"result": {
"name": "opacity",
"value": 100
}
},
{
"name": "Default example #3",
"params": [],
"result": {
"name": "opacity",
"value": null
}
}
]
}
],
"components": {
Expand Down

0 comments on commit f508358

Please sign in to comment.