mirror of
https://github.com/antd-tiny-vue/antd-tiny-vue.git
synced 2025-09-11 00:33:17 +08:00
feat: add theme and style
This commit is contained in:
16
components/theme/interface/index.ts
Normal file
16
components/theme/interface/index.ts
Normal file
@ -0,0 +1,16 @@
|
||||
import type { ComponentTokenMap } from './components'
|
||||
import type { AliasToken } from './alias'
|
||||
|
||||
export type OverrideToken = {
|
||||
[key in keyof ComponentTokenMap]: Partial<ComponentTokenMap[key]> & Partial<AliasToken>
|
||||
}
|
||||
|
||||
/** Final token which contains the components level override */
|
||||
export type GlobalToken = AliasToken & ComponentTokenMap
|
||||
|
||||
export { PresetColors } from './presetColors'
|
||||
export type { PresetColorType, ColorPalettes, PresetColorKey } from './presetColors'
|
||||
export type { SeedToken } from './seeds'
|
||||
export type { MapToken, ColorMapToken, ColorNeutralMapToken, CommonMapToken, HeightMapToken, SizeMapToken, FontMapToken, StyleMapToken } from './maps'
|
||||
export type { AliasToken } from './alias'
|
||||
export type { ComponentTokenMap } from './components'
|
Reference in New Issue
Block a user