24 lines
905 B
TypeScript
24 lines
905 B
TypeScript
import type { FlowChartStyleOptions } from './diagrams/flowchart/styles.js';
|
|
import type { DiagramStylesProvider } from './diagram-api/types.js';
|
|
export declare function cssStyleSheetToString(cssStyleSheet: CSSStyleSheet): string;
|
|
declare const getStyles: (type: string, userStyles: string, options: {
|
|
fontFamily: string;
|
|
fontSize: string;
|
|
textColor: string;
|
|
errorBkgColor: string;
|
|
errorTextColor: string;
|
|
lineColor: string;
|
|
useGradient?: boolean;
|
|
dropShadow?: string;
|
|
primaryBorderColor?: string;
|
|
compositeTitleBackground?: string;
|
|
THEME_COLOR_LIMIT?: number;
|
|
nodeBorder?: string;
|
|
mainBkg?: string;
|
|
strokeWidth?: number;
|
|
theme?: string;
|
|
look?: string;
|
|
} & FlowChartStyleOptions, svgId: `${string}`) => string;
|
|
export declare const addStylesForDiagram: (type: string, diagramTheme?: DiagramStylesProvider) => void;
|
|
export default getStyles;
|