mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-08 01:53:34 +08:00
fix(empty): fix opacityImage token failed by unitless (#50066)
This commit is contained in:
parent
e70ed089f5
commit
020848437d
@ -189,6 +189,8 @@ export interface SeedToken extends PresetColorType {
|
|||||||
/**
|
/**
|
||||||
* @nameZH 图片不透明度
|
* @nameZH 图片不透明度
|
||||||
* @nameEN Define default Image opacity. Useful when in dark-like theme
|
* @nameEN Define default Image opacity. Useful when in dark-like theme
|
||||||
|
* @desc 控制图片不透明度
|
||||||
|
* @descEN Control image opacity
|
||||||
*/
|
*/
|
||||||
opacityImage: number;
|
opacityImage: number;
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@ export const unitless: {
|
|||||||
fontWeightStrong: true,
|
fontWeightStrong: true,
|
||||||
zIndexPopupBase: true,
|
zIndexPopupBase: true,
|
||||||
zIndexBase: true,
|
zIndexBase: true,
|
||||||
|
opacityImage: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const ignore: {
|
export const ignore: {
|
||||||
|
Loading…
Reference in New Issue
Block a user