Inner Shadow
Inner shadow (a:innerShdw).
Metadata
Field index
| Field | Type | Req. | Description |
|---|---|---|---|
| color | ref:ColorRef | — | Shadow color. Default black.
|
| opacity | number | — | Shadow opacity. |
| blur | number | — | Blur radius in reference pixels at a 720-pixel short edge. |
| distance | number | — | Offset in reference pixels at a 720-pixel short edge. |
| angle | number | — | Direction of the offset in degrees (0 = right, 90 = down). |
color
typeref:ColorRefrequirednodefault—
Shadow color. Default black.
Named choices are not exhaustive. See the schema for other values and constraints.
color,color (anyOf 4).color· Named choices"accent1", "accent2", "accent3", "accent4", "accent5", "accent6", "dark1", "dark2", "light1", "light2", "hyperlink", "followedHyperlink", "primary", "secondary", "accent", "background", "surface", "surfaceAlt", "text", "textSecondary"
opacity
typenumberrequirednodefault—
Shadow opacity.
blur
typenumberrequirednodefault—
Blur radius in reference pixels at a 720-pixel short edge.
distance
typenumberrequirednodefault—
Offset in reference pixels at a 720-pixel short edge.
angle
typenumberrequirednodefault—
Direction of the offset in degrees (0 = right, 90 = down).
Complete definition constraints
{
"type": "object",
"additionalProperties": false,
"description": "Inner shadow (a:innerShdw).",
"properties": {
"color": {
"$ref": "#/$defs/ColorRef",
"description": "Shadow color. Default black."
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Shadow opacity."
},
"blur": {
"type": "number",
"minimum": 0,
"maximum": 200,
"description": "Blur radius in reference pixels at a 720-pixel short edge."
},
"distance": {
"type": "number",
"minimum": 0,
"maximum": 200,
"description": "Offset in reference pixels at a 720-pixel short edge."
},
"angle": {
"type": "number",
"minimum": 0,
"maximum": 360,
"description": "Direction of the offset in degrees (0 = right, 90 = down)."
}
}
}