mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 新增主题色选项
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
import customed from './themes/customed.json'
|
||||
import dark from './themes/dark.json'
|
||||
import chalk from './themes/chalk.json'
|
||||
import essos from './themes/essos.json'
|
||||
import macarons from './themes/macarons.json'
|
||||
import purplePassion from './themes/purple-passion.json'
|
||||
import roma from './themes/roma.json'
|
||||
import shine from './themes/shine.json'
|
||||
import vintage from './themes/vintage.json'
|
||||
import walden from './themes/walden.json'
|
||||
import westeros from './themes/westeros.json'
|
||||
import wonderland from './themes/wonderland.json'
|
||||
|
||||
export const chartColors = {
|
||||
dark,
|
||||
customed,
|
||||
macarons,
|
||||
walden,
|
||||
purplePassion,
|
||||
vintage,
|
||||
chalk,
|
||||
westeros,
|
||||
wonderland,
|
||||
essos,
|
||||
shine,
|
||||
roma,
|
||||
}
|
||||
|
||||
export const defaultTheme = 'dark'
|
||||
|
||||
export const chartColorsName = {
|
||||
dark: '暗黑(默认)',
|
||||
customed: '明亮',
|
||||
macarons: '马卡龙',
|
||||
walden: '蓝绿',
|
||||
chalk: '粉红',
|
||||
essos: '橘红',
|
||||
vintage: '复古',
|
||||
purplePassion: '深紫',
|
||||
westeros: '灰粉',
|
||||
wonderland: '青草',
|
||||
roma: '罗马红',
|
||||
shine: '深色',
|
||||
}
|
||||
Reference in New Issue
Block a user