aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/shadow_control/shadow_control.vue2
-rw-r--r--src/components/style_switcher/style_switcher.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/components/shadow_control/shadow_control.vue b/src/components/shadow_control/shadow_control.vue
index efbb980e..c1db5b8f 100644
--- a/src/components/shadow_control/shadow_control.vue
+++ b/src/components/shadow_control/shadow_control.vue
@@ -192,7 +192,7 @@
:disabled="!present"
:label="$t('settings.style.common.color')"
:fallback="currentFallback.color"
- :showOptionalTickbox="false"
+ :show-optional-tickbox="false"
name="shadow"
/>
<OpacityInput
diff --git a/src/components/style_switcher/style_switcher.js b/src/components/style_switcher/style_switcher.js
index 2a1e439b..799646b1 100644
--- a/src/components/style_switcher/style_switcher.js
+++ b/src/components/style_switcher/style_switcher.js
@@ -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(