forked from srxl/akkoma-fe
small fix
This commit is contained in:
parent
e070ec4b66
commit
8536f3cc32
1 changed files with 1 additions and 1 deletions
|
@ -163,8 +163,8 @@ export default {
|
|||
)
|
||||
if (!slotIsText) return acc
|
||||
const { layer, variant } = slotIsBaseText ? { layer: 'bg' } : value
|
||||
const opacitySlot = getOpacitySlot(SLOT_INHERITANCE[variant || layer])
|
||||
const background = variant || layer
|
||||
const opacitySlot = getOpacitySlot(SLOT_INHERITANCE[background])
|
||||
const textColors = [
|
||||
key,
|
||||
...(background === 'bg' ? ['cRed', 'cGreen', 'cBlue', 'cOrange'] : [])
|
||||
|
|
Loading…
Reference in a new issue