Image Border
Solid line along the image frame's shape, centered on the outline with a miter join, like a native picture line. A thick dark border on a rounded portrait frame gives a device bezel.
Metadata
Field index
| Field | Type | Req. | Description |
|---|---|---|---|
| color | ref:ColorRef | yes | Line color: a hex color, a color-scheme slot or role name, or a 'var:<id>' variable reference.
|
| width | number | yes | Line width in reference pixels at a 720-pixel short edge. 0 removes the line. |
color
typeref:ColorRefrequiredyesdefault—
Line color: a hex color, a color-scheme slot or role name, or a 'var:<id>' variable reference.
color· Named choices (see schema for other values and constraints)"accent1""accent2""accent3""accent4""accent5""accent6""dark1""dark2""light1""light2""hyperlink""followedHyperlink""primary""secondary""accent""background""surface""surfaceAlt""text""textSecondary"
width
typenumberrequiredyesdefault—
Line width in reference pixels at a 720-pixel short edge. 0 removes the line.
Complete definition constraints
{
"type": "object",
"additionalProperties": false,
"required": [
"color",
"width"
],
"description": "Solid line along the image frame's shape, centered on the outline with a miter join, like a native picture line. A thick dark border on a rounded portrait frame gives a device bezel.",
"properties": {
"color": {
"$ref": "#/$defs/ColorRef",
"description": "Line color: a hex color, a color-scheme slot or role name, or a 'var:<id>' variable reference."
},
"width": {
"type": "number",
"minimum": 0,
"maximum": 64,
"description": "Line width in reference pixels at a 720-pixel short edge. 0 removes the line."
}
}
}