lijianan
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
components/_util/wave.tsx
|
|
@ -100,8 +100,10 @@ class Wave extends React.Component<WaveProps> { |
|
|
|
// Not white or transparent or grey
|
|
|
|
if ( |
|
|
|
waveColor && |
|
|
|
waveColor !== '#fff' && |
|
|
|
waveColor !== '#ffffff' && |
|
|
|
waveColor !== 'rgb(255, 255, 255)' && |
|
|
|
waveColor !== 'rgba(255, 255, 255, 1)' && |
|
|
|
isNotGrey(waveColor) && |
|
|
|
!/rgba\((?:\d*, ){3}0\)/.test(waveColor) && // any transparent rgba color
|
|
|
|
waveColor !== 'transparent' |
|
|
|