Skip to content

Commit 588ba7a

Browse files
committed
Tooltips nivo contrast
1 parent b8e91b5 commit 588ba7a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/chart/Utils.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,10 @@ export const themeNivo = {
139139
annotations: {
140140
text: { fill: 'rgb(var(--palette-neutral-text-default))' },
141141
},
142+
tooltip: {
143+
container: {
144+
fill: 'rgb(var(--palette-neutral-text-default))',
145+
background: 'rgb(var(--palette-neutral-bg-strong))',
146+
},
147+
},
142148
};

0 commit comments

Comments
 (0)