IO-1722 adjusted condition for text color
This commit is contained in:
@@ -86,8 +86,8 @@ export default function ProductionBoardCard(
|
|||||||
size="small"
|
size="small"
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: cardSettings && cardSettings.cardcolor && bgColor,
|
backgroundColor: cardSettings && cardSettings.cardcolor && bgColor,
|
||||||
|
color:
|
||||||
color: getContrastYIQ(bgColor),
|
cardSettings && cardSettings.cardcolor && getContrastYIQ(bgColor),
|
||||||
}}
|
}}
|
||||||
title={
|
title={
|
||||||
<Space>
|
<Space>
|
||||||
|
|||||||
Reference in New Issue
Block a user