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

View file

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