Skip to content

Commit 1e011f3

Browse files
committed
More details
1 parent e12e49c commit 1e011f3

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/chart/Utils.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,14 @@ export enum EntityType {
118118
}
119119

120120
export const themeNivo = {
121-
text: { fill: 'inherit' },
121+
text: { fill: 'rgb(var(--palette-neutral-text-weak))' },
122122
axis: {
123123
ticks: { text: { fill: 'rgb(var(--palette-neutral-text-weak))' } },
124+
legend: { text: { fill: 'rgb(var(--palette-neutral-text-weak))' } },
125+
},
126+
legends: {
127+
text: { fill: 'rgb(var(--palette-neutral-text-weak))' },
128+
title: { text: { fill: 'rgb(var(--palette-neutral-text-weak))' } },
129+
ticks: { text: { fill: 'rgb(var(--palette-neutral-text-weak))' } },
124130
},
125131
};

src/chart/pie/PieChart.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ const NeoPieChart = (props: ChartProps) => {
166166
itemsSpacing: 0,
167167
itemWidth: 100,
168168
itemHeight: 18,
169-
itemTextColor: '#999',
170169
itemDirection: 'left-to-right',
171170
itemOpacity: 1,
172171
symbolSize: 18,

0 commit comments

Comments
 (0)