Skip to content

Commit 2b34c83

Browse files
committed
chartByTime dark theme
1 parent 34558d3 commit 2b34c83

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

dist/widgets.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/chart_by_time.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
it.dRevert.style.top = '10px';
9595
it.dRevert.style.right = '10px';
9696
it.dRevert.style.borderRadius = '0.25rem';
97-
it.dRevert.style.border = '1px solid black';
97+
it.dRevert.style.border = it.context.theme == 'dark' ? '1px solid #758591' : '1px solid black';
9898
it.dRevert.style.padding = '0 5px';
9999
it.dRevert.style.cursor = 'pointer';
100100
it.$el.appendChild(it.dRevert);
@@ -351,7 +351,7 @@
351351
// console.log(google);
352352
let chartLayout = chart.getChartLayoutInterface();
353353
let select = document.createElement('div');
354-
select.style.border = "1px dashed #3366cc";
354+
select.style.border = "1px solid #3366cc";
355355
select.style.display = "none";
356356
select.style.position = "fixed";
357357
select.style.zIndex = 1000;

0 commit comments

Comments
 (0)