Changed note text color based off of background color
This commit is contained in:
parent
a6085599dd
commit
5fd3f6d814
@ -156,7 +156,11 @@ function Note({
|
|||||||
/>
|
/>
|
||||||
<Text
|
<Text
|
||||||
text={note.text}
|
text={note.text}
|
||||||
fill="black"
|
fill={
|
||||||
|
note.color === "black" || note.color === "darkGray"
|
||||||
|
? "white"
|
||||||
|
: "black"
|
||||||
|
}
|
||||||
align="center"
|
align="center"
|
||||||
verticalAlign="middle"
|
verticalAlign="middle"
|
||||||
padding={textPadding}
|
padding={textPadding}
|
||||||
|
Loading…
Reference in New Issue
Block a user