Font Config Schema
txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/FontConfig| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|---|---|---|---|---|---|---|---|
| Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | config.schema.json* |
FontConfig Type
object (Font Config)
FontConfig Properties
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| fontSize | Multiple | Optional | cannot be null | Mermaid Config |
| fontFamily | string | Optional | cannot be null | Mermaid Config |
| fontWeight | Multiple | Optional | cannot be null | Mermaid Config |
fontSize
The font size to use
fontSize
is optional
Type: any of the following:
stringornumber(CSS Font Size)cannot be null
defined in: Mermaid Config
fontSize Type
any of the following: string or number (CSS Font Size)
fontSize Default Value
The default value is:
json
14fontFamily
The CSS font-family to use.
fontFamily
is optional
Type:
stringcannot be null
defined in: Mermaid Config
fontFamily Type
string
fontFamily Default Value
The default value is:
json
"\"Open Sans\", sans-serif"fontWeight
The font weight to use.
fontWeight
is optional
Type: any of the following:
stringornumber(Details)cannot be null
defined in: Mermaid Config
fontWeight Type
any of the following: string or number (Details)
fontWeight Default Value
The default value is:
json
"normal"