add danmuku theme

This commit is contained in:
Harvey committed 2022-05-17 13:40:01 +08:00
1 parent ab5ab9b85a
commit 72a314590c
52 files changed
+171 -149

No files matched your search

@@ -61,6 +61,7 @@ export default class Danmuku {
minWidth: 200,
maxWidth: 400,
mount: undefined,
theme: 'dark',
beforeEmit: () => true,
};
}
@@ -83,6 +84,7 @@ export default class Danmuku {
minWidth: 'number',
maxWidth: 'number',
mount: 'undefined|htmldivelement',
theme: 'string',
beforeEmit: 'function',
};
}