mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 07:04:45 -04:00
Update dependency flowchart.js to v1.15.0 (#680)
* Update dependency flowchart.js to v1.15.0 * Remove custom types Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> * Adjust code to new types Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
parent
a9130aedb8
commit
8e60c1750f
4 changed files with 6 additions and 22 deletions
|
@ -27,7 +27,7 @@ export const FlowChart: React.FC<FlowChartProps> = ({ code }) => {
|
|||
parserOutput.drawSVG(currentDiagramRef, {
|
||||
'line-width': 2,
|
||||
fill: 'none',
|
||||
'font-size': '16px',
|
||||
'font-size': 16,
|
||||
'line-color': darkModeActivated ? '#ffffff' : '#000000',
|
||||
'element-color': darkModeActivated ? '#ffffff' : '#000000',
|
||||
'font-family': 'Source Code Pro, "Twemoji Mozilla", monospace'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue