Skip to content

Commit

Permalink
fix: axisPointer label color in dark theme (#11656)
Browse files Browse the repository at this point in the history
Fix #11476
  • Loading branch information
Asiotus authored and pissang committed Nov 17, 2019
1 parent 1e55f19 commit cb006de
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/theme/dark.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ var theme = {
},
crossStyle: {
color: contrastColor
},
label: {
color: '#000'
}
}
},
Expand Down
7 changes: 6 additions & 1 deletion test/theme.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,12 @@
top: 'bottom',
align: 'right'
},
tooltip: {},
tooltip: {
trigger: 'axis',
axisPointer: {
type: 'cross'
}
},
dataZoom: {
start: 10,
end: 20
Expand Down
3 changes: 3 additions & 0 deletions theme/dark.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@
},
crossStyle: {
color: contrastColor
},
label: {
color: '#000'
}
}
},
Expand Down

0 comments on commit cb006de

Please sign in to comment.