BlockSuite API Documentation / @blocksuite/blocks / NodeStyle
Type Alias: NodeStyle
NodeStyle:
object
Type declaration
color
color:
string
fillColor
fillColor:
string
filled
filled:
boolean
fontFamily
fontFamily:
string
fontSize
fontSize:
number
fontWeight
fontWeight:
FontWeight
padding
padding: [
number
,number
]
radius
radius:
number
shadow?
optional
shadow:object
shadow.blur
shadow.blur:
number
shadow.color
shadow.color:
string
shadow.offsetX
shadow.offsetX:
number
shadow.offsetY
shadow.offsetY:
number
strokeColor
strokeColor:
string
strokeWidth
strokeWidth:
number
Defined in
packages/affine/model/dist/elements/mindmap/style.d.ts:7