UI: Improve theme support. (#1079)

This commit is contained in:
adeilt
2024-02-15 20:51:07 -08:00
committed by GitHub
parent 22aec2a8b9
commit 93b9a10e41
23 changed files with 142 additions and 12 deletions
+7 -2
View File
@@ -14,11 +14,16 @@ interface ICityProps {
const useStyles = makeStyles((theme: Theme) =>
createStyles({
travel: {
color: theme.colors.white,
color: theme.colors.maplocation,
lineHeight: "1em",
whiteSpace: "pre",
cursor: "pointer",
},
currentCity: {
color: theme.colors.disabled,
lineHeight: "1em",
whiteSpace: "pre",
},
}),
);
@@ -33,7 +38,7 @@ function City(props: ICityProps): React.ReactElement {
</Tooltip>
);
}
return <span>{props.city[0]}</span>;
return <span className={classes.currentCity}>{props.city[0]}</span>;
}
interface IProps {