diff --git a/desktop/src/features/settings/ui/AppearanceSettingsControls.tsx b/desktop/src/features/settings/ui/AppearanceSettingsControls.tsx index c37ba8f259..bd7113a461 100644 --- a/desktop/src/features/settings/ui/AppearanceSettingsControls.tsx +++ b/desktop/src/features/settings/ui/AppearanceSettingsControls.tsx @@ -20,6 +20,12 @@ import { useConversationDensity, type ConversationDensity, } from "@/shared/lib/conversationDensityPreference"; +import { + previewConversationFontSize, + setConversationFontSize, + useConversationFontSize, + type ConversationFontSize, +} from "@/shared/lib/conversationFontSizePreference"; import { ACCENT_COLORS, DEFAULT_GLASS_OPACITY, @@ -105,6 +111,24 @@ const CONVERSATION_DENSITY_OPTIONS: readonly { }, ]; +const CONVERSATION_FONT_SIZE_OPTIONS: readonly { + value: ConversationFontSize; + label: string; +}[] = [ + { + value: "smaller", + label: "Smaller", + }, + { + value: "default", + label: "Default", + }, + { + value: "larger", + label: "Larger", + }, +]; + function ConversationDensityPreviewMessage({ avatar, author, @@ -138,18 +162,18 @@ function ConversationDensityPreviewMessage({ ); } -function ConversationDensityPreview() { +function ConversationPreview() { return ( -
+