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
+1 -1
View File
@@ -28,7 +28,7 @@ interface IProps {
const useStyles = makeStyles((theme: Theme) =>
createStyles({
location: {
color: theme.colors.white,
color: theme.colors.maplocation,
whiteSpace: "nowrap",
margin: "0px",
padding: "0px",
+1 -1
View File
@@ -58,7 +58,7 @@ export function TravelAgencyRoot(): React.ReactElement {
<Typography variant="h4">Travel Agency</Typography>
<Box mx={2}>
<Typography>
From here, you can travel to any other city! A ticket costs{" "}
From {Player.city}, you can travel to any other city! A ticket costs{" "}
<Money money={CONSTANTS.TravelCost} forPurchase={true} />.
</Typography>
{Settings.DisableASCIIArt ? (