package.dist.styles.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mermaid Show documentation
Show all versions of mermaid Show documentation
Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.
The newest version!
import type { FlowChartStyleOptions } from './diagrams/flowchart/styles.js';
import type { DiagramStylesProvider } from './diagram-api/types.js';
declare const getStyles: (type: string, userStyles: string, options: {
fontFamily: string;
fontSize: string;
textColor: string;
errorBkgColor: string;
errorTextColor: string;
lineColor: string;
} & FlowChartStyleOptions) => string;
export declare const addStylesForDiagram: (type: string, diagramTheme?: DiagramStylesProvider) => void;
export default getStyles;