Skip to content

Commit 4253a84

Browse files
committed
dark mode updated
1 parent 2df7014 commit 4253a84

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/sveltecharts/src/lib/SVECharts.svelte

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
import { LabelLayout } from 'echarts/features';
1616
import { CanvasRenderer } from 'echarts/renderers';
1717
import type { ECharts, EChartsOption } from './types';
18-
import 'echarts/theme/dark.js';
1918
2019
// Register the required components
2120
use([
@@ -101,7 +100,7 @@
101100
};
102101
103102
function chartAction(element: HTMLElement) {
104-
instance = init(element, isDark ? 'dark' : undefined, { renderer });
103+
instance = init(element, undefined, { renderer });
105104
106105
const handleResize = () => {
107106
instance.resize();

0 commit comments

Comments
 (0)