d2
d2 copied to clipboard
Bug/Enhancement - Color customization for fill-pattern
Allow customization of pattern color
When using fill-pattern with a custom background/fill color, there can be times where the default pattern color is incompatible which affects visibility
Example: Try in playground
Code:
style.fill-pattern: dots
style.fill: "black"
x -> y
Result:
Suggestion:
pattern-color or fill-pattern-color where the user can set a custom color for the patterns.