mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-22 08:50:13 +02:00
44 lines
894 B
JavaScript
44 lines
894 B
JavaScript
const getStyles = options => `
|
|
|
|
marker {
|
|
fill: ${options.relationColor};
|
|
stroke: ${options.relationColor};
|
|
}
|
|
|
|
marker.cross {
|
|
stroke: ${options.lineColor};
|
|
}
|
|
|
|
svg {
|
|
font-family: ${options.fontFamily};
|
|
font-size: ${options.fontSize};
|
|
}
|
|
|
|
.reqBox {
|
|
fill: ${options.requirementBackground};
|
|
fill-opacity: 100%;
|
|
stroke: ${options.requirementBorderColor};
|
|
stroke-size: ${options.requirementBorderSize};
|
|
stroke-width: ${options.requirementBorderSize};
|
|
}
|
|
.reqLabelBox {
|
|
fill: ${options.relationLabelBackground};
|
|
fill-opacity: 100%;
|
|
}
|
|
|
|
.req-title-line {
|
|
stroke: ${options.requirementBorderColor};
|
|
stroke-width: 1;
|
|
}
|
|
.relationshipLine {
|
|
stroke: ${options.relationColor};
|
|
stroke-width: 1;
|
|
}
|
|
.relationshipLabel {
|
|
fill: ${options.relationLabelColor};
|
|
}
|
|
|
|
`;
|
|
// fill', conf.rect_fill)
|
|
export default getStyles;
|