diff --git a/webview-ui/src/components/common/MermaidBlock.tsx b/webview-ui/src/components/common/MermaidBlock.tsx index 7c0a55ec72..eeae2b272c 100644 --- a/webview-ui/src/components/common/MermaidBlock.tsx +++ b/webview-ui/src/components/common/MermaidBlock.tsx @@ -16,14 +16,14 @@ mermaid.initialize({ startOnLoad: false, securityLevel: "loose", theme: "dark", - themeVariables: { - background: MERMAID_THEME.background, - textColor: MERMAID_THEME.textColor, - mainBkg: MERMAID_THEME.mainBkg, - lineColor: MERMAID_THEME.lineColor, - fontSize: "16px", - primaryColor: MERMAID_THEME.primaryColor, - }, + // themeVariables: { + // background: MERMAID_THEME.background, + // textColor: MERMAID_THEME.textColor, + // mainBkg: MERMAID_THEME.mainBkg, + // lineColor: MERMAID_THEME.lineColor, + // fontSize: "16px", + // primaryColor: MERMAID_THEME.primaryColor, + // }, }) interface MermaidBlockProps { @@ -93,10 +93,10 @@ export default function MermaidBlock({ code }: MermaidBlockProps) { return ( - {isLoading && Creating mermaid chart...} + {isLoading && Generating mermaid diagram...} {/* The container for the final or raw code. */} - + ) }