Skip to content

Untitled string in Mermaid Config Schema

txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/UsecaseDiagramConfig/properties/actorFontWeight

Font weight for actor labels.

Restricted to the CSS font-weight keywords and numeric weights, since this value is written verbatim into an inline CSS custom property.

AbstractExtensibleStatusIdentifiableCustom PropertiesAdditional PropertiesAccess RestrictionsDefined In
Can be instantiatedNoUnknown statusUnknown identifiabilityForbiddenAllowednoneconfig.schema.json*

actorFontWeight Type

string

actorFontWeight Constraints

pattern: the string must match the following regular expression:

javascript
/^(normal|bold|bolder|lighter|inherit|initial|revert|unset|[1-9][0-9]{0,3})$/

try pattern

actorFontWeight Default Value

The default value is:

json
"normal"
Opens in mermaid.ai