use desktop reference colors for mobile blinking
This commit is contained in:
parent
133569b232
commit
37650b764d
1 changed files with 1 additions and 3 deletions
|
|
@ -24,9 +24,7 @@ function TetrisPiece({ piece, isDark }) {
|
||||||
setShowText(false);
|
setShowText(false);
|
||||||
};
|
};
|
||||||
|
|
||||||
const bgColor = piece.label === 'cv'
|
const bgColor = piece.label === 'cv' ? piece.color : piece.color;
|
||||||
? piece.color
|
|
||||||
: (isDark ? piece.colorDark : piece.color);
|
|
||||||
const rowDelay = piece.startY * 4;
|
const rowDelay = piece.startY * 4;
|
||||||
const textColor = '#ffffff';
|
const textColor = '#ffffff';
|
||||||
const isStatic = piece.label === 'cv' || piece.featured;
|
const isStatic = piece.label === 'cv' || piece.featured;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue