mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-26 10:49:38 +02:00
Removed some hard coding form review
This commit is contained in:
@@ -333,7 +333,7 @@ const setupDoc = (g, parentParsedItem, doc, diagramStates, diagramDb, altFlag) =
|
||||
counter: graphItemCount,
|
||||
}),
|
||||
arrowhead: 'normal',
|
||||
arrowTypeEnd: 'arrow_barb',
|
||||
arrowTypeEnd: 'arrow_neo',
|
||||
style: G_EDGE_STYLE,
|
||||
labelStyle: '',
|
||||
label: common.sanitizeText(item.description, getConfig()),
|
||||
|
@@ -127,16 +127,16 @@ g.stateGroup line {
|
||||
}
|
||||
|
||||
.statediagram-cluster rect.outer {
|
||||
rx: 2px;
|
||||
ry: 2px;
|
||||
rx: ${options.radius}px;
|
||||
ry: ${options.radius}px;
|
||||
}
|
||||
.statediagram-state .divider {
|
||||
stroke: ${options.stateBorder || options.nodeBorder};
|
||||
}
|
||||
|
||||
.statediagram-state .title-state {
|
||||
rx: 5px;
|
||||
ry: 5px;
|
||||
rx: ${options.radius}px;
|
||||
ry: ${options.radius}px;
|
||||
}
|
||||
.statediagram-cluster.statediagram-cluster .inner {
|
||||
fill: ${options.compositeBackground || options.background};
|
||||
|
@@ -25,7 +25,7 @@ class Theme {
|
||||
// dark
|
||||
|
||||
this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif';
|
||||
this.fontSize = '16px';
|
||||
this.fontSize = '10px';
|
||||
}
|
||||
updateColors() {
|
||||
// The || is to make sure that if the variable has been defined by a user override that value is to be used
|
||||
|
Reference in New Issue
Block a user