mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-25 08:54:07 +02:00
MC-1730 Making neo the default theme
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"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.",
|
||||
"type": "module",
|
||||
"module": "./dist/mermaid.core.mjs",
|
||||
|
||||
@@ -494,7 +494,7 @@ function initialize(options: MermaidConfig = {}) {
|
||||
options.themeVariables
|
||||
);
|
||||
} else if (options) {
|
||||
options.themeVariables = theme.default.getThemeVariables(options.themeVariables);
|
||||
options.themeVariables = theme.neo.getThemeVariables(options.themeVariables);
|
||||
}
|
||||
|
||||
const config =
|
||||
|
||||
@@ -71,7 +71,7 @@ properties:
|
||||
- 'null' # should this be a `null`-type?
|
||||
meta:enum:
|
||||
'null': Can be set to disable any pre-defined mermaid theme
|
||||
default: 'default'
|
||||
default: 'neo'
|
||||
themeVariables:
|
||||
tsType: any
|
||||
themeCSS:
|
||||
@@ -84,7 +84,7 @@ properties:
|
||||
- classic
|
||||
- handdrawn
|
||||
- neo
|
||||
default: 'classic'
|
||||
default: 'neo'
|
||||
handdrawnSeed:
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user