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={note.text}
|
||||
fill="black"
|
||||
fill={
|
||||
note.color === "black" || note.color === "darkGray"
|
||||
? "white"
|
||||
: "black"
|
||||
}
|
||||
align="center"
|
||||
verticalAlign="middle"
|
||||
padding={textPadding}
|
||||
|
Loading…
Reference in New Issue
Block a user