UNPKG

532 BTypeScriptView Raw
1import type { FlowChartStyleOptions } from './diagrams/flowchart/styles.js';
2import type { DiagramStylesProvider } from './diagram-api/types.js';
3declare const getStyles: (type: string, userStyles: string, options: {
4 fontFamily: string;
5 fontSize: string;
6 textColor: string;
7 errorBkgColor: string;
8 errorTextColor: string;
9 lineColor: string;
10} & FlowChartStyleOptions) => string;
11export declare const addStylesForDiagram: (type: string, diagramTheme?: DiagramStylesProvider) => void;
12export default getStyles;