css changes for piechart dark theme

This commit is contained in:
aj 2019-05-22 13:21:24 +01:00
parent 0c527dffbf
commit 0cc4807d93
3 changed files with 3 additions and 4 deletions

View File

@ -18,7 +18,7 @@ public class GenrePieChart extends PieChart{
public GenrePieChart(String name, ArrayList<String> tagNames) { public GenrePieChart(String name, ArrayList<String> tagNames) {
getStylesheets().add("../styles/mainPane.css"); // getStylesheets().add("../styles/mainPane.css");
getStyleClass().add("backGround"); getStyleClass().add("backGround");
setStartAngle(90); setStartAngle(90);

View File

@ -12,7 +12,6 @@ public class GenreTotalPieChart extends GenrePieChart{
public GenreTotalPieChart(String name, ArrayList<String> tagNames) { public GenreTotalPieChart(String name, ArrayList<String> tagNames) {
super(name, tagNames); super(name, tagNames);
getStylesheets().add("../styles/mainPane.css");
getStyleClass().add("backGround"); getStyleClass().add("backGround");
setTitle(name + " total"); setTitle(name + " total");

View File

@ -25,8 +25,8 @@
-fx-fill: white; -fx-fill: white;
} }
.chart-pie-legend { .chart-legend {
-fx-background-color: #202124; -fx-background-color: transparent;
} }
.chart-title { .chart-title {