mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 02:05:21 -04:00
Set background or alternative colors for diagrams (#667)
This commit is contained in:
parent
d5ee2f6d54
commit
8a8c043081
5 changed files with 17 additions and 5 deletions
7
src/external-types/flowchart.js/index.d.ts
vendored
7
src/external-types/flowchart.js/index.d.ts
vendored
|
@ -3,11 +3,14 @@ declare module 'flowchart.js' {
|
|||
'line-width': number,
|
||||
'fill': string,
|
||||
'font-size': string,
|
||||
'font-family': string
|
||||
'font-family': string,
|
||||
'font-color': string,
|
||||
'line-color': string,
|
||||
'element-color': string
|
||||
}
|
||||
export interface ParseOutput {
|
||||
clean: () => void,
|
||||
drawSVG: (container: HTMLElement, options: Options) => void,
|
||||
drawSVG: (container: HTMLElement, options: Partial<Options>) => void,
|
||||
}
|
||||
export function parse(code: string): ParseOutput
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue