Add coloring to NFG display

This commit is contained in:
nickofolas
2022-04-08 09:43:21 -05:00
parent 5dea27bc28
commit 81f971b52e

View File

@ -36,8 +36,10 @@ const NeuroFluxDisplay = ({ player }: NFGDisplayProps): React.ReactElement => {
return level > 0 ? ( return level > 0 ? (
<Paper sx={{ p: 1 }}> <Paper sx={{ p: 1 }}>
<Typography variant="h5">NeuroFlux Governor - Level {level}</Typography> <Typography variant="h5" color={Settings.theme.info}>
<Typography>{Augmentations[AugmentationNames.NeuroFluxGovernor].stats}</Typography> NeuroFlux Governor - Level {level}
</Typography>
<Typography color={Settings.theme.info}>{Augmentations[AugmentationNames.NeuroFluxGovernor].stats}</Typography>
</Paper> </Paper>
) : ( ) : (
<></> <></>
@ -196,6 +198,7 @@ export function AugmentationsRoot(props: IProps): React.ReactElement {
+!!((player.augmentations.find((e) => e.name === AugmentationNames.NeuroFluxGovernor)?.level ?? 0) > 0) + +!!((player.augmentations.find((e) => e.name === AugmentationNames.NeuroFluxGovernor)?.level ?? 0) > 0) +
+!!(player.entropy > 0) +!!(player.entropy > 0)
}, 1fr)`, }, 1fr)`,
gap: 1,
}} }}
> >
<NeuroFluxDisplay player={player} /> <NeuroFluxDisplay player={player} />