主题
Untitled string in Mermaid Config Schema
txt
https://mermaid.js.org/schemas/config.schema.json#/properties/theme主题,CSS 样式表。你也可以使用 themeCSS 覆盖此值。
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|---|---|---|---|---|---|---|---|
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | config.schema.json* |
theme Type
string
theme Constraints
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
"default" | |
"base" | |
"dark" | |
"forest" | |
"neutral" | |
"null" | Can be set to disable any pre-defined mermaid theme |
theme Default Value
The default value is:
json
"default"