Skip to content

Untitled string in Mermaid Config Schema

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

演员标签的字体粗细。仅限于 CSS 的 font-weight 关键字和数值粗细,因为这个值会直接写入内联 CSS 自定义属性。

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