Skip to content

Commit

Permalink
feat: 更新文件名
Browse files Browse the repository at this point in the history
  • Loading branch information
YasinChan committed Dec 17, 2023
1 parent ca059f8 commit f1d6bb0
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/common/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import YStorage from '@/common/YStorage';
import { DARK_THEME, DEFAULT_THEME, LIGHT_THEME, type ThemeType } from '@/config/theme';

const theme: any = {
[DARK_THEME]: () => import('@/assets/theme/theme-dark.css'),
[LIGHT_THEME]: () => import('@/assets/theme/theme-light.css')
[DARK_THEME]: () => import('@/assets/theme/theme-dark.scss'),
[LIGHT_THEME]: () => import('@/assets/theme/theme-light.scss')
};

const cacheTheme: any = {};
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// 默认用 dark 主题
import '@/assets/theme/theme-dark.css';
import '@/assets/theme/theme-dark.scss';
import './assets/main.scss';

import { createApp } from 'vue';
Expand Down

0 comments on commit f1d6bb0

Please sign in to comment.