add themeMix

This commit is contained in:
zhw2590582 committed 2022-01-07 18:05:28 +08:00
1 parent 59400eb3bf
commit 1438ce5e82
16 files changed
+428 -410

No files matched your search

@@ -1,8 +1,5 @@
export default function miniProgressBar(art) {
const {
layers,
option: { theme },
} = art;
const { layers, option } = art;
layers.add({
name: 'miniProgressBar',
@@ -13,7 +10,7 @@ export default function miniProgressBar(art) {
right: 0,
bottom: 0,
height: '2px',
backgroundColor: theme,
backgroundColor: 'var(--theme)',
},
mounted($progressBar) {
art.on('control', (value) => {