mermaid
Version:
Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.
13 lines (12 loc) • 532 B
TypeScript
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;