Skip to content

Commit

Permalink
Update Ui of Help Window to dark theme (AY2122S2-CS2103T-T12-4#116)
Browse files Browse the repository at this point in the history
Let's update the theme of the Help Window so that it
matches the rest of the UI.
  • Loading branch information
seanjyjy authored Jan 2, 2022
1 parent b54745e commit 0f5f654
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions src/main/resources/view/HelpWindow.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
#copyButton, #helpMessage {
-fx-font-family: "Open Sans";
-fx-text-fill: white;
}

#copyButton {
-fx-background-color: dimgray;
}

#copyButton:hover {
-fx-background-color: gray;
}

#copyButton:armed {
-fx-background-color: darkgray;
}

#helpMessageContainer {
-fx-background-color: derive(#1d1d1d, 20%);
}
2 changes: 1 addition & 1 deletion src/main/resources/view/HelpWindow.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<URL value="@HelpWindow.css" />
</stylesheets>

<HBox alignment="CENTER">
<HBox alignment="CENTER" fx:id="helpMessageContainer">
<children>
<Label fx:id="helpMessage" text="Label">
<HBox.margin>
Expand Down

0 comments on commit 0f5f654

Please sign in to comment.