mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 21:18:01 +08:00
fix: add white color (#38291)
This commit is contained in:
parent
9352d24bc4
commit
de1ab2c7f1
@ -100,8 +100,10 @@ class Wave extends React.Component<WaveProps> {
|
|||||||
// Not white or transparent or grey
|
// Not white or transparent or grey
|
||||||
if (
|
if (
|
||||||
waveColor &&
|
waveColor &&
|
||||||
|
waveColor !== '#fff' &&
|
||||||
waveColor !== '#ffffff' &&
|
waveColor !== '#ffffff' &&
|
||||||
waveColor !== 'rgb(255, 255, 255)' &&
|
waveColor !== 'rgb(255, 255, 255)' &&
|
||||||
|
waveColor !== 'rgba(255, 255, 255, 1)' &&
|
||||||
isNotGrey(waveColor) &&
|
isNotGrey(waveColor) &&
|
||||||
!/rgba\((?:\d*, ){3}0\)/.test(waveColor) && // any transparent rgba color
|
!/rgba\((?:\d*, ){3}0\)/.test(waveColor) && // any transparent rgba color
|
||||||
waveColor !== 'transparent'
|
waveColor !== 'transparent'
|
||||||
|
Loading…
Reference in New Issue
Block a user