You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
444 B
19 lines
444 B
import { theme } from 'antd'
|
|
import type { MappingAlgorithm } from 'antd/es/theme/interface'
|
|
|
|
/**
|
|
* studio 暗色模式下算法
|
|
* @param seedToken
|
|
* @param mapToken
|
|
*/
|
|
export const proDarkAlgorithm: MappingAlgorithm = (seedToken, mapToken) => {
|
|
const mergeToken = theme.darkAlgorithm(seedToken, mapToken)
|
|
|
|
return {
|
|
...mergeToken,
|
|
|
|
colorBgLayout: '#20252b',
|
|
colorBgContainer: '#282c34',
|
|
colorBgElevated: '#32363e',
|
|
}
|
|
}
|