fixed get(Layer|Opacity)Slot not working properly which broke Mojave theme
This commit is contained in:
parent
8de7eabd8f
commit
7354b6f706
3 changed files with 30 additions and 43 deletions
|
@ -246,7 +246,7 @@ export default {
|
|||
if (!slotIsText) return acc
|
||||
const { layer, variant } = slotIsBaseText ? { layer: 'bg' } : value
|
||||
const background = variant || layer
|
||||
const opacitySlot = getOpacitySlot(SLOT_INHERITANCE[background])
|
||||
const opacitySlot = getOpacitySlot(background)
|
||||
const textColors = [
|
||||
key,
|
||||
...(background === 'bg' ? ['cRed', 'cGreen', 'cBlue', 'cOrange'] : [])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue