diff --git a/apps/desktop/src/components/editor/AiAssistant.vue b/apps/desktop/src/components/editor/AiAssistant.vue index d9a6d5967e..7bbab812dc 100644 --- a/apps/desktop/src/components/editor/AiAssistant.vue +++ b/apps/desktop/src/components/editor/AiAssistant.vue @@ -66,6 +66,7 @@ import { useSavedSqlStore } from "@/stores/savedSqlStore"; import { usePromptTemplateStore } from "@/stores/promptTemplateStore"; import { useUserSkillStore } from "@/stores/userSkillStore"; import { buildSelectedSkillChips, capSkillsToCharLimit, removeSkillIds, userSkillSourceOfId } from "@/lib/ai/userSkillSelection"; +import { aiConversationTypographyCssVariables } from "@/lib/ai/aiTypography"; import { ACTIVE_SKILLS_TOTAL_MAX, type ReadUserSkill, type ReadUserSkillFailure, type UserSkillFailureReason, type UserSkillRootSettings } from "@/types/userSkills"; import { supportsAiAssistantContext } from "@/lib/database/databaseFeatureSupport"; import ConnectionIcon from "@/components/icons/ConnectionIcon.vue"; @@ -210,6 +211,12 @@ const AiHtmlPreview = defineAsyncComponent({ loader: () => import("@/components/ai/rich/AiHtmlPreview.vue"), }); const settings = useSettingsStore(); +const aiTypographyStyle = computed(() => + aiConversationTypographyCssVariables({ + fontFamily: settings.editorSettings.aiFontFamily, + fontSize: settings.editorSettings.aiFontSize, + }), +); const connectionStore = useConnectionStore(); const savedSqlStore = useSavedSqlStore(); const promptTemplateStore = usePromptTemplateStore(); @@ -5419,7 +5426,7 @@ async function openExternalUrl(url: string) {