ER styles: replace hardcoded values with new options properties

This commit is contained in:
Ashley Engelund (weedySeaDragon @ github) 2022-09-22 11:55:01 -07:00
parent 353b62aa0a
commit 2d7a289105

View File

@ -6,15 +6,19 @@ const getStyles = (options) =>
} }
.attributeBoxOdd { .attributeBoxOdd {
fill: #ffffff; fill: ${options.attributeBackgroundColorOdd};
stroke: ${options.nodeBorder}; stroke: ${options.nodeBorder};
} }
.attributeBoxEven { .attributeBoxEven {
fill: #f2f2f2; fill: ${options.attributeBackgroundColorEven};
stroke: ${options.nodeBorder}; stroke: ${options.nodeBorder};
} }
.attributeBoxText {
color: ${options.attributeTextColor};
}
.relationshipLabelBox { .relationshipLabelBox {
fill: ${options.tertiaryColor}; fill: ${options.tertiaryColor};
opacity: 0.7; opacity: 0.7;