feat(theme): export formatToken for generate of alias token
parent
a58ab3c04a
commit
0b1963805d
|
@ -4,6 +4,7 @@ import type { GlobalToken } from './interface';
|
|||
import defaultAlgorithm from './themes/default';
|
||||
import darkAlgorithm from './themes/dark';
|
||||
import compactAlgorithm from './themes/compact';
|
||||
import formatToken from './util/alias';
|
||||
|
||||
// ZombieJ: We export as object to user but array in internal.
|
||||
// This is used to minimize the bundle size for antd package but safe to refactor as object also.
|
||||
|
@ -25,6 +26,7 @@ export default {
|
|||
defaultSeed: defaultConfig.token,
|
||||
|
||||
useToken,
|
||||
formatToken,
|
||||
defaultAlgorithm,
|
||||
darkAlgorithm,
|
||||
compactAlgorithm,
|
||||
|
|
Loading…
Reference in New Issue