diff --git a/src/components/shadow_control/shadow_control.js b/src/components/shadow_control/shadow_control.js index 653d5a9b5fa87f1838cc58f03475b5864d2c3c7b..bdfb4429fcefc83d61d0cc206ccb9582239fb992 100644 --- a/src/components/shadow_control/shadow_control.js +++ b/src/components/shadow_control/shadow_control.js @@ -95,7 +95,7 @@ export default { }, style () { return this.ready ? { - boxShadow: getCssShadow(this.cValue) + boxShadow: getCssShadow(this.fallback) } : {} } } diff --git a/src/components/shadow_control/shadow_control.vue b/src/components/shadow_control/shadow_control.vue index c1db5b8f2c1528f9ad1bc24c497e3eea14d88d62..815a9e595f516ea764457746e28010514c94a7b3 100644 --- a/src/components/shadow_control/shadow_control.vue +++ b/src/components/shadow_control/shadow_control.vue @@ -199,9 +199,12 @@ v-model="selected.alpha" :disabled="!present" /> - <p> - {{ $t('settings.style.shadows.hint') }} - </p> + <i18n + path="settings.style.shadows.hintV3" + tag="p" + > + <code>--variable,mod</code> + </i18n> </div> </div> </template> diff --git a/src/i18n/en.json b/src/i18n/en.json index f7a26262902c988cdfb8a5a4ee32f334a862b87f..f624a1c5394aac5e150b8606b6e26ad01c005fb4 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -452,7 +452,7 @@ "blur": "Blur", "spread": "Spread", "inset": "Inset", - "hint": "For shadows you can also use --variable as a color value to use CSS3 variables. Please note that setting opacity won't work in this case.", + "hintV3": "For shadows you can also use the {0} notation to use other color slot.", "filter_hint": { "always_drop_shadow": "Warning, this shadow always uses {0} when browser supports it.", "drop_shadow_syntax": "{0} does not support {1} parameter and {2} keyword.",