This commit is contained in:
Henry Jameson 2020-01-20 01:45:48 +02:00
parent 2b36a62c56
commit a7b6c79136
2 changed files with 3 additions and 3 deletions

View file

@ -192,7 +192,7 @@
:disabled="!present"
:label="$t('settings.style.common.color')"
:fallback="currentFallback.color"
:showOptionalTickbox="false"
:show-optional-tickbox="false"
name="shadow"
/>
<OpacityInput

View file

@ -202,8 +202,8 @@ export default {
...acc,
...textColors.reduce((acc, textColorKey) => {
const newKey = slotIsBaseText
? 'bg' + textColorKey[0].toUpperCase() + textColorKey.slice(1)
: textColorKey
? 'bg' + textColorKey[0].toUpperCase() + textColorKey.slice(1)
: textColorKey
return {
...acc,
[newKey]: getContrastRatioLayers(