Skip to content

Commit

Permalink
update theme-base package
Browse files Browse the repository at this point in the history
  • Loading branch information
James-9696 committed Jul 26, 2024
1 parent 3a8524e commit 698e505
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion packages/theme/base/src/dark/index.js

This file was deleted.

8 changes: 5 additions & 3 deletions packages/theme/base/src/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// 提供engine主题包的样式定义引入
import './base.less'
import './common.less'
// TODO: 须提供变量区分亮暗两套主题,再分别引入dark和light,达到分别显示tinyvue组件亮暗色
import './dark'
import './light'
if (import.meta.env.VITE_THEME === 'light') {
import('./light/light-common.less')
} else {
import('./dark/dark-common.less')
}
import './component-common.less'
1 change: 0 additions & 1 deletion packages/theme/base/src/light/index.js

This file was deleted.

0 comments on commit 698e505

Please sign in to comment.