fix for zero-state for shadow-control
This commit is contained in:
parent
cd6c5b3e33
commit
379144f4ab
4 changed files with 23 additions and 23 deletions
|
@ -107,7 +107,6 @@ const getCssShadow = (input) => {
|
|||
}
|
||||
|
||||
const getCssColor = (input, a) => {
|
||||
console.log(input)
|
||||
let rgb = {}
|
||||
if (typeof input === 'object') {
|
||||
rgb = input
|
||||
|
@ -120,7 +119,6 @@ const getCssColor = (input, a) => {
|
|||
return input
|
||||
}
|
||||
}
|
||||
console.log(rgb2rgba({ ...rgb, a }))
|
||||
return rgb2rgba({ ...rgb, a })
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue