forked from AkkomaGang/akkoma-fe
eslint
This commit is contained in:
parent
2b36a62c56
commit
a7b6c79136
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue