fix(empty): fix opacityImage token failed by unitless (#50066)

This commit is contained in:
thinkasany 2024-07-25 16:48:30 +08:00 committed by GitHub
parent e70ed089f5
commit 020848437d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

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

View File

@ -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: {