import { regPluginColorScheme , sharedEvent } from '@capital/common' ; regPluginColorScheme ( { label : 'Miku 葱' , name : 'light+miku' } ) ; regPluginColorScheme ( { label : 'Miku 葱(夜间模式)' , name : 'dark+miku' } ) ; /**
 * 异步加载以防止入口文件过大阻塞主应用加载(因为有图片)
 */ sharedEvent . on ( 'loadColorScheme' , ( colorSchemeName ) => { if ( colorSchemeName === 'light+miku' || colorSchemeName === 'dark+miku' ) { console . log ( '正在加载初音未来主题...' ) ; import ( './theme.less' ) ; } } ) ;