diff --git a/src/views/Editor/Toolbar/SlideStylePanel.vue b/src/views/Editor/Toolbar/SlideStylePanel.vue index 90deb57..ce19950 100644 --- a/src/views/Editor/Toolbar/SlideStylePanel.vue +++ b/src/views/Editor/Toolbar/SlideStylePanel.vue @@ -106,9 +106,16 @@ :value="theme.fontName" @change="value => updateTheme({ fontName: value })" > - - {{font.zh}} - + + + {{font.zh}} + + + + + {{font.name}} + +
@@ -177,12 +184,14 @@ import { computed, defineComponent } from 'vue' import { MutationTypes, useStore } from '@/store' import { Slide, SlideBackground, SlideTheme } from '@/types/slides' import { PRESET_THEMES } from '@/configs/theme' +import { WEB_FONTS } from '@/configs/font' import useHistorySnapshot from '@/hooks/useHistorySnapshot' import ColorButton from './common/ColorButton.vue' import { getImageDataURL } from '@/utils/image' const themes = PRESET_THEMES +const webFonts = WEB_FONTS export default defineComponent({ name: 'slide-style-panel', @@ -305,6 +314,7 @@ export default defineComponent({ applyBackgroundAllSlide, themes, theme, + webFonts, updateTheme, applyThemeAllSlide, }