Change theme variable used for entropy color

This commit is contained in:
nickofolas 2022-04-08 16:40:06 -05:00
parent 7c9fc3248f
commit 693ca7baba

@ -53,10 +53,10 @@ interface EntropyDisplayProps {
const EntropyDisplay = ({ player }: EntropyDisplayProps): React.ReactElement => { const EntropyDisplay = ({ player }: EntropyDisplayProps): React.ReactElement => {
return player.entropy > 0 ? ( return player.entropy > 0 ? (
<Paper sx={{ p: 1 }}> <Paper sx={{ p: 1 }}>
<Typography variant="h5" color={Settings.theme.hp}> <Typography variant="h5" color={Settings.theme.error}>
Entropy Virus - Level {player.entropy} Entropy Virus - Level {player.entropy}
</Typography> </Typography>
<Typography color={Settings.theme.hp}> <Typography color={Settings.theme.error}>
<b>All multipliers decreased by:</b> {formatNumber((1 - CONSTANTS.EntropyEffect ** player.entropy) * 100, 3)}% <b>All multipliers decreased by:</b> {formatNumber((1 - CONSTANTS.EntropyEffect ** player.entropy) * 100, 3)}%
(multiplicative) (multiplicative)
</Typography> </Typography>