MC-1730 Making neo the default theme

This commit is contained in:
Knut Sveidqvist
2024-08-06 10:27:06 +02:00
parent 64cc767dd5
commit 3dc66a64c7
3 changed files with 4 additions and 4 deletions

View File

@@ -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",

View File

@@ -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 =

View File

@@ -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.