feat(theme): export formatToken for generate of alias token

pull/8197/head
wzc520pyfm 2025-05-24 17:38:04 +08:00
parent a58ab3c04a
commit 0b1963805d
1 changed files with 2 additions and 0 deletions

View File

@ -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,