Skip to content

Commit b62a96b

Browse files
committed
fix collor
1 parent 0ada62c commit b62a96b

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

source/core/src/main/com/csse3200/game/components/mainmenu/MapSelectionDisplay.java

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,17 +91,23 @@ private void addActors() {
9191
thumbImage = new Image(ServiceLocator.getResourceService().getAsset(FALLBACK_THUMB, Texture.class));
9292
thumbImage.setScaling(Scaling.fit);
9393

94-
mapNameLabel = new Label("", skin);
94+
Label.LabelStyle mapLabelStyle = new Label.LabelStyle();
95+
mapLabelStyle.font = skin.getFont("segoe_ui");
96+
mapLabelStyle.fontColor = Color.WHITE;
97+
mapNameLabel = new Label("", mapLabelStyle);
9598
mapNameLabel.setAlignment(Align.center);
96-
mapNameLabel.setColor(Color.valueOf("AEE7F2"));
9799

98-
counterLabel = new Label("", skin);
100+
Label.LabelStyle counterLabelStyle = new Label.LabelStyle();
101+
counterLabelStyle.font = skin.getFont("segoe_ui");
102+
counterLabelStyle.fontColor = Color.WHITE;
103+
counterLabel = new Label("", counterLabelStyle);
99104
counterLabel.setAlignment(Align.center);
100-
counterLabel.setColor(Color.LIGHT_GRAY);
101105

102106
// Difficulty row
103-
Label diffLabel = new Label("Difficulty:", skin);
104-
diffLabel.setColor(Color.valueOf("F9B44C")); // warm gold-orange like the buttons
107+
Label.LabelStyle diffLabelStyle = new Label.LabelStyle();
108+
diffLabelStyle.font = skin.getFont("segoe_ui");
109+
diffLabelStyle.fontColor = Color.WHITE;
110+
Label diffLabel = new Label("Difficulty:", diffLabelStyle);
105111
diffLabel.setAlignment(Align.right);
106112
final SelectBox<String> diffSelect = new SelectBox<>(skin);
107113
diffSelect.setItems("Easy", "Normal", "Hard");

0 commit comments

Comments
 (0)