Skip to content

Untitled string in Mermaid Config Schema

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

Font weight for usecase labels.

Constrained the same way as actorFontWeight.

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

usecaseFontWeight Type

string

usecaseFontWeight 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

usecaseFontWeight Default Value

The default value is:

json
"normal"
Opens in mermaid.ai