This commit is contained in:
syuilo 2019-02-09 12:43:26 +09:00
parent 3a3a5d4bfb
commit 1675c473d4
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -317,6 +317,9 @@ export default Vue.extend({
curve: 'straight', curve: 'straight',
width: 2 width: 2
}, },
tooltip: {
theme: this.$store.state.device.darkmode ? 'dark' : 'light'
},
legend: { legend: {
labels: { labels: {
colors: tinycolor(getComputedStyle(document.documentElement).getPropertyValue('--text')).toRgbString() colors: tinycolor(getComputedStyle(document.documentElement).getPropertyValue('--text')).toRgbString()