From 0f5f6543aba875b950600d5f375884974cb13a54 Mon Sep 17 00:00:00 2001 From: Sean Date: Sun, 2 Jan 2022 16:18:13 +0800 Subject: [PATCH] Update Ui of Help Window to dark theme (#116) Let's update the theme of the Help Window so that it matches the rest of the UI. --- src/main/resources/view/HelpWindow.css | 17 +++++++++++++++++ src/main/resources/view/HelpWindow.fxml | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/src/main/resources/view/HelpWindow.css b/src/main/resources/view/HelpWindow.css index 8a5951e6df7..ad21cb7b3db 100644 --- a/src/main/resources/view/HelpWindow.css +++ b/src/main/resources/view/HelpWindow.css @@ -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%); } diff --git a/src/main/resources/view/HelpWindow.fxml b/src/main/resources/view/HelpWindow.fxml index c9a38f2b105..c9d61c18785 100644 --- a/src/main/resources/view/HelpWindow.fxml +++ b/src/main/resources/view/HelpWindow.fxml @@ -20,7 +20,7 @@ - +