Table Cell Border
One explicit cell border.
Metadata
Field index
| Field | Type | Req. | Description |
|---|---|---|---|
| color | ref:ColorRef | yes | Border color: a hex color, a color-scheme slot or role name, or a 'var:<id>' variable reference. Eight-digit hex colors include alpha; #00000000 is transparent.
|
| width | number | yes | Border width in reference pixels; 0 removes this edge. |
| dash | enum | — | Default solid.
|
color
typeref:ColorRefrequiredyesdefault—
Border color: a hex color, a color-scheme slot or role name, or a 'var:<id>' variable reference. Eight-digit hex colors include alpha; #00000000 is transparent.
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—
Border width in reference pixels; 0 removes this edge.
dash
typeenumrequirednodefault—
Default solid.
dash· Allowed values"solid""dash""dot"
{
"dash": "solid"
}Complete definition constraints
{
"type": "object",
"additionalProperties": false,
"required": [
"color",
"width"
],
"properties": {
"color": {
"$ref": "#/$defs/ColorRef",
"description": "Border color: a hex color, a color-scheme slot or role name, or a 'var:<id>' variable reference. Eight-digit hex colors include alpha; #00000000 is transparent."
},
"width": {
"type": "number",
"minimum": 0,
"maximum": 32,
"description": "Border width in reference pixels; 0 removes this edge."
},
"dash": {
"type": "string",
"enum": [
"solid",
"dash",
"dot"
],
"description": "Default solid."
}
},
"description": "One explicit cell border."
}