Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/themes/chineseStyle/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
const STYLE = 'chineseStyle'

import { moyunYaji } from './moyun-yaji'

import { changAn } from './changAn'
import { chanZong } from './chanZong'
import { chunMei } from './chunMei'
Expand Down Expand Up @@ -28,6 +30,7 @@ import { ziTao } from './ziTao'

// 为所有中国风主题设置style属性
const chineseStyleThemes = [
moyunYaji,
changAn,
chanZong,
chunMei,
Expand Down Expand Up @@ -62,6 +65,7 @@ export const themes = chineseStyleThemes.map((theme) => ({
}))

// 单独导出每个带有style属性的主题
export const moyunYajiWithStyle = { ...moyunYaji, style: STYLE }
export const changAnWithStyle = { ...changAn, style: STYLE }
export const chanZongWithStyle = { ...chanZong, style: STYLE }
export const chunMeiWithStyle = { ...chunMei, style: STYLE }
Expand Down
Loading