Skip to content

Commit 054b358

Browse files
committed
fix all the nivo feature colors
1 parent bf770b6 commit 054b358

2 files changed

Lines changed: 50 additions & 3 deletions

File tree

src/components/AdminPane/Manage/BurndownChart/BurndownChart.jsx

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,36 @@ export class BurndownChart extends Component {
7979
<ResponsiveLine
8080
data={burndownMetrics}
8181
theme={{
82-
textColor: "#FFF",
82+
textColor: colors.white,
83+
text: {
84+
fill: colors.white,
85+
},
86+
axis: {
87+
ticks: {
88+
text: {
89+
fill: colors.white,
90+
},
91+
},
92+
legend: {
93+
text: {
94+
fill: colors.white,
95+
},
96+
},
97+
},
98+
grid: {
99+
line: {
100+
stroke: colors.white,
101+
strokeOpacity: 0.8,
102+
},
103+
},
104+
tooltip: {
105+
container: {
106+
background: colors["blue-darker"],
107+
color: colors.white,
108+
},
109+
},
83110
}}
84111
colors={[colors["purple"]]}
85-
textColor="#FFF"
86112
margin={{
87113
top: 20,
88114
right: 20,

src/components/AdminPane/Manage/CompletionRadar/CompletionRadar.jsx

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,28 @@ export class CompletionRadar extends Component {
5050
<ResponsiveRadar
5151
data={metrics}
5252
theme={{
53-
textColor: "#FFF",
53+
textColor: colors.white,
54+
text: {
55+
fill: colors.white,
56+
},
57+
axis: {
58+
ticks: {
59+
text: {
60+
fill: colors.white,
61+
},
62+
},
63+
legend: {
64+
text: {
65+
fill: colors.white,
66+
},
67+
},
68+
},
69+
grid: {
70+
line: {
71+
stroke: colors.white,
72+
strokeOpacity: 0.8,
73+
},
74+
},
5475
tooltip: {
5576
container: {
5677
background: colors["blue-darker"],

0 commit comments

Comments
 (0)