fix: add mc mermaid theme to types

This commit is contained in:
Alois Klink
2024-08-05 23:05:55 +09:00
parent 04a704c068
commit 64cc767dd5
2 changed files with 2 additions and 1 deletions

View File

@@ -61,7 +61,7 @@ export interface MermaidConfig {
* You may also use `themeCSS` to override this value.
*
*/
theme?: 'default' | 'base' | 'dark' | 'forest' | 'neutral' | 'neo' | 'neo-dark' | 'null';
theme?: 'default' | 'base' | 'dark' | 'forest' | 'neutral' | 'neo' | 'neo-dark' | 'mc' | 'null';
themeVariables?: any;
themeCSS?: string;
/**

View File

@@ -67,6 +67,7 @@ properties:
- neutral
- neo
- neo-dark
- mc
- 'null' # should this be a `null`-type?
meta:enum:
'null': Can be set to disable any pre-defined mermaid theme