@graphty/graphty-element / config / RichTextStyle
Variable: RichTextStyle
constRichTextStyle:ZodObject<{animation:ZodOptional<ZodDefault<ZodEnum<{bounce:"bounce";fill:"fill";glow:"glow";none:"none";pulse:"pulse";shake:"shake"; }>>>;animationSpeed:ZodOptional<ZodDefault<ZodNumber>>;attachOffset:ZodOptional<ZodDefault<ZodNumber>>;attachPosition:ZodOptional<ZodEnum<{bottom:"bottom";bottom-left:"bottom-left";bottom-right:"bottom-right";center:"center";left:"left";right:"right";top:"top";top-left:"top-left";top-right:"top-right"; }>>;autoSize:ZodOptional<ZodDefault<ZodBoolean>>;backgroundColor:ZodOptional<ZodUnion<[ZodDiscriminatedUnion<[ZodObject<{colorType:ZodLiteral<"solid">;opacity:ZodOptional<ZodNumber>;value:ZodPipe<ZodString,ZodTransform<..., ...>>; },$strict>,ZodObject<{colors:ZodArray<ZodPipe<..., ...>>;colorType:ZodLiteral<"gradient">;direction:ZodNumber;opacity:ZodOptional<ZodNumber>; },$strict>,ZodObject<{colors:ZodArray<ZodPipe<..., ...>>;colorType:ZodLiteral<"radial-gradient">;opacity:ZodOptional<ZodNumber>; },$strict>]>,ZodPipe<ZodString,ZodTransform<string|undefined,string>>]>>;backgroundGradient:ZodOptional<ZodDefault<ZodBoolean>>;backgroundGradientColors:ZodOptional<ZodArray<ZodPipe<ZodString,ZodTransform<string|undefined,string>>>>;backgroundGradientDirection:ZodOptional<ZodDefault<ZodEnum<{diagonal:"diagonal";horizontal:"horizontal";vertical:"vertical"; }>>>;backgroundGradientType:ZodOptional<ZodDefault<ZodEnum<{linear:"linear";radial:"radial"; }>>>;backgroundPadding:ZodOptional<ZodDefault<ZodNumber>>;badge:ZodOptional<ZodEnum<{count:"count";dot:"dot";icon:"icon";label:"label";label-danger:"label-danger";label-success:"label-success";label-warning:"label-warning";notification:"notification";progress:"progress"; }>>;billboardMode:ZodOptional<ZodDefault<ZodNumber>>;borderColor:ZodOptional<ZodDefault<ZodPipe<ZodString,ZodTransform<string|undefined,string>>>>;borders:ZodOptional<ZodArray<ZodObject<{color:ZodPipe<ZodString,ZodTransform<string|undefined,string>>;spacing:ZodNumber;width:ZodNumber; },$strict>>>;borderWidth:ZodOptional<ZodDefault<ZodNumber>>;cornerRadius:ZodOptional<ZodDefault<ZodNumber>>;depthFadeEnabled:ZodOptional<ZodDefault<ZodBoolean>>;depthFadeFar:ZodOptional<ZodDefault<ZodNumber>>;depthFadeNear:ZodOptional<ZodDefault<ZodNumber>>;enabled:ZodOptional<ZodDefault<ZodBoolean>>;font:ZodOptional<ZodDefault<ZodString>>;fontSize:ZodOptional<ZodDefault<ZodNumber>>;fontWeight:ZodOptional<ZodDefault<ZodString>>;icon:ZodOptional<ZodString>;iconPosition:ZodOptional<ZodDefault<ZodEnum<{left:"left";right:"right"; }>>>;lineHeight:ZodOptional<ZodDefault<ZodNumber>>;location:ZodOptional<ZodDefault<ZodEnum<{automatic:"automatic";bottom:"bottom";bottom-left:"bottom-left";bottom-right:"bottom-right";center:"center";left:"left";right:"right";top:"top";top-left:"top-left";top-right:"top-right"; }>>>;marginBottom:ZodOptional<ZodDefault<ZodNumber>>;marginLeft:ZodOptional<ZodDefault<ZodNumber>>;marginRight:ZodOptional<ZodDefault<ZodNumber>>;marginTop:ZodOptional<ZodDefault<ZodNumber>>;maxNumber:ZodOptional<ZodDefault<ZodNumber>>;overflowSuffix:ZodOptional<ZodDefault<ZodString>>;pointer:ZodOptional<ZodDefault<ZodBoolean>>;pointerCurve:ZodOptional<ZodDefault<ZodBoolean>>;pointerDirection:ZodOptional<ZodDefault<ZodEnum<{auto:"auto";bottom:"bottom";left:"left";right:"right";top:"top"; }>>>;pointerHeight:ZodOptional<ZodDefault<ZodNumber>>;pointerOffset:ZodOptional<ZodDefault<ZodNumber>>;pointerWidth:ZodOptional<ZodDefault<ZodNumber>>;position:ZodOptional<ZodObject<{x:ZodNumber;y:ZodNumber;z:ZodNumber; },$strict>>;progress:ZodOptional<ZodNumber>;resolution:ZodOptional<ZodDefault<ZodNumber>>;smartOverflow:ZodOptional<ZodDefault<ZodBoolean>>;text:ZodOptional<ZodString>;textAlign:ZodOptional<ZodDefault<ZodEnum<{center:"center";left:"left";right:"right"; }>>>;textColor:ZodOptional<ZodDefault<ZodPipe<ZodString,ZodTransform<string|undefined,string>>>>;textOutline:ZodOptional<ZodDefault<ZodBoolean>>;textOutlineColor:ZodOptional<ZodDefault<ZodPipe<ZodString,ZodTransform<string|undefined,string>>>>;textOutlineJoin:ZodOptional<ZodDefault<ZodEnum<{bevel:"bevel";miter:"miter";round:"round"; }>>>;textOutlineWidth:ZodOptional<ZodDefault<ZodNumber>>;textPath:ZodOptional<ZodString>;textShadow:ZodOptional<ZodDefault<ZodBoolean>>;textShadowBlur:ZodOptional<ZodDefault<ZodNumber>>;textShadowColor:ZodOptional<ZodDefault<ZodPipe<ZodString,ZodTransform<string|undefined,string>>>>;textShadowOffsetX:ZodOptional<ZodDefault<ZodNumber>>;textShadowOffsetY:ZodOptional<ZodDefault<ZodNumber>>; },$strict>
Defined in: src/config/RichTextStyle.ts:49