Skip to content
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.

Commit

Permalink
[#415] Ui: fix default PersonListPanel background color (#791)
Browse files Browse the repository at this point in the history
Normally, the background of the PersonListPanel is gray in color.
However, it changes to white color when no Person is listed.

This does not fit the dark theme style of other parts of the Ui as the
difference in color makes the PersonListPanel stand out rather
prominently.

Let's fix this by setting the default background color of
PersonListPanel to match the rest of the Ui.
  • Loading branch information
eugenepeh authored and Zhiyuan-Amos committed Jan 10, 2018
1 parent 6b8ea09 commit 1bee16f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/resources/view/DarkTheme.css
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
.list-view {
-fx-background-insets: 0;
-fx-padding: 0;
-fx-background-color: derive(#1d1d1d, 20%);
}

.list-cell {
Expand Down

0 comments on commit 1bee16f

Please sign in to comment.