mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-04 21:04:12 +01:00
MC-1730 Making neo the default theme
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@mermaid-chart/mermaid",
|
"name": "@mermaid-chart/mermaid",
|
||||||
"version": "11.0.0-b.55",
|
"version": "11.0.0-b.56",
|
||||||
"description": "Markdown-ish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
"description": "Markdown-ish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"module": "./dist/mermaid.core.mjs",
|
"module": "./dist/mermaid.core.mjs",
|
||||||
|
|||||||
@@ -494,7 +494,7 @@ function initialize(options: MermaidConfig = {}) {
|
|||||||
options.themeVariables
|
options.themeVariables
|
||||||
);
|
);
|
||||||
} else if (options) {
|
} else if (options) {
|
||||||
options.themeVariables = theme.default.getThemeVariables(options.themeVariables);
|
options.themeVariables = theme.neo.getThemeVariables(options.themeVariables);
|
||||||
}
|
}
|
||||||
|
|
||||||
const config =
|
const config =
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ properties:
|
|||||||
- 'null' # should this be a `null`-type?
|
- 'null' # should this be a `null`-type?
|
||||||
meta:enum:
|
meta:enum:
|
||||||
'null': Can be set to disable any pre-defined mermaid theme
|
'null': Can be set to disable any pre-defined mermaid theme
|
||||||
default: 'default'
|
default: 'neo'
|
||||||
themeVariables:
|
themeVariables:
|
||||||
tsType: any
|
tsType: any
|
||||||
themeCSS:
|
themeCSS:
|
||||||
@@ -84,7 +84,7 @@ properties:
|
|||||||
- classic
|
- classic
|
||||||
- handdrawn
|
- handdrawn
|
||||||
- neo
|
- neo
|
||||||
default: 'classic'
|
default: 'neo'
|
||||||
handdrawnSeed:
|
handdrawnSeed:
|
||||||
description: |
|
description: |
|
||||||
Defines the seed to be used when using handdrawn look. This is important for the automated tests as they will always find differences without the seed. The default value is 0 which gives a random seed.
|
Defines the seed to be used when using handdrawn look. This is important for the automated tests as they will always find differences without the seed. The default value is 0 which gives a random seed.
|
||||||
|
|||||||
Reference in New Issue
Block a user