🐛 fix #289,#291,#290

This commit is contained in:
muwoo
2023-11-10 14:35:37 +08:00
parent dfb8446cfd
commit f671b83b6a
17 changed files with 277 additions and 88 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 845 B

View File

@@ -33,6 +33,12 @@ import localConfig from './confOp';
const config: any = localConfig.getConfig();
// 暗夜模式
if (config.perf.common.darkMode) {
document.body.classList.add('dark');
window.rubick.theme = 'dark';
}
ConfigProvider.config({
theme: config.perf.custom || {},
});