v2 compatibility fixes

This commit is contained in:
Henry Jameson 2020-01-22 23:26:24 +02:00
parent c7f42b7799
commit 8de7eabd8f
5 changed files with 62 additions and 13 deletions

View file

@ -283,12 +283,12 @@ export const SLOT_INHERITANCE = {
opacity: 'panel'
},
panelText: {
depends: ['fgText'],
depends: ['text'],
layer: 'panel',
textColor: true
},
panelFaint: {
depends: ['fgText'],
depends: ['text'],
layer: 'panel',
opacity: 'faint',
textColor: true
@ -302,7 +302,7 @@ export const SLOT_INHERITANCE = {
// Top bar
topBar: '--fg',
topBarText: {
depends: ['fgText'],
depends: ['text'],
layer: 'topBar',
textColor: true
},
@ -313,7 +313,9 @@ export const SLOT_INHERITANCE = {
},
// Tabs
tab: '--btn',
tab: {
depends: ['btn']
},
tabText: {
depends: ['btnText'],
layer: 'btn',
@ -331,7 +333,7 @@ export const SLOT_INHERITANCE = {
opacity: 'btn'
},
btnText: {
depends: ['fgText'],
depends: ['text'],
layer: 'btn',
textColor: true
},