mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 22:01:20 -08:00
Aspect ratio (#534)
* update * update * Create video2.mp4 * add art.quality * fix art.theme
This commit is contained in:
1 parent
1beff2c7fa
commit
4902322808
233 files changed
+2405
-2182
No files matched your search
@@ -1,15 +1,12 @@
|
||||
import { def } from '../utils';
|
||||
|
||||
export default function themeMix(art) {
|
||||
const { option } = art;
|
||||
|
||||
def(art, 'theme', {
|
||||
get() {
|
||||
return art.cssProperty('--art-theme');
|
||||
return art.cssVar('--art-theme');
|
||||
},
|
||||
set(theme) {
|
||||
option.theme = theme;
|
||||
art.cssProperty('--art-theme', theme);
|
||||
art.cssVar('--art-theme', theme);
|
||||
},
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user