aboutsummaryrefslogtreecommitdiff
path: root/modern/src/map/StatusView.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-04-16 16:08:03 -0700
committerAnton Tananaev <anton@traccar.org>2022-04-16 16:08:03 -0700
commit838e1b969162b73b1bbafab75203998e7bf60979 (patch)
treebf99356e4040fd836c4775777f170c06e3460136 /modern/src/map/StatusView.js
parentdaacba8e25f5c60c77fab15e9392f43be3fa7a67 (diff)
downloadtrackermap-web-838e1b969162b73b1bbafab75203998e7bf60979.tar.gz
trackermap-web-838e1b969162b73b1bbafab75203998e7bf60979.tar.bz2
trackermap-web-838e1b969162b73b1bbafab75203998e7bf60979.zip
Clean up palette and colors
Diffstat (limited to 'modern/src/map/StatusView.js')
-rw-r--r--modern/src/map/StatusView.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/modern/src/map/StatusView.js b/modern/src/map/StatusView.js
index 5526e148..cec71f98 100644
--- a/modern/src/map/StatusView.js
+++ b/modern/src/map/StatusView.js
@@ -25,7 +25,9 @@ const useStyles = makeStyles((theme) => ({
paper: {
width: '300px',
},
- ...theme.palette.colors,
+ negative: {
+ color: theme.palette.colors.negative,
+ },
listItemContainer: {
maxWidth: '240px',
},
@@ -124,7 +126,7 @@ const StatusView = ({
</IconButton>
</Grid>
<Grid item>
- <IconButton onClick={handleRemove} className={classes.red}>
+ <IconButton onClick={handleRemove} className={classes.negative}>
<DeleteIcon />
</IconButton>
</Grid>