|
|
@@ -3,7 +3,8 @@
|
|
|
class="screen-element"
|
|
|
:style="{
|
|
|
zIndex: elementIndex,
|
|
|
- color: themeFontColor,
|
|
|
+ color: theme.fontColor,
|
|
|
+ fontFamily: theme.fontName,
|
|
|
visibility: needWaitAnimation ? 'hidden' : 'visible',
|
|
|
}"
|
|
|
>
|
|
|
@@ -57,7 +58,7 @@ export default defineComponent({
|
|
|
})
|
|
|
|
|
|
const store = useStore<State>()
|
|
|
- const themeFontColor = computed(() => store.state.theme.fontColor)
|
|
|
+ const theme = computed(() => store.state.theme)
|
|
|
const currentSlide = computed<Slide>(() => store.getters.currentSlide)
|
|
|
|
|
|
const needWaitAnimation = computed(() => {
|
|
|
@@ -70,7 +71,7 @@ export default defineComponent({
|
|
|
return {
|
|
|
currentElementComponent,
|
|
|
needWaitAnimation,
|
|
|
- themeFontColor,
|
|
|
+ theme,
|
|
|
}
|
|
|
},
|
|
|
})
|