diff options
| author | Henry Jameson <me@hjkos.com> | 2020-01-23 00:35:56 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2020-01-23 00:35:56 +0200 |
| commit | 7354b6f7062def8bd1ac0a0e457cd05256eba0d5 (patch) | |
| tree | b1c71dd00ba5246c288f79d4e0e8ce7b0886435d /src/components/style_switcher/style_switcher.js | |
| parent | 8de7eabd8fdfc9f97fb262552f0cca9fd6da95eb (diff) | |
fixed get(Layer|Opacity)Slot not working properly which broke Mojave theme
Diffstat (limited to 'src/components/style_switcher/style_switcher.js')
| -rw-r--r-- | src/components/style_switcher/style_switcher.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/style_switcher/style_switcher.js b/src/components/style_switcher/style_switcher.js index 76e6cdb7..06ef71a7 100644 --- a/src/components/style_switcher/style_switcher.js +++ b/src/components/style_switcher/style_switcher.js @@ -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'] : []) |
