small fix
This commit is contained in:
parent
e070ec4b66
commit
8536f3cc32
|
@ -163,8 +163,8 @@ export default {
|
||||||
)
|
)
|
||||||
if (!slotIsText) return acc
|
if (!slotIsText) return acc
|
||||||
const { layer, variant } = slotIsBaseText ? { layer: 'bg' } : value
|
const { layer, variant } = slotIsBaseText ? { layer: 'bg' } : value
|
||||||
const opacitySlot = getOpacitySlot(SLOT_INHERITANCE[variant || layer])
|
|
||||||
const background = variant || layer
|
const background = variant || layer
|
||||||
|
const opacitySlot = getOpacitySlot(SLOT_INHERITANCE[background])
|
||||||
const textColors = [
|
const textColors = [
|
||||||
key,
|
key,
|
||||||
...(background === 'bg' ? ['cRed', 'cGreen', 'cBlue', 'cOrange'] : [])
|
...(background === 'bg' ? ['cRed', 'cGreen', 'cBlue', 'cOrange'] : [])
|
||||||
|
|
Loading…
Reference in New Issue