fix colour names

This commit is contained in:
Loredana
2020-10-24 17:38:58 +03:00
parent a4ca635cad
commit 8b6d6df31b

View File

@@ -44,7 +44,7 @@ public class SearchController {
// search panel
searchButton.setText("Search");
searchButton.setOnAction(event -> loadData());
searchButton.setStyle("-fx-background-color: #457ecd; -fx-text-fill: #ffffff;");
searchButton.setStyle("-fx-background-color: slateblue; -fx-text-fill: white;");
searchField.setOnKeyPressed(event -> {
if (event.getCode().equals(KeyCode.ENTER)) {