Fastest and only macOS Dictation app with on-device STT and custom trained AI enhancement model. Windows, iOS testflight! Android, Linux waitlist open! A local Wispr Flow alternative. Follow https://x.com/fluidvoiceapp for more
refactor: centralize app font families
altic-deva6058b4396a9
diff --git a/Sources/Fluid/ContentView.swift b/Sources/Fluid/ContentView.swiftindex 8f778466..d5981ad4 100644--- a/Sources/Fluid/ContentView.swift+++ b/Sources/Fluid/ContentView.swift@@ -1354,7 +1354,7 @@ struct ContentView: View {} label: {HStack(spacing: self.theme.metrics.spacing.sm) {Image(systemName: "chevron.left")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).frame(width: 18, height: 28)Text("Back to app")@@ -1485,7 +1485,7 @@ struct ContentView: View {Spacer(minLength: self.theme.metrics.spacing.sm)Image(systemName: "chevron.right")- .font(.system(size: 10, weight: .semibold))+ .font(.fluidSystem(size: 10, weight: .semibold)).foregroundStyle(.tertiary)}.font(self.theme.typography.sidebarItem)@@ -1517,7 +1517,7 @@ struct ContentView: View {Spacer(minLength: self.theme.metrics.spacing.sm)Image(systemName: "arrow.up.right")- .font(.system(size: 10, weight: .semibold))+ .font(.fluidSystem(size: 10, weight: .semibold)).foregroundStyle(.tertiary)}.font(self.theme.typography.sidebarItem)@@ -5384,7 +5384,7 @@ private struct AccessibilitySettingsFloatingGuideView: View {VStack(spacing: 12) {HStack(spacing: 12) {Image(systemName: "arrow.up")- .font(.system(size: 30, weight: .bold))+ .font(.fluidSystem(size: 30, weight: .bold)).foregroundStyle(FluidOnboardingLandingColors.blue).offset(y: self.reduceMotion ? 0 : (self.isArrowRaised ? -8 : 4)).animation(@@ -5393,7 +5393,7 @@ private struct AccessibilitySettingsFloatingGuideView: View {)Text("Drag \(self.appName) into the Accessibility apps list as shown")- .font(.system(size: 15, weight: .semibold))+ .font(.fluidSystem(size: 15, weight: .semibold)).foregroundStyle(.white.opacity(0.78)).lineLimit(1)@@ -5403,7 +5403,7 @@ private struct AccessibilitySettingsFloatingGuideView: View {self.onClose()} label: {Image(systemName: "xmark")- .font(.system(size: 11, weight: .bold))+ .font(.fluidSystem(size: 11, weight: .bold)).foregroundStyle(.white.opacity(0.58)).frame(width: 26, height: 26).background(Circle().fill(Color.white.opacity(0.075)))@@ -5419,7 +5419,7 @@ private struct AccessibilitySettingsFloatingGuideView: View {self.onReturnToApp()} label: {Image(systemName: "chevron.left")- .font(.system(size: 15, weight: .bold))+ .font(.fluidSystem(size: 15, weight: .bold)).foregroundStyle(.white.opacity(0.72)).frame(width: 34, height: 34).background(Circle().fill(Color.white.opacity(0.075)))@@ -5435,13 +5435,13 @@ private struct AccessibilitySettingsFloatingGuideView: View {.clipShape(RoundedRectangle(cornerRadius: 8, style: .continuous))Text(self.appName)- .font(.system(size: 16, weight: .semibold))+ .font(.fluidSystem(size: 16, weight: .semibold)).foregroundStyle(.white.opacity(0.92))Spacer()Image(systemName: "line.3.horizontal")- .font(.system(size: 14, weight: .bold))+ .font(.fluidSystem(size: 14, weight: .bold)).foregroundStyle(.white.opacity(0.38))}.padding(.horizontal, 16)@@ -5568,7 +5568,7 @@ private struct TodayStatsToolbarButton: View {Text("Today")}}- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium))}.help(hasActivity ? "Today: \(summary.words) words · \(timeSaved) saved - view stats" : "View your stats").accessibilityLabel("Today stats")diff --git a/Sources/Fluid/Services/SimpleUpdater.swift b/Sources/Fluid/Services/SimpleUpdater.swiftindex fba8e2a0..e010fd7e 100644--- a/Sources/Fluid/Services/SimpleUpdater.swift+++ b/Sources/Fluid/Services/SimpleUpdater.swift@@ -503,12 +503,12 @@ final class SimpleUpdater {let title = NSTextField(labelWithString: "Installing FluidVoice \(version)")title.frame = NSRect(x: 92, y: 76, width: 304, height: 24)- title.font = .systemFont(ofSize: 16, weight: .semibold)+ title.font = .fluidSystemFont(ofSize: 16, weight: .semibold)content.addSubview(title)let detail = NSTextField(wrappingLabelWithString: "Downloading the update. FluidVoice will restart automatically.")detail.frame = NSRect(x: 92, y: 42, width: 304, height: 34)- detail.font = .systemFont(ofSize: 13)+ detail.font = .fluidSystemFont(ofSize: 13)detail.textColor = .secondaryLabelColordetail.maximumNumberOfLines = 2content.addSubview(detail)diff --git a/Sources/Fluid/Theme/AppTheme.swift b/Sources/Fluid/Theme/AppTheme.swiftindex efca4cfc..fc65fdfb 100644--- a/Sources/Fluid/Theme/AppTheme.swift+++ b/Sources/Fluid/Theme/AppTheme.swift@@ -48,26 +48,26 @@ struct AppTheme {let chromeCaption: Fontstatic let standard = Typography(- displayTitle: .system(size: 42, weight: .semibold),- statement: .system(size: 17, weight: .regular),- title: .system(size: 22, weight: .bold),- titleIcon: .system(size: 22, weight: .regular),- sectionTitle: .system(size: 15, weight: .semibold),- body: .system(size: 14, weight: .regular),- bodyStrong: .system(size: 14, weight: .medium),- bodySmall: .system(size: 13, weight: .regular),- bodySmallStrong: .system(size: 13, weight: .medium),- caption: .system(size: 12, weight: .regular),- captionStrong: .system(size: 12, weight: .medium),- captionSmall: .system(size: 11, weight: .regular),- tiny: .system(size: 11, weight: .regular),- tinyStrong: .system(size: 11, weight: .bold),- badge: .system(size: 11, weight: .semibold),- metricTiny: .system(size: 11, weight: .bold, design: .rounded),- codeCaption: .system(size: 12, weight: .medium, design: .monospaced),- sidebarItem: .system(size: 14, weight: .regular),- sidebarSection: .system(size: 12, weight: .medium),- chromeCaption: .system(size: 12, weight: .regular)+ displayTitle: .fluidSystem(size: 42, weight: .semibold),+ statement: .fluidSystem(size: 17, weight: .regular),+ title: .fluidSystem(size: 22, weight: .bold),+ titleIcon: .fluidSystem(size: 22, weight: .regular),+ sectionTitle: .fluidSystem(size: 15, weight: .semibold),+ body: .fluidSystem(size: 14, weight: .regular),+ bodyStrong: .fluidSystem(size: 14, weight: .medium),+ bodySmall: .fluidSystem(size: 13, weight: .regular),+ bodySmallStrong: .fluidSystem(size: 13, weight: .medium),+ caption: .fluidSystem(size: 12, weight: .regular),+ captionStrong: .fluidSystem(size: 12, weight: .medium),+ captionSmall: .fluidSystem(size: 11, weight: .regular),+ tiny: .fluidSystem(size: 11, weight: .regular),+ tinyStrong: .fluidSystem(size: 11, weight: .bold),+ badge: .fluidSystem(size: 11, weight: .semibold),+ metricTiny: .fluidSystem(size: 11, weight: .bold, design: .rounded),+ codeCaption: .fluidSystem(size: 12, weight: .medium, design: .monospaced),+ sidebarItem: .fluidSystem(size: 14, weight: .regular),+ sidebarSection: .fluidSystem(size: 12, weight: .medium),+ chromeCaption: .fluidSystem(size: 12, weight: .regular))}diff --git a/Sources/Fluid/Theme/Components/FluidManagementSheet.swift b/Sources/Fluid/Theme/Components/FluidManagementSheet.swiftindex c4c023a7..91d3b04b 100644--- a/Sources/Fluid/Theme/Components/FluidManagementSheet.swift+++ b/Sources/Fluid/Theme/Components/FluidManagementSheet.swift@@ -15,7 +15,7 @@ struct FluidManagementSheet<Content: View>: View {VStack(spacing: 0) {HStack(spacing: 16) {Image(systemName: self.symbol)- .font(.system(size: 24, weight: .medium))+ .font(.fluidSystem(size: 24, weight: .medium)).foregroundStyle(FluidBrandColors.blue).frame(width: 52, height: 52).background(FluidBrandColors.blue.opacity(0.10), in: RoundedRectangle(cornerRadius: 16))diff --git a/Sources/Fluid/Theme/Components/FluidModelUpdateButton.swift b/Sources/Fluid/Theme/Components/FluidModelUpdateButton.swiftindex 04ee67cf..9c729c7a 100644--- a/Sources/Fluid/Theme/Components/FluidModelUpdateButton.swift+++ b/Sources/Fluid/Theme/Components/FluidModelUpdateButton.swift@@ -10,9 +10,9 @@ struct FluidModelUpdateButton: View {Button(action: self.action) {ZStack {Image(systemName: "arrow.down")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).opacity(self.hovered ? 0 : 1)- Text("Update").font(.system(size: 12, weight: .semibold))+ Text("Update").font(.fluidSystem(size: 12, weight: .semibold)).opacity(self.hovered ? 1 : 0)}.foregroundStyle(.black)diff --git a/Sources/Fluid/Theme/Components/OnboardingComponents.swift b/Sources/Fluid/Theme/Components/OnboardingComponents.swiftindex 9a1d879c..7bf98ddf 100644--- a/Sources/Fluid/Theme/Components/OnboardingComponents.swift+++ b/Sources/Fluid/Theme/Components/OnboardingComponents.swift@@ -34,7 +34,7 @@ struct FluidOnboardingLandingHero<Actions: View>: View {if !self.eyebrow.isEmpty {Text(self.eyebrow)- .font(.system(size: 14, weight: .bold))+ .font(.fluidSystem(size: 14, weight: .bold)).tracking(4.2).foregroundStyle(FluidOnboardingLandingColors.blue.opacity(0.72)).textCase(.uppercase)@@ -43,13 +43,13 @@ struct FluidOnboardingLandingHero<Actions: View>: View {VStack(spacing: 4) {Text(self.title)- .font(.system(size: 52, weight: .semibold))+ .font(.fluidSystem(size: 52, weight: .semibold)).foregroundStyle(.white).multilineTextAlignment(.center).minimumScaleFactor(0.82)Text(self.accentTitle)- .font(.system(size: 50, weight: .semibold))+ .font(.fluidSystem(size: 50, weight: .semibold)).italic().foregroundStyle(FluidOnboardingLandingColors.blue).multilineTextAlignment(.center)@@ -63,7 +63,7 @@ struct FluidOnboardingLandingHero<Actions: View>: View {Text(self.firstDetail)Text(self.secondDetail)}- .font(.system(size: 22, weight: .medium))+ .font(.fluidSystem(size: 22, weight: .medium)).foregroundStyle(Color.white.opacity(0.70)).multilineTextAlignment(.center).lineLimit(1)@@ -346,7 +346,7 @@ private final class LandingPrimaryNSButton: NSButton {self.attributedTitle = NSAttributedString(string: title,attributes: [- .font: NSFont.systemFont(ofSize: 18, weight: .semibold),+ .font: NSFont.fluidSystemFont(ofSize: 18, weight: .semibold),.foregroundColor: NSColor.white,])diff --git a/Sources/Fluid/Theme/Components/SetupComponents.swift b/Sources/Fluid/Theme/Components/SetupComponents.swiftindex b8d797df..89efdfbc 100644--- a/Sources/Fluid/Theme/Components/SetupComponents.swift+++ b/Sources/Fluid/Theme/Components/SetupComponents.swift@@ -44,7 +44,7 @@ struct SetupStepView: View {if self.status == .completed {Image(systemName: "checkmark.circle.fill").foregroundStyle(self.statusColor)- .font(.body.weight(.semibold))+ .font(.fluidSystem(.body).weight(.semibold))} else if self.status == .inProgress {ProgressView().controlSize(.small)@@ -52,18 +52,18 @@ struct SetupStepView: View {.tint(self.statusColor)} else {Text("\(self.step)")- .font(.caption.weight(.bold))+ .font(.fluidSystem(.caption).weight(.bold)).foregroundStyle(self.statusColor)}}VStack(alignment: .leading, spacing: 2) {Text(self.title)- .font(.body.weight(.medium))+ .font(.fluidSystem(.body).weight(.medium)).foregroundStyle(.primary)Text(self.description)- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary).lineLimit(2)}@@ -73,7 +73,7 @@ struct SetupStepView: View {// Action button or status badgeif self.status == .completed {Label("Done", systemImage: "checkmark")- .font(.caption.weight(.semibold))+ .font(.fluidSystem(.caption).weight(.semibold)).foregroundStyle(.white).padding(.horizontal, 8).padding(.vertical, 4)@@ -81,9 +81,9 @@ struct SetupStepView: View {} else if self.showActionButton {HStack(spacing: 3) {Text(self.actionButtonTitle)- .font(.caption.weight(.medium))+ .font(.fluidSystem(.caption).weight(.medium))Image(systemName: "arrow.right")- .font(.caption2.weight(.bold))+ .font(.fluidSystem(.caption2).weight(.bold))}.foregroundStyle(self.theme.palette.accent).padding(.horizontal, 8)@@ -138,16 +138,16 @@ struct InstructionStep: View {.frame(width: 22, height: 22)Text("\(self.number)")- .font(.caption.weight(.semibold))+ .font(.fluidSystem(.caption).weight(.semibold)).foregroundStyle(self.theme.palette.accent)}VStack(alignment: .leading, spacing: 1) {Text(self.title)- .font(.subheadline.weight(.medium))+ .font(.fluidSystem(.subheadline).weight(.medium))Text(self.description)- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary).lineLimit(2)}diff --git a/Sources/Fluid/Theme/Components/ThemedGroupBox.swift b/Sources/Fluid/Theme/Components/ThemedGroupBox.swiftindex 1933b94e..b25f01d9 100644--- a/Sources/Fluid/Theme/Components/ThemedGroupBox.swift+++ b/Sources/Fluid/Theme/Components/ThemedGroupBox.swift@@ -24,7 +24,7 @@ struct ThemedGroupBox<Label: View, Content: View>: View {ThemedCard(style: self.style, padding: 0, hoverEffect: self.hoverEffect) {VStack(alignment: .leading, spacing: self.theme.metrics.spacing.md) {self.label- .font(.headline)+ .font(.fluidSystem(.headline)).foregroundStyle(self.theme.palette.secondaryText).padding(.top, self.theme.metrics.spacing.md).padding(.horizontal, self.theme.metrics.spacing.md)diff --git a/Sources/Fluid/Theme/FluidTypography.swift b/Sources/Fluid/Theme/FluidTypography.swiftnew file mode 100644index 00000000..85406a55--- /dev/null+++ b/Sources/Fluid/Theme/FluidTypography.swift@@ -0,0 +1,113 @@+import AppKit+import SwiftUI++/// Edit these four choices to experiment across the app, then rebuild.+/// `.system` keeps Apple's native font. `.named("AvenirNext-Regular")` uses an installed+/// PostScript font name. `.newYork` uses Apple’s native serif at every size and weight.+/// Invalid names fall back to the original system design.+enum FluidTypography {+ enum Family {+ case system+ case newYork+ case named(String)+ }++ static let standard: Family = .system+ static let serif: Family = .system+ static let rounded: Family = .system+ static let monospace: Family = .system++ // Resolve each choice once, rather than looking up installed fonts during rendering.+ private static let standardName = resolvedName(for: standard)+ private static let serifName = resolvedName(for: serif)+ private static let roundedName = resolvedName(for: rounded)+ private static let monospaceName = resolvedName(for: monospace)++ static func resolvedName(for family: Family) -> String? {+ guard case let .named(name) = family, NSFont(name: name, size: 12) != nil else { return nil }+ return name+ }++ static func name(for design: Font.Design) -> String? {+ switch design {+ case .serif: self.serifName+ case .rounded: self.roundedName+ case .monospaced: self.monospaceName+ default: self.standardName+ }+ }++ static var overridesStandard: Bool {+ if case .system = self.standard { return false }+ return true+ }++ static func systemDesign(for design: Font.Design) -> Font.Design {+ let family: Family = switch design {+ case .serif: self.serif+ case .rounded: self.rounded+ case .monospaced: self.monospace+ default: self.standard+ }+ if case .newYork = family { return .serif }+ return design+ }++ static func pointSize(for style: Font.TextStyle) -> CGFloat {+ switch style {+ case .largeTitle: NSFont.preferredFont(forTextStyle: .largeTitle).pointSize+ case .title: NSFont.preferredFont(forTextStyle: .title1).pointSize+ case .title2: NSFont.preferredFont(forTextStyle: .title2).pointSize+ case .title3: NSFont.preferredFont(forTextStyle: .title3).pointSize+ case .headline: NSFont.preferredFont(forTextStyle: .headline).pointSize+ case .subheadline: NSFont.preferredFont(forTextStyle: .subheadline).pointSize+ case .callout: NSFont.preferredFont(forTextStyle: .callout).pointSize+ case .footnote: NSFont.preferredFont(forTextStyle: .footnote).pointSize+ case .caption: NSFont.preferredFont(forTextStyle: .caption1).pointSize+ case .caption2: NSFont.preferredFont(forTextStyle: .caption2).pointSize+ default: NSFont.preferredFont(forTextStyle: .body).pointSize+ }+ }+}++extension Font {+ /// Family indirection only: default size, weight, and design remain native.+ static func fluidSystem(size: CGFloat, weight: Font.Weight = .regular, design: Font.Design = .default) -> Font {+ guard let name = FluidTypography.name(for: design) else {+ return .system(size: size, weight: weight, design: FluidTypography.systemDesign(for: design))+ }+ return .custom(name, fixedSize: size).weight(weight)+ }++ static func fluidSystem(_ style: Font.TextStyle, design: Font.Design = .default) -> Font {+ guard let name = FluidTypography.name(for: design) else {+ return .system(style, design: FluidTypography.systemDesign(for: design))+ }+ let font = Font.custom(name, size: FluidTypography.pointSize(for: style), relativeTo: style)+ return style == .headline ? font.weight(.semibold) : font+ }+}++extension NSFont {+ static func fluidSystemFont(ofSize size: CGFloat, weight: NSFont.Weight = .regular) -> NSFont {+ self.fluidFont(ofSize: size, weight: weight, design: .default)+ }++ static func fluidMonospacedSystemFont(ofSize size: CGFloat, weight: NSFont.Weight) -> NSFont {+ self.fluidFont(ofSize: size, weight: weight, design: .monospaced)+ }++ private static func fluidFont(ofSize size: CGFloat, weight: NSFont.Weight, design: Font.Design) -> NSFont {+ if let name = FluidTypography.name(for: design), let font = NSFont(name: name, size: size) {+ let descriptor = font.fontDescriptor.addingAttributes([.traits: [NSFontDescriptor.TraitKey.weight: weight.rawValue]])+ return NSFont(descriptor: descriptor, size: size) ?? font+ }+ if FluidTypography.systemDesign(for: design) == .serif,+ let descriptor = NSFont.systemFont(ofSize: size, weight: weight).fontDescriptor.withDesign(.serif),+ let font = NSFont(descriptor: descriptor, size: size)+ {+ return font+ }+ return design == .monospaced ? .monospacedSystemFont(ofSize: size, weight: weight) : .systemFont(ofSize: size, weight: weight)+ }+}diff --git a/Sources/Fluid/Theme/NativeButtonStyles.swift b/Sources/Fluid/Theme/NativeButtonStyles.swiftindex 9845e605..56180b30 100644--- a/Sources/Fluid/Theme/NativeButtonStyles.swift+++ b/Sources/Fluid/Theme/NativeButtonStyles.swift@@ -466,7 +466,7 @@ struct InlineButtonStyle: ButtonStyle {var body: some View {self.configuration.label- .font(.caption)+ .font(.fluidSystem(.caption)).fontWeight(.medium).padding(.horizontal, self.theme.metrics.spacing.md).padding(.vertical, self.theme.metrics.spacing.xs)@@ -548,7 +548,7 @@ struct FluidPickerDisclosureIcon: View {let picker = self.theme.metrics.pickerControlImage(systemName: "chevron.down")- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(.secondary).frame(width: picker.disclosureSize, height: picker.disclosureSize).background(diff --git a/Sources/Fluid/Theme/ThemeEnvironment.swift b/Sources/Fluid/Theme/ThemeEnvironment.swiftindex dea192e1..b19aa1ca 100644--- a/Sources/Fluid/Theme/ThemeEnvironment.swift+++ b/Sources/Fluid/Theme/ThemeEnvironment.swift@@ -13,8 +13,14 @@ extension EnvironmentValues {extension View {/// Applies an app theme to the view hierarchy.+ @ViewBuilderfunc appTheme(_ theme: AppTheme) -> some View {- environment(\.theme, theme)+ if FluidTypography.overridesStandard {+ self.environment(\.theme, theme)+ .font(.fluidSystem(.body))+ } else {+ self.environment(\.theme, theme)+ }}}diff --git a/Sources/Fluid/UI/AISettings/AIEnhancementSettingsView.swift b/Sources/Fluid/UI/AISettings/AIEnhancementSettingsView.swiftindex f100aae7..4572fc82 100644--- a/Sources/Fluid/UI/AISettings/AIEnhancementSettingsView.swift+++ b/Sources/Fluid/UI/AISettings/AIEnhancementSettingsView.swift@@ -106,16 +106,16 @@ struct AIEnhancementSettingsView: View {var customPromptOnlyToggleRow: some View {HStack(alignment: .center, spacing: 12) {Image(systemName: "text.quote")- .font(.system(size: 13, weight: .semibold))+ .font(.fluidSystem(size: 13, weight: .semibold)).foregroundStyle(self.theme.palette.accent).frame(width: 24, height: 24)VStack(alignment: .leading, spacing: 3) {Text("Send Custom Prompt Only")- .font(.system(size: 13, weight: .semibold))+ .font(.fluidSystem(size: 13, weight: .semibold)).foregroundStyle(self.theme.palette.primaryText)Text("For custom Dictate prompts, send your prompt without prepending the built-in dictation prompt.")- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(self.theme.palette.secondaryText).fixedSize(horizontal: false, vertical: true)}diff --git a/Sources/Fluid/UI/AISettings/AddProviderSheet.swift b/Sources/Fluid/UI/AISettings/AddProviderSheet.swiftindex 5432abb7..93097f63 100644--- a/Sources/Fluid/UI/AISettings/AddProviderSheet.swift+++ b/Sources/Fluid/UI/AISettings/AddProviderSheet.swift@@ -24,7 +24,7 @@ struct AddProviderSheet<Logo: View>: View {self.logo(self.draft.providerID, self.draft.name)} else {Image(systemName: "square.stack.3d.up")- .font(.system(size: 26)).foregroundStyle(FluidBrandColors.blue)+ .font(.fluidSystem(size: 26)).foregroundStyle(FluidBrandColors.blue).frame(width: 48, height: 48)}VStack(alignment: .leading, spacing: 6) {@@ -74,7 +74,7 @@ struct AddProviderSheet<Logo: View>: View {self.isEditing = true} label: {HStack(spacing: 14) {- Image(systemName: "server.rack").font(.system(size: 24))+ Image(systemName: "server.rack").font(.fluidSystem(size: 24)).foregroundStyle(FluidBrandColors.blue).frame(width: 38, height: 38)VStack(alignment: .leading, spacing: 5) {Text("Custom Provider").font(self.theme.typography.bodyStrong)diff --git a/Sources/Fluid/UI/AISettings/FluidModelShowcaseCard.swift b/Sources/Fluid/UI/AISettings/FluidModelShowcaseCard.swiftindex 07046f3b..c472824b 100644--- a/Sources/Fluid/UI/AISettings/FluidModelShowcaseCard.swift+++ b/Sources/Fluid/UI/AISettings/FluidModelShowcaseCard.swift@@ -42,7 +42,7 @@ struct FluidModelShowcaseCard: View {.lineLimit(2).minimumScaleFactor(0.85)if self.isSelected {Image(systemName: "checkmark.circle.fill")- .font(.system(size: 18, weight: .semibold))+ .font(.fluidSystem(size: 18, weight: .semibold)).foregroundStyle(FluidBrandColors.blue).accessibilityLabel("Selected")}@@ -108,7 +108,7 @@ struct FluidModelShowcaseCard: View {// Sibling to the browse button: opening details never selects or activates a model.Button { self.showsInfo.toggle() } label: {Image(systemName: self.showsInfo ? "xmark.circle" : "info.circle")- .font(.system(size: 19, weight: .regular))+ .font(.fluidSystem(size: 19, weight: .regular)).foregroundStyle(self.theme.palette.secondaryText).frame(width: 32, height: 32).contentShape(Circle())diff --git a/Sources/Fluid/UI/AISettingsView+AIConfiguration.swift b/Sources/Fluid/UI/AISettingsView+AIConfiguration.swiftindex 995d97c9..de715eda 100644--- a/Sources/Fluid/UI/AISettingsView+AIConfiguration.swift+++ b/Sources/Fluid/UI/AISettingsView+AIConfiguration.swift@@ -222,20 +222,20 @@ extension AIEnhancementSettingsView {)Image(systemName: isProviders ? "cpu" : "wand.and.stars")- .font(.system(size: 15, weight: .semibold))+ .font(.fluidSystem(size: 15, weight: .semibold)).foregroundStyle(self.theme.palette.accent)}.frame(width: 34, height: 34)VStack(alignment: .leading, spacing: 2) {Text(isProviders ? "AI Providers" : "Cleanup Styles")- .font(.title3)+ .font(.fluidSystem(.title3)).fontWeight(.semibold).foregroundStyle(self.theme.palette.primaryText)Text(isProviders? "Configure local models and API providers.": "Choose how FluidVoice cleans up your dictation.")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(self.theme.palette.secondaryText)}@@ -250,9 +250,9 @@ extension AIEnhancementSettingsView {HStack(spacing: 12) {VStack(alignment: .leading, spacing: 2) {Text("Providers")- .font(.system(size: 14, weight: .semibold))+ .font(.fluidSystem(size: 14, weight: .semibold))Text("Configure local models and API providers.")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)}@@ -261,9 +261,9 @@ extension AIEnhancementSettingsView {Button(action: { self.viewModel.showHelp.toggle() }) {HStack(spacing: 5) {Image(systemName: self.viewModel.showHelp ? "questionmark.circle.fill" : "questionmark.circle")- .font(.system(size: 14))+ .font(.fluidSystem(size: 14))Text("Help")- .font(.caption)+ .font(.fluidSystem(.caption)).fontWeight(.medium)}.foregroundStyle(self.viewModel.showHelp ? self.theme.palette.accent : .secondary)@@ -317,12 +317,12 @@ extension AIEnhancementSettingsView {private func aiSetupSummaryItem(icon: String, text: String) -> some View {HStack(spacing: 6) {Image(systemName: icon)- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(self.theme.palette.accent.opacity(0.95)).frame(width: 14)Text(text)- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(self.theme.palette.secondaryText).lineLimit(1)}@@ -332,9 +332,9 @@ extension AIEnhancementSettingsView {HStack(spacing: 10) {Image(systemName: "exclamationmark.triangle.fill").foregroundStyle(.orange)- .font(.system(size: 16))+ .font(.fluidSystem(size: 16))Text("API key required for AI enhancement to work")- .font(.system(size: 13, weight: .medium))+ .font(.fluidSystem(size: 13, weight: .medium)).foregroundStyle(.orange)Spacer()}@@ -349,10 +349,10 @@ extension AIEnhancementSettingsView {VStack(alignment: .leading, spacing: 12) {HStack(spacing: 8) {Image(systemName: "lightbulb.fill")- .font(.system(size: 14))+ .font(.fluidSystem(size: 14)).foregroundStyle(.yellow)Text("Quick Start Guide")- .font(.system(size: 13, weight: .semibold))+ .font(.fluidSystem(size: 13, weight: .semibold))}VStack(alignment: .leading, spacing: 8) {@@ -383,15 +383,15 @@ extension AIEnhancementSettingsView {.fill(self.theme.palette.accent.opacity(0.15)).frame(width: 22, height: 22)Text(number)- .font(.system(size: 11, weight: .bold, design: .rounded))+ .font(.fluidSystem(size: 11, weight: .bold, design: .rounded)).foregroundStyle(self.theme.palette.accent)}Image(systemName: icon)- .font(.system(size: 11))+ .font(.fluidSystem(size: 11)).foregroundStyle(.secondary).frame(width: 16)Text(text)- .font(.system(size: 12))+ .font(.fluidSystem(size: 12)).foregroundStyle(.secondary)}}@@ -426,23 +426,23 @@ extension AIEnhancementSettingsView {return VStack(alignment: .leading, spacing: 8) {HStack(spacing: 6) {Image(systemName: "square.grid.2x2")- .font(.system(size: 11, weight: .medium))+ .font(.fluidSystem(size: 11, weight: .medium)).foregroundStyle(self.theme.palette.secondaryText)Text("All providers")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(self.theme.palette.secondaryText)Text("(\(count))")- .font(.system(size: 11, weight: .medium))+ .font(.fluidSystem(size: 11, weight: .medium)).foregroundStyle(self.theme.palette.tertiaryText)}HStack(spacing: 8) {Image(systemName: "magnifyingglass")- .font(.system(size: 11))+ .font(.fluidSystem(size: 11)).foregroundStyle(.secondary)TextField("Search providers", text: self.$providerSearchText).textFieldStyle(.plain)- .font(.system(size: 12))+ .font(.fluidSystem(size: 12))}.padding(8).background(@@ -463,7 +463,7 @@ extension AIEnhancementSettingsView {}if filteredItems.isEmpty, !query.isEmpty {Text("No providers match \"\(query)\"")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary).padding(.vertical, 12).frame(maxWidth: .infinity, alignment: .leading)@@ -499,27 +499,27 @@ extension AIEnhancementSettingsView {return VStack(alignment: .leading, spacing: 8) {HStack(spacing: 6) {Image(systemName: "checkmark.seal.fill")- .font(.system(size: 11, weight: .medium))+ .font(.fluidSystem(size: 11, weight: .medium)).foregroundStyle(Color.fluidGreen)Text("Verified providers")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(self.theme.palette.secondaryText)Text("(\(count))")- .font(.system(size: 11, weight: .medium))+ .font(.fluidSystem(size: 11, weight: .medium)).foregroundStyle(self.theme.palette.tertiaryText)}if verified.isEmpty {HStack(spacing: 10) {Image(systemName: "info.circle")- .font(.system(size: 14))+ .font(.fluidSystem(size: 14)).foregroundStyle(.secondary)VStack(alignment: .leading, spacing: 2) {Text("No verified providers yet")- .font(.system(size: 13, weight: .medium))+ .font(.fluidSystem(size: 13, weight: .medium)).foregroundStyle(.secondary)Text("Set up a provider below and verify its connection")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.tertiary)}}@@ -581,7 +581,7 @@ extension AIEnhancementSettingsView {) -> some View {Button(action: action) {Image(systemName: systemName)- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).frame(width: AISettingsLayout.providerRowControlHeight, height: AISettingsLayout.providerRowControlHeight)}.buttonStyle(SquareIconButtonStyle())@@ -605,7 +605,7 @@ extension AIEnhancementSettingsView {.frame(width: 16, height: 16)} else {Image(systemName: "arrow.clockwise")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold))}}.frame(width: AISettingsLayout.providerRowControlHeight, height: AISettingsLayout.providerRowControlHeight)@@ -626,11 +626,11 @@ extension AIEnhancementSettingsView {let statusView = HStack(spacing: 5) {if !status.icon.isEmpty {Image(systemName: status.icon)- .font(.system(size: 10))+ .font(.fluidSystem(size: 10))}Text(status.text)}- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(status.color)return VStack(alignment: .leading, spacing: 0) {@@ -641,7 +641,7 @@ extension AIEnhancementSettingsView {HStack(spacing: 8) {Text(item.name)- .font(.system(size: 14, weight: .semibold))+ .font(.fluidSystem(size: 14, weight: .semibold)).foregroundStyle(self.theme.palette.primaryText)statusView@@ -650,7 +650,7 @@ extension AIEnhancementSettingsView {Spacer()Image(systemName: isExpanded ? "chevron.down" : "chevron.right")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(.secondary.opacity(0.7))}.frame(maxWidth: .infinity, alignment: .leading)@@ -740,7 +740,7 @@ extension AIEnhancementSettingsView {return VStack(alignment: .leading, spacing: 10) {HStack(spacing: 8) {Text("Model")- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(.secondary).frame(width: 50, alignment: .leading)@@ -779,9 +779,9 @@ extension AIEnhancementSettingsView {{HStack(spacing: 6) {Image(systemName: "exclamationmark.triangle.fill")- .font(.caption)+ .font(.fluidSystem(.caption))Text(self.viewModel.connectionErrorMessage)- .font(.caption)+ .font(.fluidSystem(.caption))}.foregroundStyle(.red).padding(10)@@ -806,7 +806,7 @@ extension AIEnhancementSettingsView {? Self.downloadButtonText(progress: downloadProgress): "Download \(self.privateAIBackendShortName) & Verify")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold))}}.fluidButton(.accent, size: .small)@@ -814,9 +814,9 @@ extension AIEnhancementSettingsView {} else {HStack(spacing: 6) {Image(systemName: "info.circle")- .font(.caption)+ .font(.fluidSystem(.caption))Text("Install the selected model to enable verification")- .font(.caption)+ .font(.fluidSystem(.caption))}.foregroundStyle(.secondary)}@@ -833,7 +833,7 @@ extension AIEnhancementSettingsView {? Self.downloadButtonText(progress: downloadProgress): "Update & Verify")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold))}}.fluidButton(.accent, size: .small)@@ -847,7 +847,7 @@ extension AIEnhancementSettingsView {.fixedSize()}Text(isTesting ? "Loading..." : "Verify")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold))}}.fluidButton(.accent, size: .small)@@ -859,7 +859,7 @@ extension AIEnhancementSettingsView {private func privateAIPrefixCacheRow(isBusy: Bool) -> some View {HStack(alignment: .center, spacing: 8) {Text("Faster first result")- .font(.caption)+ .font(.fluidSystem(.caption)).frame(width: 124, alignment: .leading)Toggle("", isOn: self.privateAIPrefixCacheBinding)@@ -877,14 +877,14 @@ extension AIEnhancementSettingsView {private func privateAIBackendRow(isBusy: Bool) -> some View {HStack(alignment: .center, spacing: 8) {Text("Backend")- .font(.caption)+ .font(.fluidSystem(.caption)).frame(width: 124, alignment: .leading)self.privateAIBackendPicker(isBusy: isBusy).frame(width: 190)Text(self.settings.privateAIBackendPreference.detail)- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(.secondary).lineLimit(2)@@ -922,7 +922,7 @@ extension AIEnhancementSettingsView {private func privateAIBoostRow(isBusy: Bool) -> some View {HStack(alignment: .center, spacing: 8) {Text("Faster results")- .font(.caption)+ .font(.fluidSystem(.caption)).frame(width: 124, alignment: .leading)Toggle("", isOn: self.privateAIBoostBinding)@@ -934,7 +934,7 @@ extension AIEnhancementSettingsView {.accessibilityLabel("Faster results")Text("Finishes dictation up to 15% faster. Uses about 100 MB more memory.")- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(.secondary).lineLimit(2)@@ -957,7 +957,7 @@ extension AIEnhancementSettingsView {}Text(status.detail)- .font(.caption)+ .font(.fluidSystem(.caption)).lineLimit(2)}@@ -965,7 +965,7 @@ extension AIEnhancementSettingsView {self.privateAIDownloadProgressBar(progress: progress, color: status.color)Text(Self.downloadProgressText(progress))- .font(.caption2)+ .font(.fluidSystem(.caption2)).lineLimit(1)}}@@ -1160,40 +1160,40 @@ extension AIEnhancementSettingsView {VStack(alignment: .leading, spacing: 8) {HStack(spacing: 6) {Image(systemName: "textformat")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)Text("Provider Name")- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(.secondary)}TextField("Custom Provider", text: nameBinding).textFieldStyle(.roundedBorder)- .font(.system(size: 13))+ .font(.fluidSystem(size: 13))}VStack(alignment: .leading, spacing: 8) {HStack(spacing: 6) {Image(systemName: "link")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)Text("Base URL")- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(.secondary)}TextField("https://api.yourprovider.com/v1", text: baseURLBinding).textFieldStyle(.roundedBorder)- .font(.system(size: 13, design: .monospaced))+ .font(.fluidSystem(size: 13, design: .monospaced))}}VStack(alignment: .leading, spacing: 6) {Text("API Key")- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(.secondary)HStack(alignment: .center, spacing: 8) {SecureField("Enter API key", text: apiKeyBinding).textFieldStyle(.plain)- .font(.system(size: 13))+ .font(.fluidSystem(size: 13)).padding(.horizontal, managementLayout ? 12 : 6).frame(height: AISettingsLayout.providerRowControlHeight).frame(maxWidth: managementLayout ? .infinity : 200)@@ -1215,9 +1215,9 @@ extension AIEnhancementSettingsView {Button(action: { NSWorkspace.shared.open(url) }) {HStack(spacing: 4) {Image(systemName: websiteInfo.label.contains("Guide") ? "book.fill" : "key.fill")- .font(.system(size: 10))+ .font(.fluidSystem(size: 10))Text(websiteInfo.label)- .font(.system(size: 11, weight: .medium))+ .font(.fluidSystem(size: 11, weight: .medium))}.padding(.horizontal, 10).padding(.vertical, 5)@@ -1235,7 +1235,7 @@ extension AIEnhancementSettingsView {(managementLayout ? AnyLayout(VStackLayout(alignment: .leading, spacing: 6)) : AnyLayout(HStackLayout(spacing: 8))) {Text("Model")- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(.secondary).frame(width: managementLayout ? nil : 50, alignment: .leading)@@ -1311,9 +1311,9 @@ extension AIEnhancementSettingsView {if let error = self.viewModel.fetchModelsError, !error.isEmpty {HStack(spacing: 6) {Image(systemName: "exclamationmark.triangle.fill")- .font(.caption)+ .font(.fluidSystem(.caption))Text(error)- .font(.caption)+ .font(.fluidSystem(.caption))}.foregroundStyle(.red).padding(10)@@ -1342,7 +1342,7 @@ extension AIEnhancementSettingsView {.fixedSize()} else {Image(systemName: "checkmark.shield")- .font(.system(size: 12))+ .font(.fluidSystem(size: 12))}Text(self.viewModel.isTestingConnection ? "Verifying…" : "Verify model").font(self.theme.typography.bodyStrong)@@ -1356,9 +1356,9 @@ extension AIEnhancementSettingsView {} else {HStack(spacing: 6) {Image(systemName: "info.circle")- .font(.caption)+ .font(.fluidSystem(.caption))Text(hasModels ? "Select a model to enable verification" : "Refresh models to enable verification")- .font(.caption)+ .font(.fluidSystem(.caption))}.foregroundStyle(.secondary)}@@ -1393,12 +1393,12 @@ extension AIEnhancementSettingsView {private func providerErrorPreview(_ message: String, lineLimit: Int) -> some View {HStack(alignment: .top, spacing: 8) {Image(systemName: "exclamationmark.triangle.fill")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(.red).padding(.top, 2)Text(message)- .font(.system(size: 11, design: .monospaced))+ .font(.fluidSystem(size: 11, design: .monospaced)).foregroundStyle(.red.opacity(0.9)).lineLimit(lineLimit).textSelection(.enabled)@@ -1427,24 +1427,24 @@ extension AIEnhancementSettingsView {)Image(systemName: "plus")- .font(.system(size: 16, weight: .semibold))+ .font(.fluidSystem(size: 16, weight: .semibold)).foregroundStyle(self.theme.palette.accent)}.frame(width: 40, height: 40)VStack(alignment: .leading, spacing: 2) {Text("Add Custom Provider")- .font(.system(size: 14, weight: .semibold))+ .font(.fluidSystem(size: 14, weight: .semibold)).foregroundStyle(self.theme.palette.primaryText)Text("OpenAI-compatible endpoint")- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(.secondary)}Spacer()Image(systemName: "chevron.right")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(.secondary.opacity(0.7))}.padding(14)@@ -1515,13 +1515,13 @@ extension AIEnhancementSettingsView {HStack(spacing: 8) {Text(item.name)- .font(.system(size: 14, weight: .semibold))+ .font(.fluidSystem(size: 14, weight: .semibold)).foregroundStyle(self.theme.palette.primaryText).lineLimit(1).truncationMode(.tail)Image(systemName: "checkmark.seal.fill")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(Color.fluidGreen)}@@ -1537,7 +1537,7 @@ extension AIEnhancementSettingsView {isDefaultProvider ? "Default" : "Use as default",systemImage: isDefaultProvider ? "checkmark.circle.fill" : "circle")- .font(.caption2.weight(.semibold))+ .font(.fluidSystem(.caption2).weight(.semibold)).lineLimit(1).frame(width: 92, height: AISettingsLayout.providerRowControlHeight)}@@ -1590,7 +1590,7 @@ extension AIEnhancementSettingsView {}}) {Text("Edit")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).frame(width: actionColumnWidth, height: AISettingsLayout.providerRowControlHeight)}.buttonStyle(SquareIconButtonStyle())@@ -1630,7 +1630,7 @@ extension AIEnhancementSettingsView {}}) {Text("Edit")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).frame(width: actionColumnWidth, height: AISettingsLayout.providerRowControlHeight)}.buttonStyle(SquareIconButtonStyle())@@ -1724,7 +1724,7 @@ extension AIEnhancementSettingsView {.frame(width: isFluid ? 34 : 26, height: isFluid ? 34 : 26)} else {Text(self.providerInitials(for: item))- .font(.system(size: 14, weight: .bold, design: .rounded))+ .font(.fluidSystem(size: 14, weight: .bold, design: .rounded)).foregroundStyle(self.theme.palette.primaryText)}}@@ -1875,7 +1875,7 @@ extension AIEnhancementSettingsView {self.viewModel.openReasoningConfig()}) {Image(systemName: hasEnabledConfig ? "brain.fill" : "brain")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(hasEnabledConfig ? self.theme.palette.accent : self.theme.palette.primaryText).frame(width: AISettingsLayout.providerRowControlHeight, height: AISettingsLayout.providerRowControlHeight)}@@ -1890,10 +1890,10 @@ extension AIEnhancementSettingsView {VStack(alignment: .leading, spacing: 12) {HStack(spacing: 8) {Image(systemName: "text.bubble.fill")- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(self.theme.palette.accent)Text("Styles")- .font(.system(size: 14, weight: .semibold))+ .font(.fluidSystem(size: 14, weight: .semibold)).lineLimit(1).truncationMode(.tail)@@ -1901,7 +1901,7 @@ extension AIEnhancementSettingsView {self.isPromptProfilesHelpPresented.toggle()} label: {Image(systemName: "info.circle")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(self.theme.palette.secondaryText.opacity(0.78)).frame(width: 22, height: 22).contentShape(Circle())@@ -1970,10 +1970,10 @@ extension AIEnhancementSettingsView {return VStack(alignment: .leading, spacing: 14) {HStack(spacing: 8) {Image(systemName: "pencil.circle.fill")- .font(.system(size: 14))+ .font(.fluidSystem(size: 14)).foregroundStyle(self.theme.palette.accent)Text(onDone == nil ? "Edit Provider" : "Advanced settings")- .font(.system(size: 14, weight: .semibold))+ .font(.fluidSystem(size: 14, weight: .semibold))Spacer()}@@ -2000,7 +2000,7 @@ extension AIEnhancementSettingsView {.frame(width: 210)Text(self.settings.privateAIBackendPreference.detail)- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(.secondary).lineLimit(2)@@ -2014,10 +2014,10 @@ extension AIEnhancementSettingsView {HStack(alignment: .top, spacing: 5) {Image(systemName: "info.circle.fill")- .font(.system(size: 10, weight: .semibold))+ .font(.fluidSystem(size: 10, weight: .semibold)).padding(.top, 1)Text("\(self.privateAIContextCueText). Higher values help long transcripts but use more RAM.")- .font(.caption2)+ .font(.fluidSystem(.caption2)).lineLimit(2)}.foregroundStyle(.secondary)@@ -2041,7 +2041,7 @@ extension AIEnhancementSettingsView {Image(systemName: "arrow.counterclockwise")Text("Reset Verification")}- .font(.caption)+ .font(.fluidSystem(.caption))}.fluidCompactButton(foreground: .red, borderColor: .red.opacity(0.6)).disabled(isBusy)@@ -2056,7 +2056,7 @@ extension AIEnhancementSettingsView {Image(systemName: "trash")Text("Delete Model")}- .font(.caption)+ .font(.fluidSystem(.caption))}.fluidCompactButton(foreground: .red, borderColor: .red.opacity(0.6)).disabled(isBusy)@@ -2082,11 +2082,11 @@ extension AIEnhancementSettingsView {private func privateAISettingLabel(_ title: String, systemImage: String) -> some View {HStack(spacing: 7) {Image(systemName: systemImage)- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(.secondary).frame(width: 16)Text(title)- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(.secondary)}.frame(width: 110, alignment: .leading)@@ -2098,7 +2098,7 @@ extension AIEnhancementSettingsView {self.decreasePrivateAIContextTokenLimit()} label: {Image(systemName: "minus")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).frame(width: 32, height: AISettingsLayout.providerRowControlHeight).contentShape(Rectangle())}@@ -2106,11 +2106,11 @@ extension AIEnhancementSettingsView {.disabled(isBusy || self.settings.privateAIContextTokenLimit <= SettingsStore.privateAIContextTokenLimitRange.lowerBound)Text("\(self.settings.privateAIContextTokenLimit.formatted())")- .font(.system(size: 13, weight: .semibold, design: .monospaced))+ .font(.fluidSystem(size: 13, weight: .semibold, design: .monospaced)).frame(width: 74, height: AISettingsLayout.providerRowControlHeight)Text("tokens")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary).frame(width: 48, height: AISettingsLayout.providerRowControlHeight, alignment: .leading)@@ -2118,7 +2118,7 @@ extension AIEnhancementSettingsView {self.increasePrivateAIContextTokenLimit()} label: {Image(systemName: "plus")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).frame(width: 32, height: AISettingsLayout.providerRowControlHeight).contentShape(Rectangle())}@@ -2164,10 +2164,10 @@ extension AIEnhancementSettingsView {return VStack(alignment: .leading, spacing: 14) {HStack(spacing: 8) {Image(systemName: "pencil.circle.fill")- .font(.system(size: 14))+ .font(.fluidSystem(size: 14)).foregroundStyle(self.theme.palette.accent)Text("Edit Provider")- .font(.system(size: 14, weight: .semibold))+ .font(.fluidSystem(size: 14, weight: .semibold))Spacer()}@@ -2177,30 +2177,30 @@ extension AIEnhancementSettingsView {VStack(alignment: .leading, spacing: 6) {HStack(spacing: 6) {Image(systemName: "textformat")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)Text("Name")- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(.secondary)}TextField("Provider name", text: self.$viewModel.editProviderName).textFieldStyle(.roundedBorder)- .font(.system(size: 13))+ .font(.fluidSystem(size: 13))}.frame(maxWidth: 200)VStack(alignment: .leading, spacing: 6) {HStack(spacing: 6) {Image(systemName: "link")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)Text("Base URL")- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(.secondary)}TextField("e.g., http://localhost:11434/v1", text: self.$viewModel.editProviderBaseURL).textFieldStyle(.roundedBorder)- .font(.system(size: 13, design: .monospaced))+ .font(.fluidSystem(size: 13, design: .monospaced))}}}@@ -2208,16 +2208,16 @@ extension AIEnhancementSettingsView {VStack(alignment: .leading, spacing: 6) {HStack(spacing: 6) {Image(systemName: "key")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)Text("API Key")- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(.secondary)}HStack(alignment: .center, spacing: 8) {SecureField("Enter API key", text: apiKeyBinding).textFieldStyle(.roundedBorder)- .font(.system(size: 13))+ .font(.fluidSystem(size: 13)).frame(maxWidth: 200).onTapGesture {self.viewModel.ensureKeychainAccessForAPIKeyEdit()@@ -2228,9 +2228,9 @@ extension AIEnhancementSettingsView {Button(action: { NSWorkspace.shared.open(url) }) {HStack(spacing: 4) {Image(systemName: websiteInfo.label.contains("Guide") ? "book.fill" : "key.fill")- .font(.system(size: 10))+ .font(.fluidSystem(size: 10))Text(websiteInfo.label)- .font(.system(size: 11, weight: .medium))+ .font(.fluidSystem(size: 11, weight: .medium))}.padding(.horizontal, 10).padding(.vertical, 5)@@ -2257,7 +2257,7 @@ extension AIEnhancementSettingsView {}) {HStack(spacing: 6) {Image(systemName: "checkmark")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold))Text("Save")}}@@ -2291,7 +2291,7 @@ extension AIEnhancementSettingsView {Image(systemName: "trash")Text("Delete Provider")}- .font(.caption)+ .font(.fluidSystem(.caption))}.fluidCompactButton(foreground: .red, borderColor: .red.opacity(0.6))}@@ -2319,13 +2319,13 @@ extension AIEnhancementSettingsView {var appleIntelligenceBadge: some View {HStack(spacing: 8) {- Image(systemName: "apple.logo").font(.system(size: 14))+ Image(systemName: "apple.logo").font(.fluidSystem(size: 14))Text("On-Device").fontWeight(.medium)Text("•").foregroundStyle(.secondary)- Image(systemName: "lock.shield.fill").font(.system(size: 12))+ Image(systemName: "lock.shield.fill").font(.fluidSystem(size: 12))Text("Private").fontWeight(.medium)}- .font(.caption).foregroundStyle(Color.fluidGreen)+ .font(.fluidSystem(.caption)).foregroundStyle(Color.fluidGreen).padding(.horizontal, 12).padding(.vertical, 8).background(RoundedRectangle(cornerRadius: 8).fill(Color.fluidGreen.opacity(0.15)).overlay(RoundedRectangle(cornerRadius: 8).stroke(@@ -2337,7 +2337,7 @@ extension AIEnhancementSettingsView {var appleIntelligenceModelRow: some View {HStack(spacing: 12) {self.formLabel("Model:")- Text("System Language Model").foregroundStyle(.secondary).font(.system(.body))+ Text("System Language Model").foregroundStyle(.secondary).font(.fluidSystem(.body))Spacer()}}@@ -2358,7 +2358,7 @@ extension AIEnhancementSettingsView {if !ModelRepository.shared.isBuiltIn(self.viewModel.selectedProviderID) {Button(action: { self.viewModel.deleteSelectedModel() }) {- HStack(spacing: 4) { Image(systemName: "trash"); Text("Delete") }.font(.caption)+ HStack(spacing: 4) { Image(systemName: "trash"); Text("Delete") }.font(.fluidSystem(.caption))}.fluidCompactButton(foreground: .red, borderColor: .red.opacity(0.6)).frame(minWidth: AISettingsLayout.compactActionMinWidth, minHeight: AISettingsLayout.controlHeight)@@ -2378,7 +2378,7 @@ extension AIEnhancementSettingsView {Image(systemName: self.viewModel.hasReasoningConfigForCurrentModel() ? "brain.fill" : "brain")Text("Reasoning")}- .font(.caption)+ .font(.fluidSystem(.caption))}.fluidCompactButton(foreground: self.viewModel.hasReasoningConfigForCurrentModel() ? self.theme.palette.accent : nil,@@ -2419,15 +2419,15 @@ extension AIEnhancementSettingsView {VStack(alignment: .leading, spacing: 10) {HStack(spacing: 8) {Image(systemName: "brain.head.profile")- .font(.system(size: 14))+ .font(.fluidSystem(size: 14)).foregroundStyle(self.theme.palette.accent)Text("Reasoning for \(ModelDisplayName.forID(self.viewModel.selectedModel))")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(self.theme.palette.primaryText)Spacer()Button(action: { self.viewModel.showingReasoningConfig = false }) {Image(systemName: "xmark")- .font(.system(size: 10, weight: .medium))+ .font(.fluidSystem(size: 10, weight: .medium)).foregroundStyle(.secondary)}.buttonStyle(.plain)@@ -2439,7 +2439,7 @@ extension AIEnhancementSettingsView {.toggleStyle(.switch).controlSize(.small)Text(self.viewModel.editingReasoningEnabled ? "Enabled" : "Disabled")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(self.viewModel.editingReasoningEnabled ? self.theme.palette.accent : .secondary)}@@ -2448,7 +2448,7 @@ extension AIEnhancementSettingsView {// Parameter type pickerHStack(spacing: 12) {Text("Parameter")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary).frame(width: 70, alignment: .trailing)@@ -2495,12 +2495,12 @@ extension AIEnhancementSettingsView {{HStack(spacing: 12) {Text("Name")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary).frame(width: 70, alignment: .trailing)TextField("e.g., thinking_budget", text: self.$viewModel.editingReasoningParamName).textFieldStyle(.roundedBorder)- .font(.caption)+ .font(.fluidSystem(.caption)).frame(width: 140)}}@@ -2508,7 +2508,7 @@ extension AIEnhancementSettingsView {// Value picker/fieldHStack(spacing: 12) {Text("Value")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary).frame(width: 70, alignment: .trailing)@@ -2534,7 +2534,7 @@ extension AIEnhancementSettingsView {} else {TextField("value", text: self.$viewModel.editingReasoningParamValue).textFieldStyle(.roundedBorder)- .font(.caption)+ .font(.fluidSystem(.caption)).frame(width: 100)}}@@ -2545,14 +2545,14 @@ extension AIEnhancementSettingsView {HStack(spacing: 8) {Button(action: { self.saveReasoningConfig() }) {Text("Save")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold))}.fluidButton(.accent, size: .small).frame(minWidth: 60, minHeight: 26)Button("Cancel") { self.viewModel.showingReasoningConfig = false }.fluidButton(.compact, size: .compact)- .font(.system(size: 12))+ .font(.fluidSystem(size: 12)).frame(minWidth: 60, minHeight: 26)}}@@ -2580,7 +2580,7 @@ extension AIEnhancementSettingsView {HStack(spacing: 12) {Button(action: { Task { await self.viewModel.testAPIConnection() } }) {Text(self.viewModel.isTestingConnection ? "Verifying…" : (self.viewModel.isModelVerified(for: self.viewModel.selectedProviderID) ? "Model verified" : "Verify model"))- .font(.caption)+ .font(.fluidSystem(.caption)).fontWeight(.semibold)}.fluidCompactButton(isReady: true)@@ -2593,17 +2593,17 @@ extension AIEnhancementSettingsView {// Connection Status Displayif self.viewModel.isModelVerified(for: self.viewModel.selectedProviderID) {HStack(spacing: 8) {- Image(systemName: "checkmark.circle.fill").foregroundStyle(Color.fluidGreen).font(.caption)- Text("Model verified").font(.caption).foregroundStyle(Color.fluidGreen)+ Image(systemName: "checkmark.circle.fill").foregroundStyle(Color.fluidGreen).font(.fluidSystem(.caption))+ Text("Model verified").font(.fluidSystem(.caption)).foregroundStyle(Color.fluidGreen)}} else if self.viewModel.connectionStatus == .failed {HStack(spacing: 8) {- Image(systemName: "exclamationmark.circle.fill").foregroundStyle(.red).font(.caption)+ Image(systemName: "exclamationmark.circle.fill").foregroundStyle(.red).font(.fluidSystem(.caption))VStack(alignment: .leading, spacing: 2) {- Text("Connection failed").font(.caption).foregroundStyle(.red)+ Text("Connection failed").font(.fluidSystem(.caption)).foregroundStyle(.red)if !self.viewModel.connectionErrorMessage.isEmpty {Text(self.viewModel.connectionErrorMessage)- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(.red.opacity(0.8)).lineLimit(1)}@@ -2612,7 +2612,7 @@ extension AIEnhancementSettingsView {} else if self.viewModel.connectionStatus == .testing {HStack(spacing: 8) {ProgressView().frame(width: 16, height: 16)- Text("Verifying...").font(.caption).foregroundStyle(self.theme.palette.accent)+ Text("Verifying...").font(.fluidSystem(.caption)).foregroundStyle(self.theme.palette.accent)}}@@ -2628,7 +2628,7 @@ extension AIEnhancementSettingsView {HStack(spacing: 8) {Button(action: { self.viewModel.handleAPIKeyButtonTapped() }) {Label("Add or Modify API Key", systemImage: "key.fill")- .labelStyle(.titleAndIcon).font(.caption)+ .labelStyle(.titleAndIcon).font(.fluidSystem(.caption))}.fluidCompactButton(isReady: true).frame(minWidth: AISettingsLayout.primaryActionMinWidth, minHeight: AISettingsLayout.controlHeight)@@ -2638,7 +2638,7 @@ extension AIEnhancementSettingsView {{Button(action: { NSWorkspace.shared.open(url) }) {Label(websiteInfo.label, systemImage: websiteInfo.label.contains("Download") ? "arrow.down.circle.fill" : (websiteInfo.label.contains("Guide") ? "book.fill" : "link"))- .labelStyle(.titleAndIcon).font(.caption)+ .labelStyle(.titleAndIcon).font(.fluidSystem(.caption))}.fluidButton(.compact, size: .compact).frame(minWidth: AISettingsLayout.actionMinWidth, minHeight: AISettingsLayout.controlHeight)@@ -2649,7 +2649,7 @@ extension AIEnhancementSettingsView {var apiKeyEditorSheet: some View {VStack(spacing: 14) {Text("Enter \(self.viewModel.providerDisplayName(for: self.viewModel.selectedProviderID)) API Key")- .font(.headline)+ .font(.fluidSystem(.headline))SecureField("API Key (optional for local endpoints)", text: self.$viewModel.newProviderApiKey).textFieldStyle(.roundedBorder).frame(width: 300).onTapGesture {@@ -2683,39 +2683,39 @@ extension AIEnhancementSettingsView {VStack(alignment: .leading, spacing: 14) {HStack(spacing: 8) {Image(systemName: "plus.circle.fill")- .font(.system(size: 14))+ .font(.fluidSystem(size: 14)).foregroundStyle(self.theme.palette.accent)Text("Add Custom Provider")- .font(.system(size: 14, weight: .semibold))+ .font(.fluidSystem(size: 14, weight: .semibold))}VStack(alignment: .leading, spacing: 12) {VStack(alignment: .leading, spacing: 6) {HStack(spacing: 6) {Image(systemName: "link")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)Text("OpenAI-compatible base URL")- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(.secondary)}TextField("https://api.yourprovider.com/v1", text: self.$viewModel.newProviderBaseURL).textFieldStyle(.roundedBorder)- .font(.system(size: 13, design: .monospaced))+ .font(.fluidSystem(size: 13, design: .monospaced))}VStack(alignment: .leading, spacing: 6) {HStack(spacing: 6) {Image(systemName: "key")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)Text("API Key (optional for local endpoints)")- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(.secondary)}SecureField("Enter API key", text: self.$viewModel.newProviderApiKey).textFieldStyle(.roundedBorder)- .font(.system(size: 13))+ .font(.fluidSystem(size: 13)).onTapGesture {self.viewModel.ensureKeychainAccessForAPIKeyEdit()}@@ -2726,7 +2726,7 @@ extension AIEnhancementSettingsView {Button(action: { self.saveNewProvider() }) {HStack(spacing: 6) {Image(systemName: "checkmark")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold))Text("Save Provider")}}diff --git a/Sources/Fluid/UI/AISettingsView+AdvancedSettings.swift b/Sources/Fluid/UI/AISettingsView+AdvancedSettings.swiftindex fff0b211..fca11191 100644--- a/Sources/Fluid/UI/AISettingsView+AdvancedSettings.swift+++ b/Sources/Fluid/UI/AISettingsView+AdvancedSettings.swift@@ -41,7 +41,7 @@ extension AIEnhancementSettingsView {VStack(alignment: .leading, spacing: 12) {HStack(spacing: 9) {Image(systemName: "text.bubble.fill")- .font(.system(size: 13, weight: .semibold))+ .font(.fluidSystem(size: 13, weight: .semibold)).foregroundStyle(Color.fluidGreen).frame(width: 26, height: 26).background(@@ -55,10 +55,10 @@ extension AIEnhancementSettingsView {VStack(alignment: .leading, spacing: 2) {Text("Prompt Profiles")- .font(.system(size: 13, weight: .semibold))+ .font(.fluidSystem(size: 13, weight: .semibold)).foregroundStyle(self.theme.palette.primaryText)Text("Choose the prompt behavior for dictation.")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(self.theme.palette.secondaryText)}}@@ -82,7 +82,7 @@ extension AIEnhancementSettingsView {.padding(.top, 6)Text(text)- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(self.theme.palette.secondaryText).fixedSize(horizontal: false, vertical: true)}@@ -145,7 +145,7 @@ extension AIEnhancementSettingsView {onManage()} label: {Image(systemName: "slider.horizontal.3")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).frame(width: AISettingsLayout.providerRowControlHeight, height: AISettingsLayout.providerRowControlHeight)}.buttonStyle(SquareIconButtonStyle())@@ -158,7 +158,7 @@ extension AIEnhancementSettingsView {onDelete()} label: {Image(systemName: "trash")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).frame(width: AISettingsLayout.providerRowControlHeight, height: AISettingsLayout.providerRowControlHeight)}.buttonStyle(SquareIconButtonStyle(foreground: .red, borderColor: .red.opacity(0.5)))@@ -230,7 +230,7 @@ extension AIEnhancementSettingsView {)Image(systemName: symbol)- .font(.system(size: 13, weight: .semibold))+ .font(.fluidSystem(size: 13, weight: .semibold)).foregroundStyle(isSelected ? Color.fluidGreen : self.theme.palette.secondaryText)}.frame(width: 34, height: 34)@@ -249,7 +249,7 @@ extension AIEnhancementSettingsView {VStack(alignment: .leading, spacing: 5) {HStack(alignment: .firstTextBaseline, spacing: 8) {Text(title)- .font(.system(size: 14, weight: .semibold))+ .font(.fluidSystem(size: 14, weight: .semibold)).foregroundStyle(self.theme.palette.primaryText).lineLimit(1).truncationMode(.tail)@@ -266,7 +266,7 @@ extension AIEnhancementSettingsView {self.promptNoticeRow(notice)} else if !subtitle.isEmpty {Text(subtitle)- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(.secondary).lineLimit(1).truncationMode(.tail)@@ -341,12 +341,12 @@ extension AIEnhancementSettingsView {) -> some View {HStack(spacing: 5) {Image(systemName: systemImage)- .font(.system(size: 9, weight: .semibold))+ .font(.fluidSystem(size: 9, weight: .semibold))Text(text).lineLimit(1).truncationMode(.middle)}- .font(.caption2.weight(.semibold))+ .font(.fluidSystem(.caption2).weight(.semibold)).foregroundStyle(isGhost ? self.theme.palette.tertiaryText : tone).padding(.horizontal, 8).padding(.vertical, 4)@@ -364,9 +364,9 @@ extension AIEnhancementSettingsView {private func promptNoticeRow(_ text: String) -> some View {HStack(spacing: 5) {Image(systemName: "lock.fill")- .font(.system(size: 10, weight: .semibold))+ .font(.fluidSystem(size: 10, weight: .semibold))Text(text)- .font(.caption2.weight(.medium))+ .font(.fluidSystem(.caption2).weight(.medium)).lineLimit(1).truncationMode(.tail)}@@ -382,7 +382,7 @@ extension AIEnhancementSettingsView {) -> some View {if assignments == nil, isSelected {Text("Selected")- .font(.caption2)+ .font(.fluidSystem(.caption2)).fontWeight(.semibold).padding(.horizontal, 8).padding(.vertical, 3)@@ -392,7 +392,7 @@ extension AIEnhancementSettingsView {if mode.normalized == .edit {Text("Context: Auto")- .font(.caption2)+ .font(.fluidSystem(.caption2)).fontWeight(.semibold).padding(.horizontal, 8).padding(.vertical, 3)@@ -408,7 +408,7 @@ extension AIEnhancementSettingsView {isProminent: Bool) -> some View {Label(title, systemImage: systemImage)- .font(.caption2.weight(.semibold))+ .font(.fluidSystem(.caption2).weight(.semibold)).labelStyle(.titleAndIcon).lineLimit(1).padding(.horizontal, 7)@@ -710,26 +710,26 @@ extension AIEnhancementSettingsView {HStack(spacing: 6) {if isRecording {Image(systemName: "keyboard")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(.orange)Text("Press shortcut...")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(.orange).lineLimit(1)} else if let shortcut = self.promptEditorShortcutDraft {Image(systemName: "keyboard")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(self.theme.palette.secondaryText)Text(shortcut.displayString)- .font(.system(size: 12, weight: .semibold, design: .monospaced))+ .font(.fluidSystem(size: 12, weight: .semibold, design: .monospaced)).foregroundStyle(self.theme.palette.primaryText).lineLimit(1)} else {Image(systemName: "keyboard")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(self.theme.palette.tertiaryText)Text("None")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(self.theme.palette.tertiaryText)}Spacer(minLength: 4)@@ -750,7 +750,7 @@ extension AIEnhancementSettingsView {}} label: {Text(isRecording ? "Recording..." : "Change")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).lineLimit(1).frame(width: 70, height: AISettingsLayout.controlHeight)}@@ -769,7 +769,7 @@ extension AIEnhancementSettingsView {}} label: {Text("Clear")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).lineLimit(1).frame(width: 70, height: AISettingsLayout.controlHeight)}@@ -806,7 +806,7 @@ extension AIEnhancementSettingsView {} label: {HStack(spacing: 6) {Text(self.viewModel.providerDisplayName(for: self.promptEditorProviderIDDraft))- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(self.theme.palette.primaryText).lineLimit(1).truncationMode(.tail)@@ -866,10 +866,10 @@ extension AIEnhancementSettingsView {GridRow(alignment: .center) {VStack(alignment: .leading, spacing: 2) {Text(title)- .font(.system(size: 13, weight: .semibold))+ .font(.fluidSystem(size: 13, weight: .semibold)).foregroundStyle(self.theme.palette.primaryText)Text(description)- .font(.system(size: 11))+ .font(.fluidSystem(size: 11)).foregroundStyle(self.theme.palette.secondaryText).lineLimit(2).fixedSize(horizontal: false, vertical: true)@@ -974,9 +974,9 @@ extension AIEnhancementSettingsView {} label: {HStack(spacing: 7) {Image(systemName: self.modeSymbol(mode))- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold))Text(self.friendlyModeName(mode))- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold))}.foregroundStyle(isSelected ? tone : (isHovering ? self.theme.palette.primaryText : self.theme.palette.secondaryText)).frame(width: self.promptTabWidth(for: mode), height: 32)@@ -1023,7 +1023,7 @@ extension AIEnhancementSettingsView {? "Custom prompts only run in apps listed in App Overrides.": "Custom prompts run based on your shortcut or the app you're in.")- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(self.theme.palette.secondaryText).padding(.horizontal, 4).padding(.bottom, 2)@@ -1088,7 +1088,7 @@ extension AIEnhancementSettingsView {HStack {if mode.normalized == .dictate {Text("Default uses the main dictation shortcut. Add a custom shortcut only when a prompt needs one.")- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(self.theme.palette.secondaryText).lineLimit(1)}@@ -1131,7 +1131,7 @@ extension AIEnhancementSettingsView {self.viewModel.openNewPromptEditor(prefillMode: .dictate)} label: {Label("Add Prompt", systemImage: "plus")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).frame(minWidth: AISettingsLayout.actionMinWidth, minHeight: AISettingsLayout.controlHeight)}.fluidCompactButton(isReady: true, foreground: Color.fluidGreen, borderColor: Color.fluidGreen.opacity(0.5))@@ -1160,7 +1160,7 @@ extension AIEnhancementSettingsView {self.viewModel.setPromptRoutingScope(scope, for: mode)} label: {Text(title)- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(isSelected ? tone : (isHovering ? self.theme.palette.primaryText : self.theme.palette.secondaryText)).frame(width: scope == .allApps ? 72 : 132, height: 26).contentShape(RoundedRectangle(cornerRadius: cornerRadius, style: .continuous))@@ -1182,7 +1182,7 @@ extension AIEnhancementSettingsView {private func selectedAppsOnlySummary(mode: SettingsStore.PromptMode) -> some View {HStack(spacing: 8) {Image(systemName: "target")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(self.theme.palette.accent).frame(width: 18, height: 18)@@ -1191,7 +1191,7 @@ extension AIEnhancementSettingsView {? "No default enhancement. Add app overrides to use prompts in selected apps.": "Default edit stays built-in. App overrides can use custom prompts.")- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(self.theme.palette.secondaryText).lineLimit(1)@@ -1214,16 +1214,16 @@ extension AIEnhancementSettingsView {return HStack(alignment: .center, spacing: 10) {Text("Edit model")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(self.theme.palette.secondaryText)if verified.isEmpty {HStack(spacing: 8) {Image(systemName: "info.circle")- .font(.system(size: 12))+ .font(.fluidSystem(size: 12)).foregroundStyle(.secondary)Text("No verified AI provider")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary).lineLimit(1)}@@ -1233,7 +1233,7 @@ extension AIEnhancementSettingsView {Group {Toggle("Sync", isOn: self.editModeLinkedToGlobalBinding).toggleStyle(.checkbox)- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary).fixedSize(horizontal: true, vertical: false).onChange(of: self.settings.rewriteModeLinkedToGlobal) { _, linked in@@ -1245,7 +1245,7 @@ extension AIEnhancementSettingsView {}Text("Provider")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)Picker("", selection: self.editModeProviderBinding) {@@ -1259,7 +1259,7 @@ extension AIEnhancementSettingsView {.disabled(self.settings.rewriteModeLinkedToGlobal)Text("Model")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)SearchableModelPicker(@@ -1303,10 +1303,10 @@ extension AIEnhancementSettingsView {HStack(alignment: .center, spacing: 10) {Image(systemName: "app.dashed")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(self.theme.palette.secondaryText)Text("App Overrides")- .font(.system(size: 13, weight: .semibold))+ .font(.fluidSystem(size: 13, weight: .semibold)).foregroundStyle(self.theme.palette.secondaryText)Spacer(minLength: 8)@@ -1342,7 +1342,7 @@ extension AIEnhancementSettingsView {if bindings.isEmpty {Text("No app overrides yet. Add one to use a different prompt for a specific app.")- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(.secondary).padding(.horizontal, 4)} else {@@ -1375,11 +1375,11 @@ extension AIEnhancementSettingsView {VStack(alignment: .leading, spacing: 5) {Text(binding.appName)- .font(.system(size: 14, weight: .semibold))+ .font(.fluidSystem(size: 14, weight: .semibold)).foregroundStyle(self.theme.palette.primaryText).lineLimit(1)Text(binding.appBundleID)- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(.secondary).lineLimit(1)}@@ -1410,7 +1410,7 @@ extension AIEnhancementSettingsView {} label: {HStack(spacing: 6) {Text(self.viewModel.promptName(for: mode, promptID: binding.promptID))- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(self.theme.palette.primaryText).lineLimit(1).truncationMode(.tail)@@ -1432,7 +1432,7 @@ extension AIEnhancementSettingsView {self.viewModel.removeAppPromptBinding(binding)} label: {Image(systemName: "trash")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).frame(width: AISettingsLayout.providerRowControlHeight, height: AISettingsLayout.providerRowControlHeight)}.buttonStyle(SquareIconButtonStyle(foreground: .red, borderColor: .red.opacity(0.5)))@@ -1466,7 +1466,7 @@ extension AIEnhancementSettingsView {.clipShape(RoundedRectangle(cornerRadius: 5, style: .continuous))} else {Image(systemName: "app.dashed")- .font(.system(size: 15, weight: .semibold))+ .font(.fluidSystem(size: 15, weight: .semibold)).foregroundStyle(self.theme.palette.secondaryText).frame(width: 24, height: 24).background(@@ -1669,14 +1669,14 @@ extension AIEnhancementSettingsView {case .privateAI: return PrivateAIProviderFeature.displayName}}())- .font(.headline)+ .font(.fluidSystem(.headline))if mode.isPrivateAI {Text("Built-in system prompt. Only the shortcut can be customized.")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)} else if mode.isDefault {Text("This is the built-in prompt. Create a custom prompt to override it.")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)}}@@ -1690,7 +1690,7 @@ extension AIEnhancementSettingsView {if !mode.isPrivateAI {VStack(alignment: .leading, spacing: 8) {Text("Name")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)let isDefaultNameLocked = mode.isDefaultTextField("Prompt name", text: self.$viewModel.draftPromptName)@@ -1702,12 +1702,12 @@ extension AIEnhancementSettingsView {if !mode.isPrivateAI {VStack(alignment: .leading, spacing: 8) {Text("Prompt")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)PromptTextView(text: self.$viewModel.draftPromptText,isEditable: true,- font: NSFont.monospacedSystemFont(ofSize: NSFont.smallSystemFontSize, weight: .regular)+ font: NSFont.fluidMonospacedSystemFont(ofSize: NSFont.smallSystemFontSize, weight: .regular)).id(self.viewModel.promptEditorSessionID).frame(minHeight: 180)@@ -1734,15 +1734,15 @@ extension AIEnhancementSettingsView {if self.viewModel.draftPromptMode != .dictate {VStack(alignment: .leading, spacing: 8) {Text("Selected text is added automatically when text is selected.")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(self.theme.palette.secondaryText)Text("Context block added automatically:")- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(.secondary)Text(SettingsStore.contextTemplateText())- .font(.system(.caption2, design: .monospaced))+ .font(.fluidSystem(.caption2, design: .monospaced)).padding(8).frame(maxWidth: .infinity, alignment: .leading).background(@@ -1764,7 +1764,7 @@ extension AIEnhancementSettingsView {Image(systemName: "waveform").foregroundStyle(self.theme.palette.accent)Text("Test")- .font(.subheadline)+ .font(.fluidSystem(.subheadline)).fontWeight(.semibold)Spacer()}@@ -1791,18 +1791,18 @@ extension AIEnhancementSettingsView {})) {Text("Enable Test Mode (Hotkey: \(hotkeyDisplay))")- .font(.caption)+ .font(.fluidSystem(.caption))}.toggleStyle(.switch).disabled(!canTest)if !canTest {Text("Testing is disabled because AI post-processing is not configured.")- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(.secondary)} else if self.promptTest.isActive {Text("Press the hotkey to start/stop recording. The transcription will be post-processed using your draft prompt and shown below (nothing will be typed into other apps).")- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(.secondary)}@@ -1811,27 +1811,27 @@ extension AIEnhancementSettingsView {HStack(spacing: 8) {ProgressView().controlSize(.small).fixedSize()Text("Processing…")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)}}if !self.promptTest.lastError.isEmpty {Text(self.promptTest.lastError)- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(.red).textSelection(.enabled)}VStack(alignment: .leading, spacing: 6) {Text("Raw transcription")- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(.secondary)TextEditor(text: Binding(get: { self.promptTest.lastTranscriptionText },set: { _ in }))- .font(.system(.caption, design: .monospaced))+ .font(.fluidSystem(.caption, design: .monospaced)).frame(minHeight: 70).scrollContentBackground(.hidden).background(@@ -1846,13 +1846,13 @@ extension AIEnhancementSettingsView {VStack(alignment: .leading, spacing: 6) {Text("Post-processed output")- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(.secondary)TextEditor(text: Binding(get: { self.promptTest.lastOutputText },set: { _ in }))- .font(.system(.caption, design: .monospaced))+ .font(.fluidSystem(.caption, design: .monospaced)).frame(minHeight: 110).scrollContentBackground(.hidden).background(@@ -1877,7 +1877,7 @@ extension AIEnhancementSettingsView {)} else if self.promptTest.isActive {Text("Prompt test mode is available only for Dictate prompts.")- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(.secondary).onAppear { self.promptTest.deactivate() }}@@ -1967,16 +1967,16 @@ extension AIEnhancementSettingsView {private var baseDictationPromptReference: some View {VStack(alignment: .leading, spacing: 8) {Text("Built-in Base Prompt")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)Text("Reference only. Copy any parts you want into a custom prompt.")- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(self.theme.palette.secondaryText)PromptTextView(text: .constant(SettingsStore.baseDictationPromptText()),isEditable: false,- font: NSFont.monospacedSystemFont(ofSize: NSFont.smallSystemFontSize, weight: .regular)+ font: NSFont.fluidMonospacedSystemFont(ofSize: NSFont.smallSystemFontSize, weight: .regular)).frame(height: 110).background(diff --git a/Sources/Fluid/UI/AISettingsView+SpeechRecognition.swift b/Sources/Fluid/UI/AISettingsView+SpeechRecognition.swiftindex c55b5d2c..4eae2443 100644--- a/Sources/Fluid/UI/AISettingsView+SpeechRecognition.swift+++ b/Sources/Fluid/UI/AISettingsView+SpeechRecognition.swift@@ -24,10 +24,10 @@ extension VoiceEngineSettingsView {// HeaderHStack(spacing: 10) {Image(systemName: "waveform")- .font(.title2)+ .font(.fluidSystem(.title2)).foregroundStyle(self.theme.palette.accent)Text("Voice Engine")- .font(.title3)+ .font(.fluidSystem(.title3)).fontWeight(.semibold)Spacer()}@@ -172,12 +172,12 @@ extension VoiceEngineSettingsView {VStack(alignment: .leading, spacing: 4) {HStack {Text(model.humanReadableName)- .font(.system(size: 16, weight: .bold))+ .font(.fluidSystem(size: 16, weight: .bold)).foregroundStyle(self.theme.palette.primaryText)if let badge = model.badgeText {Text(badge)- .font(.caption2)+ .font(.fluidSystem(.caption2)).fontWeight(.semibold).padding(.horizontal, 6).padding(.vertical, 2)@@ -333,7 +333,7 @@ extension VoiceEngineSettingsView {HStack(spacing: 12) {HStack(spacing: 4) {Image(systemName: "bolt.fill")- .font(.system(size: 11))+ .font(.fluidSystem(size: 11)).foregroundStyle(.yellow)Text("Speed \(Int(model.speedPercent * 100))%").font(self.theme.typography.bodyStrong)@@ -342,7 +342,7 @@ extension VoiceEngineSettingsView {HStack(spacing: 4) {Image(systemName: "target")- .font(.system(size: 11))+ .font(.fluidSystem(size: 11)).foregroundStyle(Color.fluidGreen)Text("Acc \(Int(model.accuracyPercent * 100))%").font(self.theme.typography.bodyStrong)@@ -465,7 +465,7 @@ extension VoiceEngineSettingsView {self.viewModel.deleteSpeechModel(model)} label: {Image(systemName: "trash")- .font(.system(size: 15))+ .font(.fluidSystem(size: 15)).foregroundStyle(.red.opacity(0.7))}.buttonStyle(.plain)@@ -484,7 +484,7 @@ extension VoiceEngineSettingsView {self.viewModel.openExternalModelSource(for: model)} label: {Image(systemName: "arrow.up.right.square")- .font(.system(size: 14))+ .font(.fluidSystem(size: 14))}.buttonStyle(.plain).foregroundStyle(self.voiceEngineTertiaryText)@@ -689,7 +689,7 @@ extension VoiceEngineSettingsView {.lineLimit(1).fontWeight(.semibold)Image(systemName: "chevron.down")- .font(.system(size: 9, weight: .semibold))+ .font(.fluidSystem(size: 9, weight: .semibold)).foregroundStyle(self.voiceEngineTertiaryText)}.font(self.theme.typography.bodySmallStrong)@@ -869,7 +869,7 @@ extension VoiceEngineSettingsView {if model.usesAppleLogo {Image(systemName: "apple.logo")- .font(.system(size: 14, weight: .medium))+ .font(.fluidSystem(size: 14, weight: .medium)).foregroundStyle(.primary)} else if let imageName {Image(imageName)@@ -879,7 +879,7 @@ extension VoiceEngineSettingsView {.frame(width: isNvidia ? 24 : 18, height: isNvidia ? 24 : 18)} else {Text(String(model.brandName.prefix(2)).uppercased())- .font(.system(size: 10, weight: .bold, design: .rounded))+ .font(.fluidSystem(size: 10, weight: .bold, design: .rounded)).foregroundStyle(self.theme.palette.primaryText)}}diff --git a/Sources/Fluid/UI/AnalyticsPrivacyView.swift b/Sources/Fluid/UI/AnalyticsPrivacyView.swiftindex f9ecb0ff..2e221fcd 100644--- a/Sources/Fluid/UI/AnalyticsPrivacyView.swift+++ b/Sources/Fluid/UI/AnalyticsPrivacyView.swift@@ -9,9 +9,9 @@ struct AnalyticsPrivacyView: View {HStack {VStack(alignment: .leading, spacing: 2) {Text("Anonymous Analytics")- .font(.system(size: 18, weight: .semibold))+ .font(.fluidSystem(size: 18, weight: .semibold))Text("Daily activity and optional detailed analytics")- .font(.system(size: 12))+ .font(.fluidSystem(size: 12)).foregroundStyle(.secondary)}@@ -67,7 +67,7 @@ struct AnalyticsPrivacyView: View {private var contactInfoView: some View {Text(self.contactInfoText)- .font(.system(size: 13))+ .font(.fluidSystem(size: 13)).foregroundStyle(.primary).padding(12).background(@@ -100,7 +100,7 @@ struct AnalyticsPrivacyView: View {private func sectionTitle(_ text: String) -> some View {Text(text)- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(self.theme.palette.accent).padding(.top, 4)}@@ -110,7 +110,7 @@ struct AnalyticsPrivacyView: View {Text("•").foregroundStyle(.secondary)Text(text)- .font(.system(size: 13))+ .font(.fluidSystem(size: 13)).foregroundStyle(.primary)Spacer(minLength: 0)}diff --git a/Sources/Fluid/UI/ChangelogView.swift b/Sources/Fluid/UI/ChangelogView.swiftindex 32335c37..09d33ebc 100644--- a/Sources/Fluid/UI/ChangelogView.swift+++ b/Sources/Fluid/UI/ChangelogView.swift@@ -47,12 +47,12 @@ struct ChangelogView: View {VStack(alignment: .leading, spacing: self.theme.metrics.spacing.sm) {HStack(spacing: self.theme.metrics.spacing.md) {Image(systemName: "doc.text.magnifyingglass")- .font(.system(size: 30, weight: .semibold))+ .font(.fluidSystem(size: 30, weight: .semibold)).foregroundStyle(self.theme.palette.accent)VStack(alignment: .leading, spacing: 3) {Text("Change logs")- .font(.system(size: 28, weight: .bold))+ .font(.fluidSystem(size: 28, weight: .bold)).foregroundStyle(self.theme.palette.primaryText)}diff --git a/Sources/Fluid/UI/CustomDictionaryView.swift b/Sources/Fluid/UI/CustomDictionaryView.swiftindex 434c62f4..fd33d8a8 100644--- a/Sources/Fluid/UI/CustomDictionaryView.swift+++ b/Sources/Fluid/UI/CustomDictionaryView.swift@@ -371,7 +371,7 @@ struct CustomDictionaryView: View {)Image(systemName: systemName)- .font(.system(size: 15, weight: .semibold))+ .font(.fluidSystem(size: 15, weight: .semibold)).foregroundStyle(self.theme.palette.accent)}.frame(width: 34, height: 34)@@ -944,7 +944,7 @@ struct CustomDictionaryView: View {self.closeYourDictionary()} label: {Image(systemName: "xmark")- .font(.system(size: 11, weight: .bold))+ .font(.fluidSystem(size: 11, weight: .bold)).frame(width: 28, height: 28)}.buttonStyle(SquareIconButtonStyle())@@ -986,7 +986,7 @@ struct CustomDictionaryView: View {.foregroundStyle(self.theme.palette.secondaryText)} icon: {Image(systemName: "info.circle")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(self.theme.palette.accent)}.padding(self.theme.metrics.spacing.md)@@ -1081,7 +1081,7 @@ struct CustomDictionaryView: View {self.closeCustomWords()} label: {Image(systemName: "xmark")- .font(.system(size: 11, weight: .bold))+ .font(.fluidSystem(size: 11, weight: .bold)).frame(width: 28, height: 28)}.buttonStyle(SquareIconButtonStyle())@@ -1232,7 +1232,7 @@ struct CustomDictionaryView: View {}} label: {Image(systemName: "info.circle")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).frame(width: 28, height: 28)}.buttonStyle(SquareIconButtonStyle())@@ -1251,7 +1251,7 @@ struct CustomDictionaryView: View {self.closePunctuationDictionary()} label: {Image(systemName: "xmark")- .font(.system(size: 11, weight: .bold))+ .font(.fluidSystem(size: 11, weight: .bold)).frame(width: 28, height: 28)}.buttonStyle(SquareIconButtonStyle())@@ -1441,7 +1441,7 @@ struct CustomDictionaryView: View {let rule = self.formattingActionRule(for: action)return HStack(spacing: self.theme.metrics.spacing.md) {Text(action.displaySymbol)- .font(.system(size: 18, weight: .semibold, design: .rounded))+ .font(.fluidSystem(size: 18, weight: .semibold, design: .rounded)).foregroundStyle(self.theme.palette.accent).frame(width: 32, height: 32).background(@@ -1670,7 +1670,7 @@ struct CustomDictionaryView: View {) -> some View {HStack(spacing: self.theme.metrics.spacing.sm) {Image(systemName: "plus.circle")- .font(.title3)+ .font(.fluidSystem(.title3)).foregroundStyle(self.theme.palette.tertiaryText)VStack(alignment: .leading, spacing: 2) {@@ -2777,7 +2777,7 @@ private struct DictionaryComposerModeTab: View {Button(action: self.action) {HStack(spacing: self.theme.metrics.spacing.sm) {Image(systemName: self.mode.systemImage)- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold))Text(self.mode.title).font(self.theme.typography.bodySmallStrong)}@@ -3022,7 +3022,7 @@ private struct ReplacementConfirmationToast: View {.frame(width: 58, height: 58)Image(systemName: "checkmark")- .font(.system(size: 25, weight: .bold))+ .font(.fluidSystem(size: 25, weight: .bold)).foregroundStyle(self.theme.palette.accent)}@@ -3129,7 +3129,7 @@ private struct TrainingVariantChip: View {Button(action: self.onDelete) {Image(systemName: "xmark.circle.fill")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(self.theme.palette.tertiaryText)}.buttonStyle(.plain)@@ -3239,7 +3239,7 @@ struct BoostTermRow: View {self.onEdit()} label: {Image(systemName: "slider.horizontal.3")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).frame(width: 32, height: 32)}.buttonStyle(SquareIconButtonStyle())@@ -3249,7 +3249,7 @@ struct BoostTermRow: View {self.onDelete()} label: {Image(systemName: "trash")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).frame(width: 32, height: 32)}.buttonStyle(SquareIconButtonStyle(foreground: .red, borderColor: .red))@@ -3305,7 +3305,7 @@ struct DictionaryEntryRow: View {self.onEdit()} label: {Image(systemName: "slider.horizontal.3")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).frame(width: 32, height: 32)}.buttonStyle(SquareIconButtonStyle())@@ -3315,7 +3315,7 @@ struct DictionaryEntryRow: View {self.onDelete()} label: {Image(systemName: "trash")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).frame(width: 32, height: 32)}.buttonStyle(SquareIconButtonStyle(foreground: .red, borderColor: .red))@@ -3366,7 +3366,7 @@ private struct PunctuationDictionaryRuleRow: View {self.onEdit()} label: {Image(systemName: "slider.horizontal.3")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).frame(width: 32, height: 32)}.buttonStyle(SquareIconButtonStyle())@@ -3376,7 +3376,7 @@ private struct PunctuationDictionaryRuleRow: View {self.onDelete()} label: {Image(systemName: "trash")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).frame(width: 32, height: 32)}.buttonStyle(SquareIconButtonStyle(foreground: .red, borderColor: .red))@@ -3423,7 +3423,7 @@ struct AddDictionaryEntrySheet: View {// HeaderHStack {Text("Add Dictionary Entry")- .font(.headline)+ .font(.fluidSystem(.headline))Spacer()Button("Cancel") { self.dismiss() }.buttonStyle(.bordered)@@ -3434,12 +3434,12 @@ struct AddDictionaryEntrySheet: View {// Triggers inputVStack(alignment: .leading, spacing: 6) {Text("Misheard Words (triggers)")- .font(.subheadline.weight(.medium))+ .font(.fluidSystem(.subheadline).weight(.medium))Text("Add one version per line. Commas can be saved too.")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)TextEditor(text: self.$triggersText)- .font(.body)+ .font(.fluidSystem(.body)).frame(minHeight: 54, maxHeight: 76).scrollContentBackground(.hidden).dictionaryInputChrome(minHeight: 54)@@ -3452,16 +3452,16 @@ struct AddDictionaryEntrySheet: View {Text("Duplicate triggers: \(self.duplicateTriggers.joined(separator: ", "))").foregroundStyle(.orange)}- .font(.caption)+ .font(.fluidSystem(.caption))}}// Replacement inputVStack(alignment: .leading, spacing: 6) {Text("Correct Spelling (replacement)")- .font(.subheadline.weight(.medium))+ .font(.fluidSystem(.subheadline).weight(.medium))Text("This is what will appear in the final transcription.")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)TextField("FluidVoice", text: self.$replacement).dictionaryInputChrome()@@ -3474,13 +3474,13 @@ struct AddDictionaryEntrySheet: View {if !self.triggersText.isEmpty && !self.replacement.isEmpty {VStack(alignment: .leading, spacing: 4) {Text("Preview")- .font(.caption.weight(.medium))+ .font(.fluidSystem(.caption).weight(.medium)).foregroundStyle(.secondary)FlowLayout(spacing: 6) {ForEach(self.parseTriggers(), id: \.self) { trigger inText(trigger)- .font(.caption)+ .font(.fluidSystem(.caption)).padding(.horizontal, 6).padding(.vertical, 3).background(@@ -3493,11 +3493,11 @@ struct AddDictionaryEntrySheet: View {}Image(systemName: "arrow.right")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.tertiary)Text(self.replacement)- .font(.caption.weight(.medium))+ .font(.fluidSystem(.caption).weight(.medium)).foregroundStyle(self.theme.palette.accent)}}@@ -3575,7 +3575,7 @@ struct EditDictionaryEntrySheet: View {// HeaderHStack {Text("Edit Dictionary Entry")- .font(.headline)+ .font(.fluidSystem(.headline))Spacer()Button("Cancel") { self.dismiss() }.buttonStyle(.bordered)@@ -3586,12 +3586,12 @@ struct EditDictionaryEntrySheet: View {// Triggers inputVStack(alignment: .leading, spacing: 6) {Text("Misheard Words (triggers)")- .font(.subheadline.weight(.medium))+ .font(.fluidSystem(.subheadline).weight(.medium))Text("Add one version per line. Commas can be saved too.")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)TextEditor(text: self.$triggersText)- .font(.body)+ .font(.fluidSystem(.body)).frame(minHeight: 54, maxHeight: 76).scrollContentBackground(.hidden).dictionaryInputChrome(minHeight: 54)@@ -3604,16 +3604,16 @@ struct EditDictionaryEntrySheet: View {Text("Duplicate triggers: \(self.duplicateTriggers.joined(separator: ", "))").foregroundStyle(.orange)}- .font(.caption)+ .font(.fluidSystem(.caption))}}// Replacement inputVStack(alignment: .leading, spacing: 6) {Text("Correct Spelling (replacement)")- .font(.subheadline.weight(.medium))+ .font(.fluidSystem(.subheadline).weight(.medium))Text("This is what will appear in the final transcription.")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)TextField("FluidVoice", text: self.$replacement).dictionaryInputChrome()@@ -3626,13 +3626,13 @@ struct EditDictionaryEntrySheet: View {if !self.triggersText.isEmpty && !self.replacement.isEmpty {VStack(alignment: .leading, spacing: 4) {Text("Preview")- .font(.caption.weight(.medium))+ .font(.fluidSystem(.caption).weight(.medium)).foregroundStyle(.secondary)FlowLayout(spacing: 6) {ForEach(self.parseTriggers(), id: \.self) { trigger inText(trigger)- .font(.caption)+ .font(.fluidSystem(.caption)).padding(.horizontal, 6).padding(.vertical, 3).background(@@ -3645,13 +3645,13 @@ struct EditDictionaryEntrySheet: View {}Image(systemName: "arrow.right")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.tertiary)Text(CustomDictionaryManualEntry.replacementDisplayText(CustomDictionaryManualEntry.sanitizedReplacement(self.replacement)))- .font(.caption.weight(.medium))+ .font(.fluidSystem(.caption).weight(.medium)).foregroundStyle(self.theme.palette.accent)}}diff --git a/Sources/Fluid/UI/FeedbackView.swift b/Sources/Fluid/UI/FeedbackView.swiftindex 6e143a01..068f5642 100644--- a/Sources/Fluid/UI/FeedbackView.swift+++ b/Sources/Fluid/UI/FeedbackView.swift@@ -30,13 +30,13 @@ struct FeedbackView: View {VStack(alignment: .leading, spacing: 8) {HStack {Image(systemName: "envelope.fill")- .font(.system(size: 32))+ .font(.fluidSystem(size: 32)).foregroundStyle(self.theme.palette.accent)VStack(alignment: .leading) {Text("Send Feedback")- .font(.system(size: 28, weight: .bold))+ .font(.fluidSystem(size: 28, weight: .bold))Text("Help us improve FluidVoice")- .font(.system(size: 16))+ .font(.fluidSystem(size: 16)).foregroundStyle(.secondary)}}@@ -48,16 +48,16 @@ struct FeedbackView: View {VStack(alignment: .leading, spacing: 12) {HStack(spacing: 12) {Image(systemName: "heart.fill")- .font(.system(size: 28))+ .font(.fluidSystem(size: 28)).foregroundStyle(.pink)VStack(alignment: .leading, spacing: 4) {Text("We'd love to hear from you!")- .font(.system(size: 18, weight: .semibold))+ .font(.fluidSystem(size: 18, weight: .semibold)).foregroundStyle(self.theme.palette.primaryText)Text("Your feedback helps us make FluidVoice even better")- .font(.system(size: 14))+ .font(.fluidSystem(size: 14)).foregroundStyle(self.theme.palette.secondaryText)}}@@ -67,16 +67,16 @@ struct FeedbackView: View {HStack(spacing: 12) {Image(systemName: "star.fill")- .font(.system(size: 24))+ .font(.fluidSystem(size: 24)).foregroundStyle(.yellow)VStack(alignment: .leading, spacing: 6) {Text("Loving FluidVoice?")- .font(.system(size: 16, weight: .semibold))+ .font(.fluidSystem(size: 16, weight: .semibold)).foregroundStyle(self.theme.palette.primaryText)Text("Give us a star on GitHub, or support continued free development to help make local dictation even better.")- .font(.system(size: 13))+ .font(.fluidSystem(size: 13)).foregroundStyle(self.theme.palette.secondaryText).fixedSize(horizontal: false, vertical: true)}@@ -91,7 +91,7 @@ struct FeedbackView: View {Text("Star on GitHub").fontWeight(.semibold)}- .font(.system(size: 14))+ .font(.fluidSystem(size: 14)).padding(.horizontal, 20).padding(.vertical, 10)}@@ -106,7 +106,7 @@ struct FeedbackView: View {Text("Support FluidVoice").fontWeight(.semibold)}- .font(.system(size: 14))+ .font(.fluidSystem(size: 14)).padding(.horizontal, 20).padding(.vertical, 10)}@@ -125,20 +125,20 @@ struct FeedbackView: View {VStack(alignment: .leading, spacing: 16) {VStack(alignment: .leading, spacing: 12) {Text("Email")- .font(.headline)+ .font(.fluidSystem(.headline)).fontWeight(.semibold)TextField("[email protected]", text: self.$feedbackEmail).textFieldStyle(.roundedBorder)- .font(.system(size: 14))+ .font(.fluidSystem(size: 14))Text("Feedback")- .font(.headline)+ .font(.fluidSystem(.headline)).fontWeight(.semibold).padding(.top, 8)TextEditor(text: self.$feedbackText)- .font(.system(size: 14))+ .font(.fluidSystem(size: 14)).frame(height: 120).padding(12).background(RoundedRectangle(cornerRadius: 8)@@ -150,7 +150,7 @@ struct FeedbackView: View {Group {if self.feedbackText.isEmpty {Text("Share your thoughts, report bugs, or suggest features...")- .font(.subheadline)+ .font(.fluidSystem(.subheadline)).foregroundStyle(.secondary).padding(.leading, 4)}diff --git a/Sources/Fluid/UI/FluidIcon.swift b/Sources/Fluid/UI/FluidIcon.swiftindex e1d3d55c..91d82962 100644--- a/Sources/Fluid/UI/FluidIcon.swift+++ b/Sources/Fluid/UI/FluidIcon.swift@@ -202,7 +202,7 @@ struct FluidIconAdvanced: View {#Preview("Fluid Icon Variants") {VStack(spacing: 20) {Text("Standard Geometric F")- .font(.headline)+ .font(.fluidSystem(.headline))HStack(spacing: 20) {FluidIcon(size: 24, color: .white)@@ -214,7 +214,7 @@ struct FluidIconAdvanced: View {}Text("Advanced Angular F")- .font(.headline)+ .font(.fluidSystem(.headline))HStack(spacing: 20) {FluidIconAdvanced(size: 24, color: .white)diff --git a/Sources/Fluid/UI/HistoryInlineAudioView.swift b/Sources/Fluid/UI/HistoryInlineAudioView.swiftindex 9273f1b0..7933d871 100644--- a/Sources/Fluid/UI/HistoryInlineAudioView.swift+++ b/Sources/Fluid/UI/HistoryInlineAudioView.swift@@ -18,7 +18,7 @@ struct HistoryInlineAudioView: View {Text("Recording").font(self.theme.typography.bodyStrong).foregroundStyle(.secondary)if let errorMessage {Label(errorMessage, systemImage: "exclamationmark.triangle")- .font(.callout).foregroundStyle(.secondary)+ .font(.fluidSystem(.callout)).foregroundStyle(.secondary)} else if let player {HStack(spacing: 12) {Button {diff --git a/Sources/Fluid/UI/MeetingTranscriptionView.swift b/Sources/Fluid/UI/MeetingTranscriptionView.swiftindex 65dadf6c..3705fc3a 100644--- a/Sources/Fluid/UI/MeetingTranscriptionView.swift+++ b/Sources/Fluid/UI/MeetingTranscriptionView.swift@@ -44,15 +44,15 @@ struct MeetingTranscriptionView: View {// HeaderVStack(spacing: 8) {Image(systemName: "waveform.circle.fill")- .font(.system(size: 48))+ .font(.fluidSystem(size: 48)).foregroundStyle(Color.fluidGreen.gradient)Text("Meeting Transcription")- .font(.title2)+ .font(.fluidSystem(.title2)).fontWeight(.semibold)Text("Choose an audio or video file to transcribe")- .font(.subheadline)+ .font(.fluidSystem(.subheadline)).foregroundColor(.secondary)}.padding(.top, 40)@@ -99,7 +99,7 @@ struct MeetingTranscriptionView: View {.overlay(alignment: .topTrailing) {if self.showingCopyConfirmation {Text("Copied!")- .font(.caption)+ .font(.fluidSystem(.caption)).padding(.horizontal, 12).padding(.vertical, 6).background(Color.fluidGreen.opacity(0.9))@@ -137,15 +137,15 @@ struct MeetingTranscriptionView: View {// Show selected fileHStack {Image(systemName: "doc.fill")- .font(.title2)+ .font(.fluidSystem(.title2)).foregroundColor(Color.fluidGreen)VStack(alignment: .leading, spacing: 4) {Text(fileURL.lastPathComponent)- .font(.headline)+ .font(.fluidSystem(.headline))Text(self.formatFileSize(fileURL: fileURL))- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundColor(.secondary)}@@ -176,12 +176,12 @@ struct MeetingTranscriptionView: View {Toggle(isOn: self.$settings.fileTranscriptionSpeakerLabelsEnabled) {VStack(alignment: .leading, spacing: 2) {Text("Label speakers")- .font(.subheadline)+ .font(.fluidSystem(.subheadline))Text(self.selectedFileIsVideo? "Available for audio files only": "Identify who said what (downloads speaker models on first use)")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundColor(.secondary)}}@@ -191,7 +191,7 @@ struct MeetingTranscriptionView: View {if self.settings.fileTranscriptionSpeakerLabelsEnabled, !self.selectedFileIsVideo {HStack {Text("Number of speakers")- .font(.subheadline)+ .font(.fluidSystem(.subheadline))Spacer()@@ -241,13 +241,13 @@ struct MeetingTranscriptionView: View {}) {VStack(spacing: 12) {Image(systemName: "arrow.up.doc.fill")- .font(.system(size: 32))+ .font(.fluidSystem(size: 32))Text("Drag and drop a file here, or click to open")- .font(.headline)+ .font(.fluidSystem(.headline))Text(MeetingTranscriptionService.supportedFormatsDescription)- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundColor(.secondary)}.frame(maxWidth: .infinity)@@ -303,7 +303,7 @@ struct MeetingTranscriptionView: View {.fixedSize()Text(self.transcriptionService.currentStatus)- .font(.subheadline)+ .font(.fluidSystem(.subheadline)).foregroundColor(.secondary)}}@@ -326,7 +326,7 @@ struct MeetingTranscriptionView: View {HStack {VStack(alignment: .leading, spacing: 4) {Text("Transcription Complete")- .font(.headline)+ .font(.fluidSystem(.headline))HStack(spacing: 16) {Label("\(String(format: "%.1f", result.duration))s", systemImage: "clock")@@ -336,7 +336,7 @@ struct MeetingTranscriptionView: View {systemImage: "speedometer")}- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundColor(.secondary)}@@ -364,7 +364,7 @@ struct MeetingTranscriptionView: View {if let notice = result.speakerLabelingNotice ?? transcriptionService.fallbackNotice {Label(notice, systemImage: "exclamationmark.triangle.fill")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundColor(.secondary)}@@ -378,17 +378,17 @@ struct MeetingTranscriptionView: View {VStack(alignment: .leading, spacing: 2) {HStack(spacing: 6) {Text(segment.speaker)- .font(.caption)+ .font(.fluidSystem(.caption)).fontWeight(.semibold).foregroundColor(Color.fluidGreen)Text(segment.timestampText)- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundColor(.secondary)}Text(segment.text)- .font(.body)+ .font(.fluidSystem(.body)).textSelection(.enabled)}}@@ -397,7 +397,7 @@ struct MeetingTranscriptionView: View {.padding()} else {Text(result.text)- .font(.body)+ .font(.fluidSystem(.body)).textSelection(.enabled).frame(maxWidth: .infinity, alignment: .leading).padding()@@ -430,7 +430,7 @@ struct MeetingTranscriptionView: View {VStack(alignment: .leading, spacing: 16) {HStack {Text("Recent transcriptions")- .font(.headline)+ .font(.fluidSystem(.headline))Spacer()if !self.fileHistoryStore.entries.isEmpty {Button("Clear all") {@@ -438,7 +438,7 @@ struct MeetingTranscriptionView: View {}.buttonStyle(.plain).foregroundColor(.secondary)- .font(.caption)+ .font(.fluidSystem(.caption))}}@@ -461,19 +461,19 @@ struct MeetingTranscriptionView: View {}) {HStack {Image(systemName: "doc.text.fill")- .font(.body)+ .font(.fluidSystem(.body)).foregroundColor(Color.fluidGreen).frame(width: 24)VStack(alignment: .leading, spacing: 2) {Text(entry.fileName)- .font(.system(size: 14, weight: .medium))+ .font(.fluidSystem(size: 14, weight: .medium)).lineLimit(1)Text(entry.relativeTimeString)- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundColor(.secondary)Text(entry.previewText)- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundColor(.secondary).lineLimit(1)}@@ -504,13 +504,13 @@ struct MeetingTranscriptionView: View {HStack {VStack(alignment: .leading, spacing: 4) {Text("From history")- .font(.headline)+ .font(.fluidSystem(.headline))HStack(spacing: 16) {Label("\(String(format: "%.1f", entry.duration))s", systemImage: "clock")Label("\(String(format: "%.0f%%", entry.confidence * 100))", systemImage: "checkmark.circle")Label(entry.fullDateString, systemImage: "calendar")}- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundColor(.secondary)}Spacer()@@ -537,13 +537,13 @@ struct MeetingTranscriptionView: View {}if let notice = entry.speakerLabelingNotice {Label(notice, systemImage: "exclamationmark.triangle.fill")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundColor(.secondary)}Divider()ScrollView {Text(entry.text)- .font(.body)+ .font(.fluidSystem(.body)).textSelection(.enabled).frame(maxWidth: .infinity, alignment: .leading).padding()@@ -577,7 +577,7 @@ struct MeetingTranscriptionView: View {.foregroundColor(.red)Text(error)- .font(.subheadline)+ .font(.fluidSystem(.subheadline))Spacer()@@ -605,7 +605,7 @@ struct MeetingTranscriptionView: View {.foregroundColor(.red)Text(message)- .font(.subheadline)+ .font(.fluidSystem(.subheadline))Spacer()diff --git a/Sources/Fluid/UI/OnboardingAIEnhancementStepView.swift b/Sources/Fluid/UI/OnboardingAIEnhancementStepView.swiftindex 1790bd49..79f32ac5 100644--- a/Sources/Fluid/UI/OnboardingAIEnhancementStepView.swift+++ b/Sources/Fluid/UI/OnboardingAIEnhancementStepView.swift@@ -281,7 +281,7 @@ struct OnboardingAIEnhancementStepView: View {.padding(.bottom, 18)Text("One more thing...")- .font(.system(size: 32, weight: .semibold))+ .font(.fluidSystem(size: 32, weight: .semibold)).foregroundStyle(.white).multilineTextAlignment(.center).lineLimit(1)@@ -290,7 +290,7 @@ struct OnboardingAIEnhancementStepView: View {.padding(.bottom, 10)Text(self.setupSubtitleText)- .font(.system(size: 15, weight: .medium))+ .font(.fluidSystem(size: 15, weight: .medium)).foregroundStyle(Color.white.opacity(0.64)).multilineTextAlignment(.center).lineLimit(2)@@ -306,7 +306,7 @@ struct OnboardingAIEnhancementStepView: View {.padding(.bottom, 18)Text(self.setupQuestionText)- .font(.system(size: 17, weight: .semibold))+ .font(.fluidSystem(size: 17, weight: .semibold)).foregroundStyle(.white.opacity(0.92)).padding(.bottom, 12)@@ -315,7 +315,7 @@ struct OnboardingAIEnhancementStepView: View {.padding(.bottom, 12)Text(self.setupFootnoteText)- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(Color.white.opacity(0.46))}.frame(maxWidth: .infinity)@@ -347,14 +347,14 @@ struct OnboardingAIEnhancementStepView: View {VStack(spacing: 8) {Text("Let's polish your text.")- .font(.system(size: 32, weight: .semibold))+ .font(.fluidSystem(size: 32, weight: .semibold)).foregroundStyle(.white).multilineTextAlignment(.center).lineLimit(1).minimumScaleFactor(0.74)Text("Choose an example, press \(self.shortcutDisplay), then dictate it naturally.")- .font(.system(size: 15, weight: .medium))+ .font(.fluidSystem(size: 15, weight: .medium)).foregroundStyle(Color.white.opacity(0.62)).multilineTextAlignment(.center).lineLimit(2)@@ -370,7 +370,7 @@ struct OnboardingAIEnhancementStepView: View {.padding(.bottom, 12)Text(self.isTestReady ? "Looks good. Finish setup when you're ready." : "The polished result will appear on the selected row.")- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(Color.white.opacity(0.46)).multilineTextAlignment(.center).lineLimit(1)@@ -386,7 +386,7 @@ struct OnboardingAIEnhancementStepView: View {private func exampleGridHeader(leftTitle: String, rightTitle: String) -> some View {HStack(spacing: ExampleGridMetrics.columnSpacing) {Text(leftTitle)- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(Color.white.opacity(0.48)).frame(maxWidth: .infinity, alignment: .center)@@ -394,7 +394,7 @@ struct OnboardingAIEnhancementStepView: View {.frame(width: ExampleGridMetrics.arrowSize, height: 1)Text(rightTitle)- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(FluidOnboardingLandingColors.blue.opacity(0.84)).frame(maxWidth: .infinity, alignment: .center)}@@ -415,7 +415,7 @@ struct OnboardingAIEnhancementStepView: View {HStack(alignment: .center, spacing: ExampleGridMetrics.columnSpacing) {HStack(spacing: ExampleGridMetrics.columnSpacing) {Image(systemName: "mic.fill")- .font(.system(size: 14, weight: .semibold))+ .font(.fluidSystem(size: 14, weight: .semibold)).foregroundStyle(FluidOnboardingLandingColors.blue).frame(width: ExampleGridMetrics.iconSize, height: ExampleGridMetrics.iconSize).background(@@ -428,7 +428,7 @@ struct OnboardingAIEnhancementStepView: View {)Text(example.raw)- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(Color.white.opacity(0.52)).lineLimit(4).minimumScaleFactor(0.80)@@ -461,7 +461,7 @@ struct OnboardingAIEnhancementStepView: View {)Image(systemName: "arrow.right")- .font(.system(size: 13, weight: .bold))+ .font(.fluidSystem(size: 13, weight: .bold)).foregroundStyle(.white.opacity(0.80)).frame(width: ExampleGridMetrics.arrowSize, height: ExampleGridMetrics.arrowSize).background(@@ -504,7 +504,7 @@ struct OnboardingAIEnhancementStepView: View {return ZStack(alignment: .topLeading) {Text(example.polished)- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(Color.white.opacity(0.84)).lineLimit(5).minimumScaleFactor(0.80)@@ -541,7 +541,7 @@ struct OnboardingAIEnhancementStepView: View {} label: {HStack(spacing: ExampleGridMetrics.columnSpacing) {Image(systemName: isSelected ? "mic.circle.fill" : "mic.fill")- .font(.system(size: 17, weight: .semibold))+ .font(.fluidSystem(size: 17, weight: .semibold)).foregroundStyle(FluidOnboardingLandingColors.blue).frame(width: ExampleGridMetrics.iconSize, height: ExampleGridMetrics.iconSize).background(@@ -554,7 +554,7 @@ struct OnboardingAIEnhancementStepView: View {)Text(example.raw)- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(Color.white.opacity(isSelected ? 0.76 : 0.52)).lineLimit(4).minimumScaleFactor(0.80)@@ -594,7 +594,7 @@ struct OnboardingAIEnhancementStepView: View {.disabled(self.isPrivateAIBusy)Image(systemName: isSelected && self.isRunning ? "waveform" : "arrow.right")- .font(.system(size: 13, weight: .bold))+ .font(.fluidSystem(size: 13, weight: .bold)).foregroundStyle(.white.opacity(0.80)).frame(width: ExampleGridMetrics.arrowSize, height: ExampleGridMetrics.arrowSize).background(@@ -616,7 +616,7 @@ struct OnboardingAIEnhancementStepView: View {ZStack(alignment: .topLeading) {if hasOutput {Text(outputText)- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(Color.white.opacity(0.86)).lineLimit(5).minimumScaleFactor(0.80)@@ -626,11 +626,11 @@ struct OnboardingAIEnhancementStepView: View {} else if isListening {HStack(spacing: 8) {Image(systemName: "waveform")- .font(.system(size: 12, weight: .bold))+ .font(.fluidSystem(size: 12, weight: .bold)).foregroundStyle(FluidOnboardingLandingColors.blue)Text("Listening...")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(Color.white.opacity(0.74))}.padding(.horizontal, 16)@@ -638,13 +638,13 @@ struct OnboardingAIEnhancementStepView: View {} else if isSelected {VStack(alignment: .leading, spacing: 4) {Text("Dictate here.")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(Color.white.opacity(0.36)).lineLimit(1).minimumScaleFactor(0.82)Text("Press \(self.shortcutDisplay) and speak this example.")- .font(.system(size: 10, weight: .medium))+ .font(.fluidSystem(size: 10, weight: .medium)).foregroundStyle(Color.white.opacity(0.28)).lineLimit(1).minimumScaleFactor(0.78)@@ -658,7 +658,7 @@ struct OnboardingAIEnhancementStepView: View {self.clearExampleOutput(example)} label: {Image(systemName: "xmark.circle.fill")- .font(.system(size: 14, weight: .semibold))+ .font(.fluidSystem(size: 14, weight: .semibold)).foregroundStyle(Color.white.opacity(0.42)).frame(width: 28, height: 28)}@@ -712,13 +712,13 @@ struct OnboardingAIEnhancementStepView: View {return HStack(alignment: .center, spacing: 18) {VStack(alignment: .leading, spacing: 10) {Text("AI provider")- .font(.system(size: 22, weight: .semibold))+ .font(.fluidSystem(size: 22, weight: .semibold)).foregroundStyle(.white).lineLimit(1).minimumScaleFactor(0.78)Label("Connect your own provider to polish dictation.", systemImage: "sparkles")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(Color.white.opacity(0.74)).lineLimit(1).minimumScaleFactor(0.78)@@ -772,13 +772,13 @@ struct OnboardingAIEnhancementStepView: View {VStack(alignment: .leading, spacing: 10) {HStack(spacing: 8) {Text(self.privateAIProviderName)- .font(.system(size: 22, weight: .semibold))+ .font(.fluidSystem(size: 22, weight: .semibold)).foregroundStyle(.white).lineLimit(1).minimumScaleFactor(0.78)Text("Experimental")- .font(.system(size: 10, weight: .bold))+ .font(.fluidSystem(size: 10, weight: .bold)).foregroundStyle(Color(red: 1.0, green: 0.72, blue: 0.26)).padding(.horizontal, 8).padding(.vertical, 3)@@ -789,12 +789,12 @@ struct OnboardingAIEnhancementStepView: View {}Text("Powered by \(self.privateAIModelDisplayName)")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(Color.white.opacity(0.42)).lineLimit(1)Label("Trained on 100K+ dictation data points to polish your words.", systemImage: "sparkles")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(Color.white.opacity(0.74)).lineLimit(1).minimumScaleFactor(0.78)@@ -840,7 +840,7 @@ struct OnboardingAIEnhancementStepView: View {if let message = self.privateAISetupErrorMessage {Text(message)- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(Color.red.opacity(0.82)).lineLimit(1).minimumScaleFactor(0.74)@@ -863,7 +863,7 @@ struct OnboardingAIEnhancementStepView: View {VStack(alignment: .leading, spacing: 7) {HStack(spacing: 8) {Text(self.privateAISetupStatusText ?? "Downloading. This can take a few minutes.")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(Color.white.opacity(0.66)).lineLimit(1).minimumScaleFactor(0.78)@@ -872,7 +872,7 @@ struct OnboardingAIEnhancementStepView: View {if let byteText = self.privateAIDownloadByteText {Text(byteText)- .font(.system(size: 10, weight: .semibold))+ .font(.fluidSystem(size: 10, weight: .semibold)).foregroundStyle(Color.white.opacity(0.42)).lineLimit(1).minimumScaleFactor(0.74)@@ -917,11 +917,11 @@ struct OnboardingAIEnhancementStepView: View {private func modelFact(_ systemImage: String, _ text: String) -> some View {HStack(spacing: 6) {Image(systemName: systemImage)- .font(.system(size: 11, weight: .bold))+ .font(.fluidSystem(size: 11, weight: .bold)).foregroundStyle(FluidOnboardingLandingColors.blue.opacity(0.86))Text(text)- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(Color.white.opacity(0.58)).lineLimit(1).minimumScaleFactor(0.76)@@ -1080,11 +1080,11 @@ struct OnboardingAIEnhancementStepView: View {HStack(spacing: configuration.systemImage == nil ? 0 : 8) {if let systemImage = configuration.systemImage {Image(systemName: systemImage)- .font(.system(size: 12, weight: .bold))+ .font(.fluidSystem(size: 12, weight: .bold))}Text(configuration.title)- .font(.system(size: configuration.fontSize, weight: .semibold))+ .font(.fluidSystem(size: configuration.fontSize, weight: .semibold)).lineLimit(1).minimumScaleFactor(0.72)}diff --git a/Sources/Fluid/UI/OnboardingTryoutStepView.swift b/Sources/Fluid/UI/OnboardingTryoutStepView.swiftindex ee5f0166..b191bc50 100644--- a/Sources/Fluid/UI/OnboardingTryoutStepView.swift+++ b/Sources/Fluid/UI/OnboardingTryoutStepView.swift@@ -339,7 +339,7 @@ struct OnboardingTryoutStepView: View {let isListening = self.isShortcutGlowActivereturn Text(text)- .font(.system(size: 20, weight: .semibold))+ .font(.fluidSystem(size: 20, weight: .semibold)).foregroundStyle(.white).lineLimit(1).minimumScaleFactor(0.62)diff --git a/Sources/Fluid/UI/PromptTextView.swift b/Sources/Fluid/UI/PromptTextView.swiftindex 1619288c..86d5eceb 100644--- a/Sources/Fluid/UI/PromptTextView.swift+++ b/Sources/Fluid/UI/PromptTextView.swift@@ -7,7 +7,7 @@ struct PromptTextView: NSViewRepresentable {@Binding var text: Stringvar isEditable: Bool = true- var font: NSFont = .monospacedSystemFont(ofSize: NSFont.smallSystemFontSize, weight: .regular)+ var font: NSFont = .fluidMonospacedSystemFont(ofSize: NSFont.smallSystemFontSize, weight: .regular)var contentInset: CGFloat = 10func makeCoordinator() -> Coordinator {diff --git a/Sources/Fluid/UI/RecordingView.swift b/Sources/Fluid/UI/RecordingView.swiftindex 3c627d42..5d3eb12a 100644--- a/Sources/Fluid/UI/RecordingView.swift+++ b/Sources/Fluid/UI/RecordingView.swift@@ -25,15 +25,15 @@ struct RecordingView: View {VStack(spacing: 12) {HStack {Image(systemName: "waveform.circle.fill")- .font(.system(size: 32))+ .font(.fluidSystem(size: 32)).foregroundStyle(.white)VStack(alignment: .leading, spacing: 4) {Text("Voice Dictation")- .font(.title2)+ .font(.fluidSystem(.title2)).fontWeight(.bold)Text("AI-powered speech recognition")- .font(.subheadline)+ .font(.fluidSystem(.subheadline)).foregroundStyle(.secondary)}@@ -49,7 +49,7 @@ struct RecordingView: View {.frame(width: 8, height: 8)Text(self.asr.isRunning ? "Recording..." : self.asr.isAsrReady ? "Ready to record" : "Model not ready")- .font(.subheadline)+ .font(.fluidSystem(.subheadline)).foregroundStyle(self.asr.isRunning ? .red : self.asr.isAsrReady ? Color.fluidGreen : .secondary)}@@ -65,7 +65,7 @@ struct RecordingView: View {}) {HStack {Image(systemName: self.asr.isRunning ? "stop.fill" : "mic.fill")- .font(.system(size: 16, weight: .semibold))+ .font(.fluidSystem(size: 16, weight: .semibold))Text(self.asr.isRunning ? "Stop Recording" : "Start Recording")}.frame(maxWidth: .infinity)diff --git a/Sources/Fluid/UI/SearchableModelPicker.swift b/Sources/Fluid/UI/SearchableModelPicker.swiftindex 3169acbf..b9346381 100644--- a/Sources/Fluid/UI/SearchableModelPicker.swift+++ b/Sources/Fluid/UI/SearchableModelPicker.swift@@ -72,7 +72,7 @@ struct SearchableModelPicker: View {Button(action: { self.isShowingPopover.toggle() }) {HStack(spacing: 6) {Text(self.selectedModel.isEmpty ? "Select Model" : self.displayName(self.selectedModel))- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).lineLimit(1).truncationMode(.middle).foregroundStyle(self.selectedModel.isEmpty ? .secondary : self.theme.palette.primaryText)@@ -106,13 +106,13 @@ struct SearchableModelPicker: View {if self.models.isEmpty {VStack(spacing: 8) {Image(systemName: "tray")- .font(.title2)+ .font(.fluidSystem(.title2)).foregroundStyle(.secondary)Text("No models")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)Text("Click refresh to fetch from API")- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(.tertiary)}.frame(height: 100)@@ -122,7 +122,7 @@ struct SearchableModelPicker: View {LazyVStack(alignment: .leading, spacing: 0) {if self.filteredModels.isEmpty {Text("No models match '\(self.searchText)'")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary).padding().frame(maxWidth: .infinity, alignment: .center)@@ -157,7 +157,7 @@ struct SearchableModelPicker: View {if self.filteredModels.count > 100 {Divider()Text("\(self.filteredModels.count - 100) more (use search)")- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(.secondary).padding(6)}@@ -197,7 +197,7 @@ struct SearchableModelPicker: View {.frame(width: 16, height: 16)} else {Image(systemName: "arrow.clockwise")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold))}}.frame(width: self.refreshButtonSize, height: self.refreshButtonSize)diff --git a/Sources/Fluid/UI/SearchableProviderPicker.swift b/Sources/Fluid/UI/SearchableProviderPicker.swiftindex 95187da7..05cf1429 100644--- a/Sources/Fluid/UI/SearchableProviderPicker.swift+++ b/Sources/Fluid/UI/SearchableProviderPicker.swift@@ -98,7 +98,7 @@ struct SearchableProviderPicker: View {let builtIns = self.filteredProviders.filter { $0.isBuiltIn }if !builtIns.isEmpty {Text("BUILT-IN")- .font(.caption2)+ .font(.fluidSystem(.caption2)).fontWeight(.semibold).foregroundStyle(.secondary).padding(.horizontal, 10)@@ -119,7 +119,7 @@ struct SearchableProviderPicker: View {}Text("CUSTOM")- .font(.caption2)+ .font(.fluidSystem(.caption2)).fontWeight(.semibold).foregroundStyle(.secondary).padding(.horizontal, 10)@@ -133,7 +133,7 @@ struct SearchableProviderPicker: View {if self.filteredProviders.isEmpty {Text("No providers match '\(self.searchText)'")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary).padding()}diff --git a/Sources/Fluid/UI/SettingsView.swift b/Sources/Fluid/UI/SettingsView.swiftindex d5ff535c..70b37403 100644--- a/Sources/Fluid/UI/SettingsView.swift+++ b/Sources/Fluid/UI/SettingsView.swift@@ -212,7 +212,7 @@ struct SettingsView: View {) {VStack(spacing: 16) {Text(self.selectedSection.title)- .font(.title2.weight(.semibold))+ .font(.fluidSystem(.title2).weight(.semibold)).foregroundStyle(.primary).frame(maxWidth: .infinity, alignment: .leading).settingsSearchTarget(self.selectedSection.searchTarget)@@ -222,7 +222,7 @@ struct SettingsView: View {VStack(alignment: .leading, spacing: 14) {// Section headerLabel("App Settings", systemImage: "power")- .font(.headline)+ .font(.fluidSystem(.headline)).foregroundStyle(.primary)VStack(spacing: 16) {@@ -431,7 +431,7 @@ struct SettingsView: View {if SettingsStore.shared.betaReleasesEnabled {Text("Beta opt-in enabled. Update checks include both stable and beta builds.")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(self.theme.palette.warning)}@@ -574,7 +574,7 @@ struct SettingsView: View {ThemedCard(style: .standard) {VStack(alignment: .leading, spacing: 14) {Label("Microphone Permission", systemImage: "mic.fill")- .font(.headline)+ .font(.fluidSystem(.headline)).foregroundStyle(.primary)VStack(alignment: .leading, spacing: 12) {@@ -641,7 +641,7 @@ struct SettingsView: View {VStack(alignment: .leading, spacing: 14) {HStack(spacing: 8) {Label("Global Hotkey", systemImage: "keyboard")- .font(.headline)+ .font(.fluidSystem(.headline)).foregroundStyle(.primary)Spacer()@@ -649,20 +649,20 @@ struct SettingsView: View {if self.accessibilityEnabled {if self.isRecordingAnyShortcut {Text("Recording…")- .font(.caption.weight(.semibold))+ .font(.fluidSystem(.caption).weight(.semibold)).foregroundStyle(.orange)} else if self.hotkeyManagerInitialized {HStack(spacing: 6) {Image(systemName: "checkmark.circle.fill").foregroundStyle(Color.fluidGreen)- .font(.caption)+ .font(.fluidSystem(.caption))Text("Active")- .font(.caption.weight(.semibold))+ .font(.fluidSystem(.caption).weight(.semibold)).foregroundStyle(self.settingsSecondaryText)}} else {Text("Initializing…")- .font(.caption.weight(.semibold))+ .font(.fluidSystem(.caption).weight(.semibold)).foregroundStyle(self.settingsSecondaryText)}}@@ -676,7 +676,7 @@ struct SettingsView: View {Image(systemName: "hand.point.up.left.fill").foregroundStyle(.orange)Text("Press your new hotkey combination now…")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.orange)}} else if !self.hotkeyManagerInitialized {@@ -685,7 +685,7 @@ struct SettingsView: View {.controlSize(.small).fixedSize()Text("Hotkey initializing…")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(self.settingsSecondaryText)}}@@ -698,7 +698,7 @@ struct SettingsView: View {.foregroundStyle(self.settingsTitleText)Text("Primary dictation can use a keyboard shortcut or allowed mouse button. Changes usually apply immediately.")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(self.settingsTertiaryText)self.primaryDictationShortcutsList()@@ -1050,7 +1050,7 @@ struct SettingsView: View {ThemedCard(style: .standard) {VStack(alignment: .leading, spacing: 14) {Label("Text Formatting", systemImage: "textformat")- .font(.headline)+ .font(.fluidSystem(.headline)).foregroundStyle(.primary)VStack(spacing: 16) {@@ -1150,7 +1150,7 @@ struct SettingsView: View {VStack(alignment: .leading, spacing: 14) {HStack {Label("Audio Devices", systemImage: "speaker.wave.2.fill")- .font(.headline)+ .font(.fluidSystem(.headline)).foregroundStyle(.primary)Spacer()@@ -1278,7 +1278,7 @@ struct SettingsView: View {HStack(spacing: 10) {Text("More")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(self.settingsSecondaryText).frame(width: 36, alignment: .trailing)@@ -1286,12 +1286,12 @@ struct SettingsView: View {.controlSize(.regular)Text("Less")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(self.settingsSecondaryText).frame(width: 36, alignment: .leading)Text(String(format: "%.2f", self.visualizerNoiseThreshold))- .font(.caption.monospaced())+ .font(.fluidSystem(.caption, design: .monospaced)).foregroundStyle(self.settingsTertiaryText).frame(width: 36)}@@ -1337,13 +1337,13 @@ struct SettingsView: View {Spacer()Text("\(self.settings.transcriptionPreviewCharLimit) chars")- .font(.caption.monospaced())+ .font(.fluidSystem(.caption, design: .monospaced)).foregroundStyle(self.settingsSecondaryText)}HStack(spacing: 10) {Text("Less")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(self.settingsSecondaryText).frame(width: 36, alignment: .trailing)@@ -1358,7 +1358,7 @@ struct SettingsView: View {.controlSize(.regular)Text("More")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(self.settingsSecondaryText).frame(width: 36, alignment: .leading)}@@ -1446,7 +1446,7 @@ struct SettingsView: View {.controlSize(.small)Text("\(Int(self.settings.overlayBottomOffset)) px")- .font(.caption.monospaced())+ .font(.fluidSystem(.caption, design: .monospaced)).foregroundStyle(self.settingsSecondaryText).frame(width: 54, alignment: .trailing)}@@ -1457,7 +1457,7 @@ struct SettingsView: View {if self.asr.isRunning {Text("Settings are disabled during active recording")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(self.settingsSecondaryText).italic().frame(maxWidth: .infinity, alignment: .leading)@@ -1481,7 +1481,7 @@ struct SettingsView: View {ThemedCard(style: .standard) {VStack(alignment: .leading, spacing: 14) {Label("Debug Settings", systemImage: "ladybug.fill")- .font(.headline)+ .font(.fluidSystem(.headline)).foregroundStyle(.primary)VStack(alignment: .leading, spacing: 8) {@@ -1872,7 +1872,7 @@ struct SettingsView: View {if let errorMessage = errorMessage {Text(errorMessage)- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(self.theme.palette.warning)}}@@ -1881,7 +1881,7 @@ struct SettingsView: View {private func backupUtilityRow() -> some View {HStack(alignment: .top, spacing: 12) {Image(systemName: "externaldrive.fill")- .font(.headline)+ .font(.fluidSystem(.headline)).foregroundStyle(.primary).frame(width: 24, alignment: .center)@@ -1933,7 +1933,7 @@ struct SettingsView: View {HStack(spacing: 8) {Text("Budget")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(self.settingsSecondaryText)TextField("4", text: self.$audioHistoryBudgetText)@@ -1941,7 +1941,7 @@ struct SettingsView: View {.frame(width: 58)Text("GB")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(self.settingsSecondaryText)Button("Apply") {@@ -2028,7 +2028,7 @@ struct SettingsView: View {HStack(spacing: 6) {Image(systemName: "info.circle.fill").foregroundStyle(warningStyle ? self.theme.palette.warning : self.theme.palette.accent)- .font(.caption)+ .font(.fluidSystem(.caption))Text(title).font(self.theme.typography.bodySmallStrong).foregroundStyle(self.settingsTitleText)@@ -2038,12 +2038,12 @@ struct SettingsView: View {ForEach(Array(steps.enumerated()), id: \.offset) { index, step inHStack(alignment: .top, spacing: 8) {Text("\(index + 1).")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(warningStyle ? self.theme.palette.warning : self.theme.palette.accent).fontWeight(.semibold).frame(width: 16, alignment: .trailing)Text(.init(step))- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.primary)}}@@ -2150,7 +2150,7 @@ struct SettingsView: View {!recordingMessage.isEmpty{Text(recordingMessage)- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(self.theme.palette.warning)}}@@ -2168,7 +2168,7 @@ struct SettingsView: View {!recordingMessage.isEmpty{Text(recordingMessage)- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(self.theme.palette.warning)}}@@ -2176,7 +2176,7 @@ struct SettingsView: View {private func shortcutCapturePill() -> some View {Text("Press shortcut...")- .font(.caption.weight(.medium))+ .font(.fluidSystem(.caption).weight(.medium)).foregroundStyle(.orange).padding(.horizontal, 8).padding(.vertical, 4)@@ -2188,7 +2188,7 @@ struct SettingsView: View {private func shortcutDisplayPill(_ text: String) -> some View {Text(text)- .font(.caption.monospaced().weight(.medium))+ .font(.fluidSystem(.caption, design: .monospaced).weight(.medium)).padding(.horizontal, 8).padding(.vertical, 4).background(@@ -2277,7 +2277,7 @@ struct SettingsView: View {if isRecording, let recordingMessage, !recordingMessage.isEmpty {Text(recordingMessage)- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(self.theme.palette.warning)}}@@ -2390,7 +2390,7 @@ private extension SettingsView {return HStack(spacing: 10) {Image(systemName: "line.3.horizontal")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(self.settingsTertiaryText.opacity(self.isMicrophonePriorityEditingDisabled ? 0.35 : 0.72)).frame(width: 18, height: 30).contentShape(Rectangle())@@ -2407,7 +2407,7 @@ private extension SettingsView {)Image(systemName: "line.3.horizontal")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(self.settingsTitleText)}.frame(width: 30, height: 30)@@ -2434,7 +2434,7 @@ private extension SettingsView {self.removeMicrophonePriorityEntry(entry)} label: {Image(systemName: "trash")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(Color(nsColor: .systemRed).opacity(0.82)).frame(width: 24, height: 24).contentShape(Rectangle())@@ -2724,12 +2724,12 @@ struct FillerWordsEditor: View {ForEach(self.fillerWords, id: \.self) { word inHStack(spacing: 4) {Text(word)- .font(.caption)+ .font(.fluidSystem(.caption))Button {self.removeWord(word)} label: {Image(systemName: "xmark")- .font(.caption2)+ .font(.fluidSystem(.caption2))}.buttonStyle(.plain)}@@ -3004,7 +3004,7 @@ struct AnalyticsConfirmationView: View {var body: some View {VStack(alignment: .leading, spacing: 16) {Text("Stop sharing detailed anonymous analytics?")- .font(.headline)+ .font(.fluidSystem(.headline))Text("We never collect audio, transcription text, prompts, or other personal information.").font(self.theme.typography.bodySmall)diff --git a/Sources/Fluid/UI/StatsView.swift b/Sources/Fluid/UI/StatsView.swiftindex 26f012b4..2673acd0 100644--- a/Sources/Fluid/UI/StatsView.swift+++ b/Sources/Fluid/UI/StatsView.swift@@ -84,14 +84,14 @@ struct StatsView: View {HStack(alignment: .firstTextBaseline) {VStack(alignment: .leading, spacing: 4) {Text("Today")- .font(.system(size: 28, weight: .bold, design: .rounded))+ .font(.fluidSystem(size: 28, weight: .bold, design: .rounded)).foregroundStyle(.primary)Text(self.motivationalMessage(wordsToday: wordsToday,streak: streak))- .font(.system(size: 13, weight: .medium))+ .font(.fluidSystem(size: 13, weight: .medium)).foregroundStyle(.secondary).fixedSize(horizontal: false, vertical: true)}@@ -101,9 +101,9 @@ struct StatsView: View {if streak > 0 {HStack(spacing: 4) {Image(systemName: "flame.fill")- .font(.system(size: 11))+ .font(.fluidSystem(size: 11))Text("\(streak) day\(streak == 1 ? "" : "s")")- .font(.system(size: 12, weight: .semibold, design: .rounded))+ .font(.fluidSystem(size: 12, weight: .semibold, design: .rounded))}.foregroundStyle(self.theme.palette.warning).padding(.horizontal, 10)@@ -149,18 +149,18 @@ struct StatsView: View {private func todayMetric(icon: String, value: String, label: String) -> some View {HStack(spacing: 10) {Image(systemName: icon)- .font(.system(size: 14))+ .font(.fluidSystem(size: 14)).foregroundStyle(self.theme.palette.accent).frame(width: 22)VStack(alignment: .leading, spacing: 1) {Text(value)- .font(.system(size: 20, weight: .bold, design: .rounded))+ .font(.fluidSystem(size: 20, weight: .bold, design: .rounded)).foregroundStyle(.primary).lineLimit(1)Text(label)- .font(.system(size: 10, weight: .medium))+ .font(.fluidSystem(size: 10, weight: .medium)).foregroundStyle(.secondary)}}@@ -193,7 +193,7 @@ struct StatsView: View {StatCard(title: "TIME SAVED", icon: "clock.fill") {VStack(alignment: .leading, spacing: 8) {Text(self.stats.formattedTimeSaved(typingWPM: self.settings.userTypingWPM))- .font(.system(size: 32, weight: .bold, design: .rounded))+ .font(.fluidSystem(size: 32, weight: .bold, design: .rounded)).foregroundStyle(.primary)Button {@@ -202,9 +202,9 @@ struct StatsView: View {} label: {HStack(spacing: 4) {Text("Based on \(self.settings.userTypingWPM) WPM typing")- .font(.system(size: 11))+ .font(.fluidSystem(size: 11))Image(systemName: "pencil")- .font(.system(size: 9))+ .font(.fluidSystem(size: 9))}.foregroundStyle(.secondary)}@@ -219,7 +219,7 @@ struct StatsView: View {private var wpmEditorPopover: some View {VStack(alignment: .leading, spacing: 12) {Text("Your Typing Speed")- .font(.system(size: 13, weight: .semibold))+ .font(.fluidSystem(size: 13, weight: .semibold))HStack {TextField("WPM", text: self.$editingWPM)@@ -228,12 +228,12 @@ struct StatsView: View {.multilineTextAlignment(.center)Text("words per minute")- .font(.system(size: 12))+ .font(.fluidSystem(size: 12)).foregroundStyle(.secondary)}Text("Average typing: 40 WPM\nProfessional: 65-75 WPM")- .font(.system(size: 10))+ .font(.fluidSystem(size: 10)).foregroundStyle(.tertiary)HStack {@@ -261,17 +261,17 @@ struct StatsView: View {StatCard(title: "TOTAL WORDS", icon: "text.word.spacing") {VStack(alignment: .leading, spacing: 8) {Text(self.formatNumber(self.stats.totalWords))- .font(.system(size: 32, weight: .bold, design: .rounded))+ .font(.fluidSystem(size: 32, weight: .bold, design: .rounded)).foregroundStyle(.primary)let today = self.historyStore.wordsTodayif today > 0 {Text("+\(self.formatNumber(today)) today")- .font(.system(size: 11))+ .font(.fluidSystem(size: 11)).foregroundStyle(self.theme.palette.success)} else {Text("Start dictating")- .font(.system(size: 11))+ .font(.fluidSystem(size: 11)).foregroundStyle(.secondary)}}@@ -285,16 +285,16 @@ struct StatsView: View {VStack(alignment: .leading, spacing: 8) {HStack(alignment: .firstTextBaseline, spacing: 4) {Text("\(self.stats.currentStreak)")- .font(.system(size: 32, weight: .bold, design: .rounded))+ .font(.fluidSystem(size: 32, weight: .bold, design: .rounded)).foregroundStyle(self.stats.currentStreak > 0 ? self.theme.palette.warning : .primary)Text(self.stats.currentStreak == 1 ? "day" : "days")- .font(.system(size: 14, weight: .medium))+ .font(.fluidSystem(size: 14, weight: .medium)).foregroundStyle(.secondary)}Text("Best: \(self.stats.bestStreak) days")- .font(.system(size: 11))+ .font(.fluidSystem(size: 11)).foregroundStyle(.secondary)}}@@ -306,11 +306,11 @@ struct StatsView: View {StatCard(title: "TRANSCRIPTIONS", icon: "doc.text.fill") {VStack(alignment: .leading, spacing: 8) {Text("\(self.historyStore.entries.count)")- .font(.system(size: 32, weight: .bold, design: .rounded))+ .font(.fluidSystem(size: 32, weight: .bold, design: .rounded)).foregroundStyle(.primary)Text("Avg: \(self.stats.averageWordsPerTranscription) words each")- .font(.system(size: 11))+ .font(.fluidSystem(size: 11)).foregroundStyle(.secondary)}}@@ -323,7 +323,7 @@ struct StatsView: View {VStack(alignment: .leading, spacing: 12) {HStack {Label("ACTIVITY", systemImage: "chart.bar.fill")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(.secondary)Spacer()@@ -345,10 +345,10 @@ struct StatsView: View {Spacer()VStack(spacing: 8) {Image(systemName: "chart.bar")- .font(.system(size: 24))+ .font(.fluidSystem(size: 24)).foregroundStyle(.tertiary)Text("No activity yet")- .font(.system(size: 12))+ .font(.fluidSystem(size: 12)).foregroundStyle(.secondary)}.padding(.vertical, 30)@@ -380,7 +380,7 @@ struct StatsView: View {// Label (only for 7-day view)if self.chartDays == 7 {Text(self.dayLabel(item.date))- .font(.system(size: 9, weight: .medium))+ .font(.fluidSystem(size: 9, weight: .medium)).foregroundStyle(.secondary)}}@@ -399,11 +399,11 @@ struct StatsView: View {let activeDays = data.filter { $0.words > 0 }.countText("\(self.formatNumber(totalPeriod)) words")- .font(.system(size: 11, weight: .medium))+ .font(.fluidSystem(size: 11, weight: .medium)).foregroundStyle(.primary)Text("across \(activeDays) active days")- .font(.system(size: 11))+ .font(.fluidSystem(size: 11)).foregroundStyle(.secondary)Spacer()@@ -416,12 +416,12 @@ struct StatsView: View {private func activityTooltip(for item: (date: Date, words: Int)) -> some View {VStack(spacing: 2) {Text(Self.activityTooltipDateFormatter.string(from: item.date))- .font(.system(size: 10, weight: .medium))+ .font(.fluidSystem(size: 10, weight: .medium)).foregroundStyle(.secondary).lineLimit(1)Text("\(self.formatNumber(item.words)) \(item.words == 1 ? "word" : "words")")- .font(.system(size: 12, weight: .semibold, design: .rounded))+ .font(.fluidSystem(size: 12, weight: .semibold, design: .rounded)).foregroundStyle(.primary).lineLimit(1)}@@ -447,13 +447,13 @@ struct StatsView: View {VStack(alignment: .leading, spacing: 12) {HStack {Label("MILESTONES", systemImage: "flag.fill")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(.secondary)Spacer()Text("\(self.stats.totalMilestonesAchieved)/\(self.stats.totalMilestonesPossible)")- .font(.system(size: 11, weight: .medium))+ .font(.fluidSystem(size: 11, weight: .medium)).foregroundStyle(self.theme.palette.accent)}@@ -483,18 +483,18 @@ struct StatsView: View {private func milestoneRow(title: String, milestones: [(target: Int, achieved: Bool, label: String)]) -> some View {HStack(spacing: 8) {Text(title)- .font(.system(size: 10, weight: .medium))+ .font(.fluidSystem(size: 10, weight: .medium)).foregroundStyle(.secondary).frame(width: 80, alignment: .leading)ForEach(Array(milestones.enumerated()), id: \.offset) { _, milestone inHStack(spacing: 3) {Image(systemName: milestone.achieved ? "checkmark.circle.fill" : "circle")- .font(.system(size: 10))+ .font(.fluidSystem(size: 10)).foregroundStyle(milestone.achieved ? self.theme.palette.success : Color.secondary.opacity(0.4))Text(milestone.label)- .font(.system(size: 10, weight: milestone.achieved ? .semibold : .regular))+ .font(.fluidSystem(size: 10, weight: milestone.achieved ? .semibold : .regular)).foregroundStyle(milestone.achieved ? .primary : .secondary)}.padding(.horizontal, 6)@@ -515,7 +515,7 @@ struct StatsView: View {ThemedCard(style: .standard, padding: 16, hoverEffect: false) {VStack(alignment: .leading, spacing: 12) {Label("INSIGHTS", systemImage: "lightbulb.fill")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(.secondary)LazyVGrid(columns: [@@ -561,17 +561,17 @@ struct StatsView: View {private func insightItem(icon: String, title: String, value: String, fallback: String) -> some View {HStack(spacing: 10) {Image(systemName: icon)- .font(.system(size: 12))+ .font(.fluidSystem(size: 12)).foregroundStyle(.tertiary).frame(width: 20)VStack(alignment: .leading, spacing: 2) {Text(title)- .font(.system(size: 10, weight: .medium))+ .font(.fluidSystem(size: 10, weight: .medium)).foregroundStyle(.secondary)Text(value.isEmpty ? fallback : value)- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(.primary).lineLimit(1)}@@ -589,7 +589,7 @@ struct StatsView: View {ThemedCard(style: .standard, padding: 16, hoverEffect: false) {VStack(alignment: .leading, spacing: 12) {Label("PERSONAL RECORDS", systemImage: "trophy.fill")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(.secondary)HStack(spacing: 12) {@@ -615,11 +615,11 @@ struct StatsView: View {private func recordItem(title: String, value: String) -> some View {VStack(alignment: .leading, spacing: 4) {Text(title)- .font(.system(size: 10, weight: .medium))+ .font(.fluidSystem(size: 10, weight: .medium)).foregroundStyle(.secondary)Text(value)- .font(.system(size: 14, weight: .semibold, design: .rounded))+ .font(.fluidSystem(size: 14, weight: .semibold, design: .rounded)).foregroundStyle(.primary)}.frame(maxWidth: .infinity, alignment: .leading)@@ -644,7 +644,7 @@ struct StatsView: View {self.showResetConfirmation = true} label: {Label("Reset All Stats", systemImage: "trash")- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(.secondary)}.buttonStyle(.plain)@@ -686,7 +686,7 @@ private struct StatCard<Content: View>: View {ThemedCard(style: .standard, padding: 16, hoverEffect: false) {VStack(alignment: .leading, spacing: 10) {Label(self.title, systemImage: self.icon)- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(.secondary)self.contentdiff --git a/Sources/Fluid/UI/TranscriptionHistoryView.swift b/Sources/Fluid/UI/TranscriptionHistoryView.swiftindex c3a4a488..e39ef5b0 100644--- a/Sources/Fluid/UI/TranscriptionHistoryView.swift+++ b/Sources/Fluid/UI/TranscriptionHistoryView.swift@@ -61,7 +61,7 @@ struct TranscriptionHistoryView: View {} else if let error = self.historyStore.persistenceError {VStack(alignment: .leading, spacing: 8) {Text(error)- .font(.caption)+ .font(.fluidSystem(.caption))Button("Retry saving history") {self.historyStore.retryPersistence()}@@ -155,19 +155,19 @@ struct TranscriptionHistoryView: View {private var searchBar: some View {HStack(spacing: 8) {Image(systemName: "magnifyingglass")- .font(.system(size: 13, weight: .medium))+ .font(.fluidSystem(size: 13, weight: .medium)).foregroundStyle(.secondary)TextField("Search transcriptions...", text: self.$searchQuery).textFieldStyle(.plain)- .font(.system(size: 13))+ .font(.fluidSystem(size: 13))if !self.searchQuery.isEmpty {Button {self.searchQuery = ""} label: {Image(systemName: "xmark.circle.fill")- .font(.system(size: 12))+ .font(.fluidSystem(size: 12)).foregroundStyle(.secondary)}.buttonStyle(.plain)@@ -333,18 +333,18 @@ struct TranscriptionHistoryView: View {Spacer()Image(systemName: self.searchQuery.isEmpty ? "clock.arrow.circlepath" : "magnifyingglass")- .font(.system(size: 36, weight: .light))+ .font(.fluidSystem(size: 36, weight: .light)).foregroundStyle(.tertiary)VStack(spacing: 4) {Text(self.searchQuery.isEmpty ? "No History Yet" : "No Results")- .font(.system(size: 14, weight: .semibold))+ .font(.fluidSystem(size: 14, weight: .semibold)).foregroundStyle(.secondary)Text(self.searchQuery.isEmpty? "Your transcriptions will appear here": "Try a different search term")- .font(.system(size: 12))+ .font(.fluidSystem(size: 12)).foregroundStyle(.tertiary).multilineTextAlignment(.center)}@@ -365,7 +365,7 @@ struct TranscriptionHistoryView: View {HStack {// StatsText("\(self.historyStore.entries.count) entries")- .font(.system(size: 11, weight: .medium))+ .font(.fluidSystem(size: 11, weight: .medium)).foregroundStyle(.tertiary)Spacer()@@ -376,7 +376,7 @@ struct TranscriptionHistoryView: View {self.showClearConfirmation = true} label: {Text("Clear All")- .font(.system(size: 11, weight: .medium))+ .font(.fluidSystem(size: 11, weight: .medium)).foregroundStyle(.secondary)}.buttonStyle(.plain)@@ -483,7 +483,7 @@ struct TranscriptionHistoryView: View {private func detailHeading(_ entry: TranscriptionHistoryEntry) -> some View {HStack(spacing: 14) {Image(systemName: "clock.arrow.circlepath")- .font(.system(size: 24, weight: .medium))+ .font(.fluidSystem(size: 24, weight: .medium)).foregroundStyle(self.theme.palette.accent).frame(width: 52, height: 52).background(self.theme.palette.accent.opacity(0.1), in: RoundedRectangle(cornerRadius: 16))@@ -546,7 +546,7 @@ struct TranscriptionHistoryView: View {private func metadataItem(icon: String, label: String, value: String) -> some View {HStack(spacing: 12) {- Image(systemName: icon).font(.system(size: 18)).foregroundStyle(self.theme.palette.accent)+ Image(systemName: icon).font(.fluidSystem(size: 18)).foregroundStyle(self.theme.palette.accent).frame(width: 24)VStack(alignment: .leading, spacing: 5) {Text(label).font(self.theme.typography.caption).foregroundStyle(.secondary)@@ -628,11 +628,11 @@ struct TranscriptionHistoryView: View {private var noSelectionView: some View {VStack(spacing: 16) {Image(systemName: "text.quote")- .font(.system(size: 40, weight: .light))+ .font(.fluidSystem(size: 40, weight: .light)).foregroundStyle(.tertiary)Text("Select a transcription")- .font(.system(size: 14, weight: .medium))+ .font(.fluidSystem(size: 14, weight: .medium)).foregroundStyle(.secondary)}.frame(maxWidth: .infinity, maxHeight: .infinity)@@ -665,9 +665,9 @@ private struct TranscriptionFeedbackReportSheet: View {VStack(alignment: .leading, spacing: 16) {VStack(alignment: .leading, spacing: 4) {Text("Share anonymous datapoint")- .font(.system(size: 18, weight: .semibold))+ .font(.fluidSystem(size: 18, weight: .semibold))Text("Help improve our model. Only the example shown below will be sent.")- .font(.system(size: 12))+ .font(.fluidSystem(size: 12)).foregroundStyle(.secondary)}@@ -678,7 +678,7 @@ private struct TranscriptionFeedbackReportSheet: View {if let errorMessage {Text(errorMessage)- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(.red).fixedSize(horizontal: false, vertical: true)}@@ -745,12 +745,12 @@ private struct TranscriptionFeedbackReportSheet: View {private func feedbackField(title: String, text: Binding<String>, height: CGFloat) -> some View {VStack(alignment: .leading, spacing: 6) {Text(title)- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(.secondary).textCase(.uppercase)TextEditor(text: text)- .font(.system(size: 13))+ .font(.fluidSystem(size: 13)).scrollContentBackground(.hidden).padding(8).frame(height: height)diff --git a/Sources/Fluid/UI/WelcomeView.swift b/Sources/Fluid/UI/WelcomeView.swiftindex 7b77abcb..e6bf7f8d 100644--- a/Sources/Fluid/UI/WelcomeView.swift+++ b/Sources/Fluid/UI/WelcomeView.swift@@ -883,14 +883,14 @@ struct OnboardingFlowView: View {.padding(.bottom, 22)Text("What language will\nyou speak most?")- .font(.system(size: 28, weight: .semibold))+ .font(.fluidSystem(size: 28, weight: .semibold)).foregroundStyle(.white).multilineTextAlignment(.center).lineSpacing(4).padding(.bottom, 18)Text("We'll show the best voice engines for it.")- .font(.system(size: 15, weight: .medium))+ .font(.fluidSystem(size: 15, weight: .medium)).foregroundStyle(Color.white.opacity(0.62)).padding(.bottom, 26)@@ -916,7 +916,7 @@ struct OnboardingFlowView: View {}Text("You can change this later in Voice Engine settings.")- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(Color.white.opacity(0.44)).padding(.top, 18)}@@ -973,12 +973,12 @@ struct OnboardingFlowView: View {} label: {HStack(spacing: 10) {Image(systemName: "globe")- .font(.system(size: 17, weight: .semibold))+ .font(.fluidSystem(size: 17, weight: .semibold)).foregroundStyle(isSelected ? FluidOnboardingLandingColors.blue : Color.white.opacity(0.72)).frame(width: 22)Text(language.popularDisplayName)- .font(.system(size: 15, weight: .semibold))+ .font(.fluidSystem(size: 15, weight: .semibold)).foregroundStyle(.white).lineLimit(1).minimumScaleFactor(0.76)@@ -987,7 +987,7 @@ struct OnboardingFlowView: View {if isSelected {Image(systemName: "checkmark")- .font(.system(size: 12, weight: .bold))+ .font(.fluidSystem(size: 12, weight: .bold)).foregroundStyle(FluidOnboardingLandingColors.blue)}}@@ -1045,12 +1045,12 @@ struct OnboardingFlowView: View {} label: {HStack(spacing: 10) {Image(systemName: "ellipsis")- .font(.system(size: 18, weight: .bold))+ .font(.fluidSystem(size: 18, weight: .bold)).foregroundStyle(isSelected ? FluidOnboardingLandingColors.blue : Color.white.opacity(self.isShowingAllLanguages ? 0.78 : 0.72)).frame(width: 22)Text(isSelected ? self.selectedOnboardingLanguage.displayName : "Other")- .font(.system(size: 15, weight: .semibold))+ .font(.fluidSystem(size: 15, weight: .semibold)).foregroundStyle(.white).lineLimit(1).minimumScaleFactor(0.70)@@ -1058,7 +1058,7 @@ struct OnboardingFlowView: View {Spacer(minLength: 0)Image(systemName: self.isShowingAllLanguages ? "chevron.up" : "chevron.down")- .font(.system(size: 10, weight: .bold))+ .font(.fluidSystem(size: 10, weight: .bold)).foregroundStyle(Color.white.opacity(0.46))}.padding(.horizontal, 15)@@ -1089,7 +1089,7 @@ struct OnboardingFlowView: View {VStack(spacing: 10) {HStack(spacing: 8) {Image(systemName: "magnifyingglass")- .font(.system(size: 13, weight: .semibold))+ .font(.fluidSystem(size: 13, weight: .semibold)).foregroundStyle(Color.white.opacity(0.48))TextField(@@ -1099,7 +1099,7 @@ struct OnboardingFlowView: View {.foregroundStyle(Color.white.opacity(0.42))).textFieldStyle(.plain)- .font(.system(size: 14, weight: .medium))+ .font(.fluidSystem(size: 14, weight: .medium)).foregroundStyle(.white).focused(self.$isLanguageSearchFocused).frame(maxWidth: .infinity, alignment: .leading)@@ -1147,14 +1147,14 @@ struct OnboardingFlowView: View {} label: {HStack(spacing: 10) {Text(language.displayName)- .font(.system(size: 13, weight: .semibold))+ .font(.fluidSystem(size: 13, weight: .semibold)).foregroundStyle(.white)Spacer()if isSelected {Image(systemName: "checkmark.circle.fill")- .font(.system(size: 13, weight: .bold))+ .font(.fluidSystem(size: 13, weight: .bold)).foregroundStyle(FluidOnboardingLandingColors.blue)}}@@ -1343,7 +1343,7 @@ struct OnboardingFlowView: View {.padding(.bottom, 22)Text("Choose your\nvoice engine")- .font(.system(size: 28, weight: .semibold))+ .font(.fluidSystem(size: 28, weight: .semibold)).foregroundStyle(.white).multilineTextAlignment(.center).lineSpacing(4)@@ -1351,13 +1351,13 @@ struct OnboardingFlowView: View {.padding(.bottom, 16)Text(self.recommendedModelReasonText)- .font(.system(size: 15, weight: .medium))+ .font(.fluidSystem(size: 15, weight: .medium)).foregroundStyle(Color.white.opacity(0.62)).multilineTextAlignment(.center).padding(.bottom, 14)Text(self.selectedOnboardingLanguage.displayName)- .font(.system(size: 13, weight: .semibold))+ .font(.fluidSystem(size: 13, weight: .semibold)).foregroundStyle(FluidOnboardingLandingColors.blue).padding(.horizontal, 12).padding(.vertical, 6)@@ -1423,7 +1423,7 @@ struct OnboardingFlowView: View {}Text("You can switch models later in Voice Engine settings.")- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(Color.white.opacity(0.44)).padding(.top, self.isModelPreparationInProgress ? 8 : 18)}@@ -1469,14 +1469,14 @@ struct OnboardingFlowView: View {.padding(.bottom, 22)Text("Let FluidVoice\nlisten and type")- .font(.system(size: 28, weight: .semibold))+ .font(.fluidSystem(size: 28, weight: .semibold)).foregroundStyle(.white).multilineTextAlignment(.center).lineSpacing(4).padding(.bottom, 16)Text("Two quick permissions make dictation work anywhere.")- .font(.system(size: 15, weight: .medium))+ .font(.fluidSystem(size: 15, weight: .medium)).foregroundStyle(Color.white.opacity(0.62)).padding(.bottom, 28)@@ -1519,7 +1519,7 @@ struct OnboardingFlowView: View {if !self.isAccessibilityReady {Text("Already enabled it? FluidVoice will update when macOS confirms access.")- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(Color.white.opacity(0.42)).padding(.top, 2)}@@ -1616,7 +1616,7 @@ struct OnboardingFlowView: View {.padding(.bottom, 22)Text("FluidVoice is ready.")- .font(.system(size: 28, weight: .semibold))+ .font(.fluidSystem(size: 28, weight: .semibold)).foregroundStyle(.white).multilineTextAlignment(.center).lineLimit(2)@@ -1625,7 +1625,7 @@ struct OnboardingFlowView: View {.padding(.bottom, 14)Text("Now let's try it out.")- .font(.system(size: 15, weight: .medium))+ .font(.fluidSystem(size: 15, weight: .medium)).foregroundStyle(Color.white.opacity(0.62)).padding(.bottom, 28)@@ -1731,9 +1731,9 @@ struct OnboardingFlowView: View {Text(self.isShowingOtherModelRoutes ? "Hide other models" : "Show other models")Image(systemName: self.isShowingOtherModelRoutes ? "chevron.up" : "chevron.down")- .font(.system(size: 8, weight: .bold))+ .font(.fluidSystem(size: 8, weight: .bold))}- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(Color.white.opacity(0.62)).padding(.horizontal, 10).frame(height: 24)@@ -2228,11 +2228,11 @@ struct OnboardingFlowView: View {HStack(spacing: configuration.systemImage == nil ? 0 : 8) {if let systemImage = configuration.systemImage {Image(systemName: systemImage)- .font(.system(size: configuration.iconSize, weight: .bold))+ .font(.fluidSystem(size: configuration.iconSize, weight: .bold))}Text(configuration.title)- .font(.system(size: configuration.fontSize, weight: .semibold))+ .font(.fluidSystem(size: configuration.fontSize, weight: .semibold)).lineLimit(1).minimumScaleFactor(0.72)}@@ -2313,15 +2313,15 @@ struct OnboardingFlowView: View {if isReady {Image(systemName: "checkmark")- .font(.system(size: 17, weight: .bold))+ .font(.fluidSystem(size: 17, weight: .bold)).foregroundStyle(Color.green.opacity(0.92))} else {VStack(spacing: 1) {Image(systemName: systemImage)- .font(.system(size: 14, weight: .bold))+ .font(.fluidSystem(size: 14, weight: .bold))Text("\(stepNumber)")- .font(.system(size: 10, weight: .bold))+ .font(.fluidSystem(size: 10, weight: .bold))}.foregroundStyle(FluidOnboardingLandingColors.blue)}@@ -2330,11 +2330,11 @@ struct OnboardingFlowView: View {VStack(alignment: .leading, spacing: 5) {HStack(spacing: 8) {Text(title)- .font(.system(size: 17, weight: .semibold))+ .font(.fluidSystem(size: 17, weight: .semibold)).foregroundStyle(.white)Text(resolvedStatusTitle)- .font(.system(size: 10, weight: .bold))+ .font(.fluidSystem(size: 10, weight: .bold)).foregroundStyle(isReady ? Color.green.opacity(0.92) : FluidOnboardingLandingColors.blue).padding(.horizontal, 7).padding(.vertical, 3)@@ -2345,7 +2345,7 @@ struct OnboardingFlowView: View {}Text(subtitle)- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(Color.white.opacity(0.55)).lineLimit(2)}@@ -2743,14 +2743,14 @@ private struct OnboardingMicrophoneSetupPanel: View {VStack(spacing: 0) {HStack(spacing: 14) {Text("Select your microphone")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(Color.white.opacity(0.58))Spacer(minLength: 12)if self.devices.isEmpty {Text("No microphone available")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(Color.orange.opacity(0.9))} else {Picker(@@ -2785,7 +2785,7 @@ private struct OnboardingMicrophoneSetupPanel: View {.frame(width: 6, height: 6)Text(self.status.text)- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(self.status.color)Spacer()diff --git a/Sources/Fluid/Views/AutomaticDictionaryCorrectionOverlay.swift b/Sources/Fluid/Views/AutomaticDictionaryCorrectionOverlay.swiftindex 3a8ddcb3..36fb064c 100644--- a/Sources/Fluid/Views/AutomaticDictionaryCorrectionOverlay.swift+++ b/Sources/Fluid/Views/AutomaticDictionaryCorrectionOverlay.swift@@ -434,19 +434,19 @@ private struct MicrophoneChangeOverlayView: View {VStack(alignment: .leading, spacing: 10) {HStack(spacing: 7) {Image(systemName: self.notice.currentName == nil ? "mic.slash.fill" : "mic.fill")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(.white.opacity(0.78)).frame(width: 24, height: 24)Text(self.title)- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(.white.opacity(0.72))Spacer(minLength: 8)Button(action: self.onDismiss) {Image(systemName: "xmark")- .font(.system(size: 10, weight: .semibold))+ .font(.fluidSystem(size: 10, weight: .semibold)).foregroundStyle(.white.opacity(self.isCloseHovered ? 0.95 : 0.68)).frame(width: 24, height: 24).background(Circle().fill(Color.white.opacity(self.isCloseHovered ? 0.13 : 0.06)))@@ -459,7 +459,7 @@ private struct MicrophoneChangeOverlayView: View {}Text(self.detailText)- .font(.system(size: 16, weight: .semibold))+ .font(.fluidSystem(size: 16, weight: .semibold)).foregroundStyle(.white).lineLimit(1).minimumScaleFactor(0.72)@@ -467,7 +467,7 @@ private struct MicrophoneChangeOverlayView: View {HStack(spacing: 8) {Text(self.explanation)- .font(.system(size: 11))+ .font(.fluidSystem(size: 11)).foregroundStyle(.white.opacity(0.58)).lineLimit(1)@@ -543,7 +543,7 @@ private struct TransientOverlaySettingsButtonStyle: ButtonStyle {func makeBody(configuration: Configuration) -> some View {configuration.label- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(.white.opacity(configuration.isPressed ? 1 : 0.9)).padding(.horizontal, 10).frame(height: 28)@@ -672,7 +672,7 @@ private struct AutomaticDictionaryCorrectionOverlayView: View {self.correctionPairText("Save only this correction, or teach FluidVoice other pronunciations.")- .font(.system(size: 11))+ .font(.fluidSystem(size: 11)).foregroundStyle(.white.opacity(0.58)).lineLimit(1)@@ -723,7 +723,7 @@ private struct AutomaticDictionaryCorrectionOverlayView: View {Button("Turn Off Auto-Learn", role: .destructive, action: self.onDisableSuggestions)} label: {Image(systemName: "ellipsis")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(.white.opacity(0.72)).frame(width: 36, height: 36).background(self.panelSurface)@@ -742,12 +742,12 @@ private struct AutomaticDictionaryCorrectionOverlayView: View {VStack(alignment: .leading, spacing: 9) {Text("Teach FluidVoice your pronunciation")- .font(.system(size: 13, weight: .semibold))+ .font(.fluidSystem(size: 13, weight: .semibold)).foregroundStyle(.white.opacity(0.94))if self.session.isReady {Label("FluidVoice got it right 3 times in a row.", systemImage: "checkmark.circle.fill")- .font(.system(size: 10.5, weight: .medium))+ .font(.fluidSystem(size: 10.5, weight: .medium)).foregroundStyle(self.accent)} else {VStack(alignment: .leading, spacing: 5) {@@ -769,7 +769,7 @@ private struct AutomaticDictionaryCorrectionOverlayView: View {)Text(self.overlayReadinessCaption)- .font(.system(size: 10.5, weight: .medium))+ .font(.fluidSystem(size: 10.5, weight: .medium)).foregroundStyle(self.session.isReady ? self.accent : .white.opacity(0.58)).fixedSize(horizontal: false, vertical: true)@@ -798,7 +798,7 @@ private struct AutomaticDictionaryCorrectionOverlayView: View {self.session.statusMessage,systemImage: "exclamationmark.triangle.fill")- .font(.system(size: 10.5, weight: .medium))+ .font(.fluidSystem(size: 10.5, weight: .medium)).foregroundStyle(Color.red.opacity(0.9)).lineLimit(1)}@@ -830,12 +830,12 @@ private struct AutomaticDictionaryCorrectionOverlayView: View {private func trainingInstruction(number: Int, text: String) -> some View {HStack(alignment: .firstTextBaseline, spacing: 7) {Text("\(number)")- .font(.system(size: 10.5, weight: .semibold, design: .rounded))+ .font(.fluidSystem(size: 10.5, weight: .semibold, design: .rounded)).foregroundStyle(self.accent).frame(width: 14)Text(text)- .font(.system(size: 10.5))+ .font(.fluidSystem(size: 10.5)).foregroundStyle(.white.opacity(0.58)).fixedSize(horizontal: false, vertical: true)}@@ -848,16 +848,16 @@ private struct AutomaticDictionaryCorrectionOverlayView: View {.fill(self.accent.opacity(0.18)).frame(width: 38, height: 38)Image(systemName: "checkmark")- .font(.system(size: 15, weight: .bold))+ .font(.fluidSystem(size: 15, weight: .bold)).foregroundStyle(self.accent)}VStack(alignment: .leading, spacing: 3) {Text(self.session.successTitle)- .font(.system(size: 14, weight: .semibold))+ .font(.fluidSystem(size: 14, weight: .semibold)).foregroundStyle(.white)Text("“\(self.session.candidate.heardText)” will become “\(self.session.candidate.correctedText)”.")- .font(.system(size: 11))+ .font(.fluidSystem(size: 11)).foregroundStyle(.white.opacity(0.6)).lineLimit(1)}@@ -873,7 +873,7 @@ private struct AutomaticDictionaryCorrectionOverlayView: View {if allowsBack {Button(action: self.session.returnToChoice) {Image(systemName: "chevron.left")- .font(.system(size: 10, weight: .semibold))+ .font(.fluidSystem(size: 10, weight: .semibold)).foregroundStyle(.white.opacity(0.72)).frame(width: 24, height: 24).background(Circle().fill(Color.white.opacity(0.06)))@@ -884,20 +884,20 @@ private struct AutomaticDictionaryCorrectionOverlayView: View {.help("Back")} else {Image(systemName: "mic.fill")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(.white.opacity(0.78)).frame(width: 24, height: 24)}Text(title)- .font(.system(size: 12, weight: .medium))+ .font(.fluidSystem(size: 12, weight: .medium)).foregroundStyle(.white.opacity(0.72))Spacer(minLength: 8)Button(action: self.onDismiss) {Image(systemName: "xmark")- .font(.system(size: 10, weight: .semibold))+ .font(.fluidSystem(size: 10, weight: .semibold)).foregroundStyle(.white.opacity(self.isDismissHovered ? 0.95 : 0.68)).frame(width: 24, height: 24).background(@@ -918,13 +918,13 @@ private struct AutomaticDictionaryCorrectionOverlayView: View {.foregroundStyle(.white.opacity(0.78))Image(systemName: "arrow.right")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(.white.opacity(0.42))Text(self.session.candidate.correctedText).foregroundStyle(.white)}- .font(.system(size: 16, weight: .semibold))+ .font(.fluidSystem(size: 16, weight: .semibold)).lineLimit(1).minimumScaleFactor(0.72).frame(maxWidth: .infinity, alignment: .leading)@@ -934,10 +934,10 @@ private struct AutomaticDictionaryCorrectionOverlayView: View {HStack(spacing: 8) {VStack(alignment: .leading, spacing: 2) {Text("Final output")- .font(.system(size: 10, weight: .medium))+ .font(.fluidSystem(size: 10, weight: .medium)).foregroundStyle(.white.opacity(0.46))Text(self.session.finalOutputText)- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(.white.opacity(self.session.lastOutput.isEmpty ? 0.48 : 0.9)).lineLimit(1)}@@ -946,7 +946,7 @@ private struct AutomaticDictionaryCorrectionOverlayView: View {if self.session.isReady {Label("Ready", systemImage: "checkmark.circle.fill")- .font(.system(size: 10.5, weight: .semibold))+ .font(.fluidSystem(size: 10.5, weight: .semibold)).foregroundStyle(self.accent)}}@@ -958,7 +958,7 @@ private struct AutomaticDictionaryCorrectionOverlayView: View {private var capturedVariantsRow: some View {HStack(spacing: 6) {Text("Captured")- .font(.system(size: 10.5, weight: .medium))+ .font(.fluidSystem(size: 10.5, weight: .medium)).foregroundStyle(.white.opacity(0.46))ScrollView(.horizontal, showsIndicators: false) {@@ -1021,12 +1021,12 @@ private struct CorrectionOverlayReadinessRing: View {VStack(spacing: 0) {Text("\(self.progress)/\(self.total)")- .font(.system(size: 16, weight: .bold, design: .rounded))+ .font(.fluidSystem(size: 16, weight: .bold, design: .rounded)).foregroundStyle(self.isReady ? self.accent : .white.opacity(0.92)).monospacedDigit()Text(self.isReady ? "Ready" : "correct")- .font(.system(size: 8.5, weight: .medium))+ .font(.fluidSystem(size: 8.5, weight: .medium)).foregroundStyle(.white.opacity(0.46))}}@@ -1064,7 +1064,7 @@ private struct CorrectionOverlayActionButton: View {var body: some View {Button(action: self.action) {Label(self.title, systemImage: self.systemImage)- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(.white.opacity(self.isEnabled ? 0.94 : 0.42)).frame(maxWidth: .infinity).frame(height: 36)@@ -1147,7 +1147,7 @@ private struct CorrectionOverlayRecordButton: View {var body: some View {Button(action: self.action) {Label(self.title, systemImage: self.isStop ? "stop.fill" : "mic.fill")- .font(.system(size: 12, weight: .semibold))+ .font(.fluidSystem(size: 12, weight: .semibold)).foregroundStyle(.white.opacity(self.isEnabled ? 0.95 : 0.4)).padding(.horizontal, 13).frame(height: 36)@@ -1179,10 +1179,10 @@ private struct CorrectionOverlayVariantChip: View {.lineLimit(1).minimumScaleFactor(0.75)Image(systemName: "xmark.circle.fill")- .font(.system(size: 9))+ .font(.fluidSystem(size: 9)).foregroundStyle(.white.opacity(self.isHovered ? 0.72 : 0.42))}- .font(.system(size: 10.5, weight: .medium))+ .font(.fluidSystem(size: 10.5, weight: .medium)).foregroundStyle(.white.opacity(0.72)).padding(.horizontal, 7).frame(height: 23)diff --git a/Sources/Fluid/Views/BottomOverlayView.swift b/Sources/Fluid/Views/BottomOverlayView.swiftindex d96db902..71e79c85 100644--- a/Sources/Fluid/Views/BottomOverlayView.swift+++ b/Sources/Fluid/Views/BottomOverlayView.swift@@ -1445,11 +1445,11 @@ private struct BottomOverlayModeMenuView: View {}) {HStack(alignment: .center, spacing: 8) {Text(title)- .font(.system(size: 15, weight: .semibold))+ .font(.fluidSystem(size: 15, weight: .semibold))Spacer()if !shortcut.isEmpty {Text(shortcut)- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(.white.opacity(0.7)).padding(.horizontal, 6).padding(.vertical, 2)@@ -1458,7 +1458,7 @@ private struct BottomOverlayModeMenuView: View {}if isSelected {Image(systemName: "checkmark")- .font(.system(size: 10, weight: .semibold))+ .font(.fluidSystem(size: 10, weight: .semibold))}}.padding(.horizontal, 8)@@ -1564,7 +1564,7 @@ private struct BottomOverlayPromptMenuView: View {private func shortcutBadge(for selection: SettingsStore.DictationPromptSelection) -> some View {if let shortcut = self.shortcutDisplay(for: selection) {Text(shortcut)- .font(.system(size: 9, weight: .semibold))+ .font(.fluidSystem(size: 9, weight: .semibold)).foregroundStyle(.white.opacity(0.58)).lineLimit(1).truncationMode(.middle)@@ -1599,11 +1599,11 @@ private struct BottomOverlayPromptMenuView: View {Text("Fast")Spacer(minLength: 12)Text("No cleanup")- .font(.system(size: 10, weight: .medium))+ .font(.fluidSystem(size: 10, weight: .medium)).foregroundStyle(.white.opacity(0.45))if isSelected {Image(systemName: "checkmark")- .font(.system(size: 10, weight: .semibold))+ .font(.fluidSystem(size: 10, weight: .semibold))}self.shortcutBadge(for: .off)}@@ -1639,7 +1639,7 @@ private struct BottomOverlayPromptMenuView: View {Spacer()if isSelected {Image(systemName: "checkmark")- .font(.system(size: 10, weight: .semibold))+ .font(.fluidSystem(size: 10, weight: .semibold))}self.shortcutBadge(for: .default)}@@ -1668,11 +1668,11 @@ private struct BottomOverlayPromptMenuView: View {Text("Cleanup")Spacer(minLength: 12)Text("Fluid-1")- .font(.system(size: 10, weight: .medium))+ .font(.fluidSystem(size: 10, weight: .medium)).foregroundStyle(.white.opacity(0.45))if isSelected {Image(systemName: "checkmark")- .font(.system(size: 10, weight: .semibold))+ .font(.fluidSystem(size: 10, weight: .semibold))}self.shortcutBadge(for: .privateAI)}@@ -1711,7 +1711,7 @@ private struct BottomOverlayPromptMenuView: View {Spacer()if isSelected {Image(systemName: "checkmark")- .font(.system(size: 10, weight: .semibold))+ .font(.fluidSystem(size: 10, weight: .semibold))}self.shortcutBadge(for: .profile(profile.id))}@@ -1732,7 +1732,7 @@ private struct BottomOverlayPromptMenuView: View {VStack(alignment: .leading, spacing: 0) {if self.promptMode.normalized == .dictate {Text("ON-DEVICE")- .font(.system(size: 10, weight: .semibold))+ .font(.fluidSystem(size: 10, weight: .semibold)).foregroundStyle(.white.opacity(0.4)).padding(.horizontal, 8).padding(.top, 4)@@ -1751,7 +1751,7 @@ private struct BottomOverlayPromptMenuView: View {}Text("EXTERNAL")- .font(.system(size: 10, weight: .semibold))+ .font(.fluidSystem(size: 10, weight: .semibold)).foregroundStyle(.white.opacity(0.4)).padding(.horizontal, 8).padding(.top, self.promptMode.normalized == .dictate ? 0 : 4)@@ -1877,10 +1877,10 @@ private struct BottomOverlayActionsMenuView: View {}) {HStack(spacing: 8) {Text(title)- .font(.system(size: 14, weight: .semibold))+ .font(.fluidSystem(size: 14, weight: .semibold))Spacer()Image(systemName: icon)- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold))}.padding(.horizontal, 8).padding(.vertical, 6)@@ -1908,16 +1908,16 @@ private struct BottomOverlayActionsMenuView: View {}) {HStack(spacing: 8) {Text(title)- .font(.system(size: 14, weight: .semibold))+ .font(.fluidSystem(size: 14, weight: .semibold))Spacer()if !shortcut.isEmpty {Text(shortcut)- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(.white.opacity(0.7))}if isSelected {Image(systemName: "checkmark")- .font(.system(size: 10, weight: .semibold))+ .font(.fluidSystem(size: 10, weight: .semibold))}}.padding(.horizontal, 8)@@ -1933,7 +1933,7 @@ private struct BottomOverlayActionsMenuView: View {var body: some View {VStack(alignment: .leading, spacing: 0) {Text("MODE")- .font(.system(size: 10, weight: .semibold))+ .font(.fluidSystem(size: 10, weight: .semibold)).foregroundStyle(.white.opacity(0.4)).padding(.horizontal, 8).padding(.top, 4)@@ -1947,7 +1947,7 @@ private struct BottomOverlayActionsMenuView: View {.padding(.vertical, 4)Text("ACTIONS")- .font(.system(size: 10, weight: .semibold))+ .font(.fluidSystem(size: 10, weight: .semibold)).foregroundStyle(.white.opacity(0.4)).padding(.horizontal, 8).padding(.bottom, 3)@@ -2797,17 +2797,17 @@ struct BottomOverlayView: View {HStack(spacing: 5) {if !self.isCompactControls {Text("Mode:")- .font(.system(size: self.promptSelectorFontSize, weight: .medium))+ .font(.fluidSystem(size: self.promptSelectorFontSize, weight: .medium)).foregroundStyle(.white.opacity(0.5)).lineLimit(1).fixedSize(horizontal: true, vertical: false)}Text(self.modeLabel)- .font(.system(size: self.promptSelectorFontSize, weight: .semibold))+ .font(.fluidSystem(size: self.promptSelectorFontSize, weight: .semibold)).foregroundStyle(.white.opacity(0.75)).lineLimit(1)Image(systemName: "chevron.up")- .font(.system(size: max(self.promptSelectorFontSize - 1, 8), weight: .semibold))+ .font(.fluidSystem(size: max(self.promptSelectorFontSize - 1, 8), weight: .semibold)).foregroundStyle(.white.opacity(0.45))}.fixedSize(horizontal: true, vertical: false)@@ -2848,11 +2848,11 @@ struct BottomOverlayView: View {HStack(spacing: 5) {if let promptSelectorIconName = self.promptSelectorIconName {Image(systemName: promptSelectorIconName)- .font(.system(size: max(self.promptSelectorFontSize - 1, 9), weight: .semibold))+ .font(.fluidSystem(size: max(self.promptSelectorFontSize - 1, 9), weight: .semibold)).foregroundStyle(.white.opacity(0.72))}Text(self.promptSelectorDisplayLabel)- .font(.system(size: self.promptSelectorFontSize, weight: .semibold))+ .font(.fluidSystem(size: self.promptSelectorFontSize, weight: .semibold)).foregroundStyle(.white.opacity(0.82)).lineLimit(1).truncationMode(.tail)@@ -2862,7 +2862,7 @@ struct BottomOverlayView: View {)if self.isAppPromptOverrideActive {Text("App")- .font(.system(size: max(self.promptSelectorFontSize - 2, 8), weight: .semibold))+ .font(.fluidSystem(size: max(self.promptSelectorFontSize - 2, 8), weight: .semibold)).foregroundStyle(.white.opacity(0.9)).padding(.horizontal, 5).padding(.vertical, 1)@@ -2872,7 +2872,7 @@ struct BottomOverlayView: View {)}Image(systemName: "chevron.down")- .font(.system(size: max(self.promptSelectorFontSize - 1, 8), weight: .semibold))+ .font(.fluidSystem(size: max(self.promptSelectorFontSize - 1, 8), weight: .semibold)).foregroundStyle(.white.opacity(0.45))}.padding(.horizontal, 7)@@ -2888,7 +2888,7 @@ struct BottomOverlayView: View {.overlay(alignment: .top) {if self.isHoveringPromptChip, self.isPromptSelectableMode, !self.contentState.isProcessing {Text("Select cleanup mode")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(.white.opacity(0.9)).padding(.horizontal, 8).padding(.vertical, 4)@@ -2947,7 +2947,7 @@ struct BottomOverlayView: View {let actionsDisabled = self.contentState.isProcessingreturn HStack(spacing: 0) {Image(systemName: "ellipsis")- .font(.system(size: 16, weight: .bold))+ .font(.fluidSystem(size: 16, weight: .bold)).foregroundStyle(.white.opacity(actionsDisabled ? 0.3 : 0.78))}.frame(width: 32, height: 32)@@ -2958,7 +2958,7 @@ struct BottomOverlayView: View {.overlay(alignment: .top) {if self.isHoveringActionsChip, !actionsDisabled {Text("Actions")- .font(.system(size: 11, weight: .semibold))+ .font(.fluidSystem(size: 11, weight: .semibold)).foregroundStyle(.white.opacity(0.9)).padding(.horizontal, 8).padding(.vertical, 4)@@ -3010,7 +3010,7 @@ struct BottomOverlayView: View {let disabled = falsereturn HStack(spacing: 0) {Image(systemName: "gearshape")- .font(.system(size: max(self.promptSelectorFontSize + 1, 10), weight: .semibold))+ .font(.fluidSystem(size: max(self.promptSelectorFontSize + 1, 10), weight: .semibold)).foregroundStyle(.white.opacity(0.72))}.padding(.horizontal, 9)@@ -3037,7 +3037,7 @@ struct BottomOverlayView: View {private func failureIconButton(systemName: String, help: String, action: @escaping () -> Void) -> some View {Button(action: action) {Image(systemName: systemName)- .font(.system(size: max(self.layout.transFontSize - 1, 10), weight: .semibold))+ .font(.fluidSystem(size: max(self.layout.transFontSize - 1, 10), weight: .semibold)).foregroundStyle(.white.opacity(0.86)).frame(width: 20, height: 20).background(@@ -3052,7 +3052,7 @@ struct BottomOverlayView: View {private var aiProcessingFailureView: some View {HStack(spacing: 8) {Text(self.contentState.aiProcessingFailureMessage)- .font(.system(size: self.layout.transFontSize, weight: .semibold))+ .font(.fluidSystem(size: self.layout.transFontSize, weight: .semibold)).foregroundStyle(self.contentState.canRetryAIProcessingFailure? Color.white.opacity(0.9)@@ -3126,7 +3126,7 @@ struct BottomOverlayView: View {private var textDeliveryFailureView: some View {HStack(spacing: 8) {Text(self.contentState.textDeliveryFailureMessage)- .font(.system(size: self.layout.transFontSize, weight: .semibold))+ .font(.fluidSystem(size: self.layout.transFontSize, weight: .semibold)).foregroundStyle(Color.orange.opacity(0.9)).lineLimit(1).truncationMode(.tail)@@ -3153,7 +3153,7 @@ struct BottomOverlayView: View {ScrollViewReader { proxy inScrollView(.vertical, showsIndicators: false) {self.richPreviewText(previewText)- .font(.system(size: self.layout.transFontSize, weight: .medium))+ .font(.fluidSystem(size: self.layout.transFontSize, weight: .medium)).multilineTextAlignment(.leading).lineLimit(nil).fixedSize(horizontal: false, vertical: true)@@ -3174,7 +3174,7 @@ struct BottomOverlayView: View {private func dynamicPreviewText(_ previewText: String) -> some View {if self.settings.overlaySize == .small {self.richPreviewText(previewText)- .font(.system(size: self.layout.transFontSize, weight: .medium))+ .font(.fluidSystem(size: self.layout.transFontSize, weight: .medium)).multilineTextAlignment(.leading).lineLimit(1).truncationMode(.head)@@ -3182,7 +3182,7 @@ struct BottomOverlayView: View {.padding(.vertical, max(2, self.transcriptionVerticalPadding - 1))} else {self.richPreviewText(previewText)- .font(.system(size: self.layout.transFontSize, weight: .medium))+ .font(.fluidSystem(size: self.layout.transFontSize, weight: .medium)).multilineTextAlignment(.leading).lineLimit(Int(self.previewMaxHeight / max(self.estimatedPreviewLineHeight, 1))).truncationMode(.head)@@ -3220,7 +3220,7 @@ struct BottomOverlayView: View {// ShimmerText(// text: self.processingStatusText,// color: self.modeColor,- // font: .system(size: self.layout.transFontSize, weight: .medium)+ // font: .fluidSystem(size: self.layout.transFontSize, weight: .medium)// )// .id(self.processingStatusCycleID)// .frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .center)@@ -3233,7 +3233,7 @@ struct BottomOverlayView: View {ScrollViewReader { proxy inScrollView(.vertical, showsIndicators: false) {Text(previewText)- .font(.system(size: self.layout.transFontSize, weight: .medium))+ .font(.fluidSystem(size: self.layout.transFontSize, weight: .medium)).foregroundStyle(.white.opacity(0.9)).multilineTextAlignment(.leading).lineLimit(nil)@@ -3282,7 +3282,7 @@ struct BottomOverlayView: View {if !previewText.isEmpty {if self.settings.overlaySize == .small {Text(previewText)- .font(.system(size: self.layout.transFontSize, weight: .medium))+ .font(.fluidSystem(size: self.layout.transFontSize, weight: .medium)).foregroundStyle(.white.opacity(0.9)).multilineTextAlignment(.leading).lineLimit(1)@@ -3291,7 +3291,7 @@ struct BottomOverlayView: View {.padding(.vertical, max(2, self.transcriptionVerticalPadding - 1))} else {Text(previewText)- .font(.system(size: self.layout.transFontSize, weight: .medium))+ .font(.fluidSystem(size: self.layout.transFontSize, weight: .medium)).foregroundStyle(.white.opacity(0.9)).multilineTextAlignment(.leading).lineLimit(Int(self.previewMaxHeight / max(self.estimatedPreviewLineHeight, 1)))@@ -3306,7 +3306,7 @@ struct BottomOverlayView: View {// ShimmerText(// text: self.processingStatusText,// color: self.modeColor,- // font: .system(size: self.layout.transFontSize, weight: .medium)+ // font: .fluidSystem(size: self.layout.transFontSize, weight: .medium)// )// .id(self.processingStatusCycleID)Color.clear@@ -3353,7 +3353,7 @@ struct BottomOverlayView: View {if self.layout.showsModeLabel, !self.layout.showsTopControls {VStack(alignment: .leading, spacing: 2) {Text(self.modeLabel)- .font(.system(size: self.layout.modeFontSize, weight: .semibold))+ .font(.fluidSystem(size: self.layout.modeFontSize, weight: .semibold)).foregroundStyle(self.modeColor).lineLimit(1).fixedSize(horizontal: true, vertical: false)@@ -3363,7 +3363,7 @@ struct BottomOverlayView: View {&& self.settings.overlaySize != .small{Text("Loading model…")- .font(.system(size: max(self.layout.modeFontSize - 2, 9), weight: .medium))+ .font(.fluidSystem(size: max(self.layout.modeFontSize - 2, 9), weight: .medium)).foregroundStyle(.orange.opacity(0.85)).lineLimit(1)}diff --git a/Sources/Fluid/Views/CommandModeView.swift b/Sources/Fluid/Views/CommandModeView.swiftindex d0ae0128..d8c4c72a 100644--- a/Sources/Fluid/Views/CommandModeView.swift+++ b/Sources/Fluid/Views/CommandModeView.swift@@ -103,11 +103,11 @@ struct CommandModeView: View {HStack {HStack(spacing: 8) {Text("Command Mode")- .font(.title2)+ .font(.fluidSystem(.title2)).fontWeight(.bold)Text("Alpha")- .font(.caption2)+ .font(.fluidSystem(.caption2)).fontWeight(.semibold).foregroundStyle(.white).padding(.horizontal, 6)@@ -144,13 +144,13 @@ struct CommandModeView: View {HStack {if chat.id == self.service.currentChatID {Image(systemName: "checkmark")- .font(.caption)+ .font(.fluidSystem(.caption))}Text(chat.title).lineLimit(1)Spacer()Text(chat.relativeTimeString)- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)}}@@ -180,7 +180,7 @@ struct CommandModeView: View {// Confirm Before Execute ToggleToggle(isOn: self.$settings.commandModeConfirmBeforeExecute) {Label("Confirm", systemImage: "checkmark.shield")- .font(.caption)+ .font(.fluidSystem(.caption))}.toggleStyle(.checkbox).help("Ask for confirmation before running commands")@@ -211,12 +211,12 @@ struct CommandModeView: View {Button(action: { withAnimation(.easeInOut(duration: 0.2)) { self.showHowTo.toggle() } }) {HStack {Image(systemName: "questionmark.circle")- .font(.caption)+ .font(.fluidSystem(.caption))Text("How to use")- .font(.caption)+ .font(.fluidSystem(.caption))Spacer()Image(systemName: self.showHowTo ? "chevron.up" : "chevron.down")- .font(.caption2)+ .font(.fluidSystem(.caption2))}.foregroundStyle(self.isHoveringHowTo ? .primary : .secondary).padding(.horizontal, 16)@@ -234,22 +234,22 @@ struct CommandModeView: View {// Start sectionVStack(alignment: .leading, spacing: 4) {Text("Getting Started")- .font(.caption)+ .font(.fluidSystem(.caption)).fontWeight(.semibold).foregroundStyle(.secondary)HStack(spacing: 4) {Text("Press")- .font(.caption)+ .font(.fluidSystem(.caption))Text(self.shortcutDisplay)- .font(.caption)+ .font(.fluidSystem(.caption)).fontWeight(.medium).padding(.horizontal, 6).padding(.vertical, 2).background(self.theme.palette.cardBackground.opacity(0.8)).cornerRadius(4)Text("to open Command Mode, speak your command, then press again to send.")- .font(.caption)+ .font(.fluidSystem(.caption))}.foregroundStyle(.primary.opacity(0.8))}@@ -257,7 +257,7 @@ struct CommandModeView: View {// ExamplesVStack(alignment: .leading, spacing: 4) {Text("Examples")- .font(.caption)+ .font(.fluidSystem(.caption)).fontWeight(.semibold).foregroundStyle(.secondary)@@ -277,10 +277,10 @@ struct CommandModeView: View {Text("Caution").fontWeight(.semibold)}- .font(.caption)+ .font(.fluidSystem(.caption))Text("AI can make mistakes. Avoid dangerous commands like deleting important files. Destructive actions will ask for confirmation.")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)}}@@ -297,7 +297,7 @@ struct CommandModeView: View {Text("•").foregroundStyle(.secondary)Text(text)- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.primary.opacity(0.8))}}@@ -361,7 +361,7 @@ struct CommandModeView: View {if self.settings.showThinkingTokens && !self.service.streamingThinkingText.isEmpty {ScrollView(.vertical, showsIndicators: true) {Text(self.service.streamingThinkingText)- .font(.system(size: 10))+ .font(.fluidSystem(size: 10)).foregroundStyle(.secondary).textSelection(.enabled).frame(maxWidth: .infinity, alignment: .leading)@@ -411,13 +411,13 @@ struct CommandModeView: View {HStack {Image(systemName: "exclamationmark.shield.fill").foregroundStyle(.orange)- .font(.title3)+ .font(.fluidSystem(.title3))VStack(alignment: .leading, spacing: 2) {Text("Confirm Execution").fontWeight(.semibold)if let purpose = pending.purpose {Text(purpose)- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)}}@@ -428,9 +428,9 @@ struct CommandModeView: View {VStack(alignment: .leading, spacing: 0) {HStack {Image(systemName: "terminal.fill")- .font(.caption)+ .font(.fluidSystem(.caption))Text("Command")- .font(.caption)+ .font(.fluidSystem(.caption)).fontWeight(.medium)Spacer()}@@ -441,7 +441,7 @@ struct CommandModeView: View {Divider()Text(pending.command)- .font(.system(.callout, design: .monospaced))+ .font(.fluidSystem(.callout, design: .monospaced)).textSelection(.enabled).padding(10)}@@ -480,10 +480,10 @@ struct CommandModeView: View {if let issue = self.settings.commandModeReadinessIssue {HStack(spacing: 8) {Image(systemName: "exclamationmark.triangle.fill")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.orange)Text(issue)- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary).lineLimit(2)@@ -492,7 +492,7 @@ struct CommandModeView: View {Button("AI Providers") {AppNavigationRouter.shared.request(.aiEnhancements)}- .font(.caption)+ .font(.fluidSystem(.caption)).buttonStyle(.plain).controlSize(.small)}@@ -503,7 +503,7 @@ struct CommandModeView: View {VStack(alignment: .leading, spacing: 14) {TextField("Type a command or ask a question...", text: self.$inputText, axis: .vertical).textFieldStyle(.plain)- .font(.system(size: 16))+ .font(.fluidSystem(size: 16)).lineLimit(1...4).onSubmit {self.submitCommand()@@ -512,7 +512,7 @@ struct CommandModeView: View {HStack(spacing: 10) {Toggle("Sync", isOn: self.$settings.commandModeLinkedToGlobal).toggleStyle(.checkbox)- .font(.callout)+ .font(.fluidSystem(.callout)).foregroundStyle(.secondary).fixedSize(horizontal: true, vertical: false).help("Use the same provider and model selected in AI Providers.")@@ -556,7 +556,7 @@ struct CommandModeView: View {Button(action: self.toggleRecording) {Image(systemName: self.asr.isRunning ? "stop.fill" : "mic")- .font(.system(size: 15, weight: .semibold))+ .font(.fluidSystem(size: 15, weight: .semibold)).frame(width: 34, height: 34).foregroundStyle(self.asr.isRunning ? Color.red : .secondary).contentShape(Circle())@@ -567,7 +567,7 @@ struct CommandModeView: View {Button(action: self.submitCommand) {Image(systemName: "arrow.up")- .font(.system(size: 18, weight: .semibold))+ .font(.fluidSystem(size: 18, weight: .semibold)).frame(width: 34, height: 34).foregroundStyle(self.canSubmitCommand ? Color.white : .secondary).background(@@ -714,7 +714,7 @@ struct CommandShimmerText: View {let trailingEdge = min(1, center + 0.18)Text(self.text)- .font(.system(size: 13, weight: .semibold))+ .font(.fluidSystem(size: 13, weight: .semibold)).foregroundStyle(LinearGradient(stops: [@@ -756,7 +756,7 @@ struct MessageBubble: View {private var userMessageView: some View {Text(self.message.content)- .font(.system(size: 13))+ .font(.fluidSystem(size: 13)).padding(.horizontal, 12).padding(.vertical, 8).background(self.theme.palette.accent.opacity(0.15))@@ -776,7 +776,7 @@ struct MessageBubble: View {// Purpose label (minimal, gray)if let tc = message.toolCall, let purpose = tc.purpose {Text(purpose)- .font(.system(size: 11))+ .font(.fluidSystem(size: 11)).foregroundStyle(.secondary)}@@ -799,17 +799,17 @@ struct MessageBubble: View {Button(action: { withAnimation(.easeInOut(duration: 0.2)) { self.isThinkingExpanded.toggle() } }) {HStack(spacing: 6) {Text("Thinking")- .font(.system(size: 11, weight: .medium))+ .font(.fluidSystem(size: 11, weight: .medium)).foregroundStyle(.secondary)if self.isThinkingExpanded {Text("\(thinking.count) chars")- .font(.system(size: 9))+ .font(.fluidSystem(size: 9)).foregroundStyle(.tertiary)}Image(systemName: self.isThinkingExpanded ? "chevron.up" : "chevron.down")- .font(.system(size: 9, weight: .semibold))+ .font(.fluidSystem(size: 9, weight: .semibold)).foregroundStyle(.tertiary)Spacer(minLength: 0)@@ -823,7 +823,7 @@ struct MessageBubble: View {if self.isThinkingExpanded {ScrollView(.vertical, showsIndicators: true) {Text(thinking)- .font(.system(size: 10))+ .font(.fluidSystem(size: 10)).foregroundStyle(.secondary).textSelection(.enabled).frame(maxWidth: .infinity, alignment: .leading)@@ -848,13 +848,13 @@ struct MessageBubble: View {!self.message.content.lowercased().starts(with: "i'll"){Text(self.message.content)- .font(.system(size: 12))+ .font(.fluidSystem(size: 12)).foregroundStyle(.secondary)}// Command block - clean and simpleText(tc.command)- .font(.system(size: 12, design: .monospaced))+ .font(.fluidSystem(size: 12, design: .monospaced)).foregroundStyle(.primary).textSelection(.enabled).padding(.horizontal, 10)@@ -873,14 +873,14 @@ struct MessageBubble: View {// Minimal header - just status and timeHStack(spacing: 6) {Text(parsed.success ? "Success" : "Error")- .font(.system(size: 11, weight: .medium))+ .font(.fluidSystem(size: 11, weight: .medium)).foregroundStyle(parsed.success ? .primary : .secondary)Spacer()if parsed.executionTime > 0 {Text("\(parsed.executionTime)ms")- .font(.system(size: 10))+ .font(.fluidSystem(size: 10)).foregroundStyle(.tertiary)}}@@ -896,14 +896,14 @@ struct MessageBubble: View {VStack(alignment: .leading, spacing: 2) {if !parsed.output.isEmpty {Text(self.markdownAttributedString(from: parsed.output))- .font(.system(size: 11, design: .monospaced))+ .font(.fluidSystem(size: 11, design: .monospaced)).foregroundStyle(.secondary).textSelection(.enabled)}if let error = parsed.error, !error.isEmpty {Text(error)- .font(.system(size: 11, design: .monospaced))+ .font(.fluidSystem(size: 11, design: .monospaced)).foregroundStyle(.secondary).textSelection(.enabled)}@@ -923,7 +923,7 @@ struct MessageBubble: View {private var textContentView: some View {Text(self.markdownAttributedString(from: self.message.content))- .font(.system(size: 13))+ .font(.fluidSystem(size: 13)).textSelection(.enabled)}diff --git a/Sources/Fluid/Views/NotchContentViews.swift b/Sources/Fluid/Views/NotchContentViews.swiftindex ba2e66a4..67ae4387 100644--- a/Sources/Fluid/Views/NotchContentViews.swift+++ b/Sources/Fluid/Views/NotchContentViews.swift@@ -83,7 +83,7 @@ struct SpokenSendIndicatorView: View {private func symbol(_ name: String, color: Color, accessibilityLabel: String) -> some View {Image(systemName: name)- .font(.system(size: max(6, self.size * 0.46), weight: .semibold))+ .font(.fluidSystem(size: max(6, self.size * 0.46), weight: .semibold)).foregroundStyle(color).accessibilityLabel(accessibilityLabel)}@@ -396,7 +396,7 @@ extension OverlayMode {struct ShimmerText: View {let text: Stringlet color: Color- var font: Font = .system(size: 9, weight: .medium)+ var font: Font = .fluidSystem(size: 9, weight: .medium)var body: some View {Text(self.text)@@ -786,7 +786,7 @@ struct NotchExpandedView: View {action()}) {Text(title)- .font(.system(size: 9, weight: isSelected ? .semibold : .medium))+ .font(.fluidSystem(size: 9, weight: isSelected ? .semibold : .medium)).foregroundStyle(.white.opacity(isSelected ? 0.96 : 0.84)).lineLimit(1).truncationMode(.tail)@@ -808,7 +808,7 @@ struct NotchExpandedView: View {let activeDictationSlot = self.activeDictationShortcutSlotreturn VStack(alignment: .leading, spacing: 2) {Text("AI Prompt")- .font(.system(size: 8, weight: .semibold))+ .font(.fluidSystem(size: 8, weight: .semibold)).foregroundStyle(Color.white.opacity(0.42)).padding(.horizontal, 6).padding(.top, 2)@@ -900,17 +900,17 @@ struct NotchExpandedView: View {if self.presentationPolicy.showsPromptSelector {HStack(spacing: 3) {Text(self.compactPromptLabel)- .font(.system(size: 9, weight: .medium))+ .font(.fluidSystem(size: 9, weight: .medium)).foregroundStyle(self.isHoveringPromptChip ? .white.opacity(0.94) : .white.opacity(0.86)).lineLimit(1).truncationMode(.tail).fixedSize(horizontal: true, vertical: false)Image(systemName: "chevron.down")- .font(.system(size: 8, weight: .bold))+ .font(.fluidSystem(size: 8, weight: .bold)).foregroundStyle(self.isHoveringPromptChip ? .white.opacity(0.78) : .white.opacity(0.62))if self.isAppPromptOverrideActive {Text("App")- .font(.system(size: 8, weight: .semibold))+ .font(.fluidSystem(size: 8, weight: .semibold)).foregroundStyle(.white.opacity(0.82)).padding(.horizontal, 3).padding(.vertical, 1)@@ -1037,7 +1037,7 @@ struct NotchExpandedView: View {if self.contentState.isTextDeliveryFailureVisible && !self.contentState.isProcessing {HStack(spacing: 6) {Text(self.contentState.textDeliveryFailureMessage)- .font(.system(size: 10, weight: .semibold))+ .font(.fluidSystem(size: 10, weight: .semibold)).foregroundStyle(Color.orange.opacity(0.9)).lineLimit(1).truncationMode(.tail)@@ -1048,7 +1048,7 @@ struct NotchExpandedView: View {_ = ClipboardService.copyToClipboard(self.contentState.textDeliveryFailureTranscript)} label: {Image(systemName: "doc.on.doc")- .font(.system(size: 9, weight: .bold))+ .font(.fluidSystem(size: 9, weight: .bold)).frame(width: 16, height: 16)}.buttonStyle(.plain)@@ -1060,7 +1060,7 @@ struct NotchExpandedView: View {self.contentState.onRetryTextDeliveryRequested?(transcript)} label: {Image(systemName: "arrow.down.doc")- .font(.system(size: 9, weight: .bold))+ .font(.fluidSystem(size: 9, weight: .bold)).frame(width: 16, height: 16)}.buttonStyle(.plain)@@ -1071,7 +1071,7 @@ struct NotchExpandedView: View {NotchOverlayManager.shared.hide()} label: {Image(systemName: "xmark")- .font(.system(size: 9, weight: .bold))+ .font(.fluidSystem(size: 9, weight: .bold)).frame(width: 16, height: 16)}.buttonStyle(.plain)@@ -1083,7 +1083,7 @@ struct NotchExpandedView: View {} else if self.contentState.isAIProcessingFailureVisible && !self.contentState.isProcessing {HStack(spacing: 6) {Text(self.contentState.aiProcessingFailureMessage)- .font(.system(size: 10, weight: .semibold))+ .font(.fluidSystem(size: 10, weight: .semibold)).foregroundStyle(self.contentState.canRetryAIProcessingFailure? Color.white.opacity(0.82)@@ -1100,7 +1100,7 @@ struct NotchExpandedView: View {self.contentState.onReprocessLastRequested?()} label: {Image(systemName: "arrow.clockwise")- .font(.system(size: 9, weight: .bold))+ .font(.fluidSystem(size: 9, weight: .bold)).frame(width: 16, height: 16)}.buttonStyle(.plain)@@ -1112,7 +1112,7 @@ struct NotchExpandedView: View {NotchOverlayManager.shared.hide()} label: {Image(systemName: "xmark")- .font(.system(size: 9, weight: .bold))+ .font(.fluidSystem(size: 9, weight: .bold)).frame(width: 16, height: 16)}.buttonStyle(.plain)@@ -1127,7 +1127,7 @@ struct NotchExpandedView: View {ScrollViewReader { proxy inScrollView(.vertical, showsIndicators: false) {Text(previewText)- .font(.system(size: 10, weight: .medium))+ .font(.fluidSystem(size: 10, weight: .medium)).foregroundStyle(.white.opacity(0.75)).multilineTextAlignment(.leading).lineLimit(nil)@@ -1392,7 +1392,7 @@ struct NotchCompactBottomView: View {var body: some View {ZStack(alignment: .leading) {Text(self.compactPreviewText)- .font(.system(size: 9, weight: .medium))+ .font(.fluidSystem(size: 9, weight: .medium)).foregroundStyle(.white.opacity(0.82)).lineLimit(1).truncationMode(.head)@@ -1509,13 +1509,13 @@ struct NotchCommandOutputExpandedView: View {// Mode labelif self.contentState.isRecordingInExpandedMode {Text("Listening...")- .font(.system(size: 11, weight: .medium))+ .font(.fluidSystem(size: 11, weight: .medium)).foregroundStyle(self.commandRed)} else if self.contentState.isCommandProcessing {ShimmerText(text: "Working...", color: self.commandRed)} else {Text("Command")- .font(.system(size: 11, weight: .medium))+ .font(.fluidSystem(size: 11, weight: .medium)).foregroundStyle(self.commandRed.opacity(0.7))}}@@ -1531,7 +1531,7 @@ struct NotchCommandOutputExpandedView: View {.fill(self.isHoveringNewChat ? self.commandRed.opacity(0.25) : self.commandRed.opacity(0.12)).frame(width: 22, height: 22)Image(systemName: "plus")- .font(.system(size: 10, weight: .semibold))+ .font(.fluidSystem(size: 10, weight: .semibold)).foregroundStyle(self.contentState.isCommandProcessing ? .white.opacity(0.3) : self.commandRed.opacity(0.85))}}@@ -1558,13 +1558,13 @@ struct NotchCommandOutputExpandedView: View {HStack {if chat.id == currentID {Image(systemName: "checkmark")- .font(.caption)+ .font(.fluidSystem(.caption))}Text(chat.title).lineLimit(1)Spacer()Text(chat.relativeTimeString)- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.secondary)}}@@ -1577,7 +1577,7 @@ struct NotchCommandOutputExpandedView: View {.fill(self.isHoveringRecent ? self.commandRed.opacity(0.25) : self.commandRed.opacity(0.12)).frame(width: 22, height: 22)Image(systemName: "clock.arrow.circlepath")- .font(.system(size: 9, weight: .semibold))+ .font(.fluidSystem(size: 9, weight: .semibold)).foregroundStyle(self.commandRed.opacity(0.85))}}@@ -1595,7 +1595,7 @@ struct NotchCommandOutputExpandedView: View {.fill(self.isHoveringClear ? self.commandRed.opacity(0.25) : self.commandRed.opacity(0.12)).frame(width: 22, height: 22)Image(systemName: "trash")- .font(.system(size: 9, weight: .semibold))+ .font(.fluidSystem(size: 9, weight: .semibold)).foregroundStyle(self.contentState.isCommandProcessing ? .white.opacity(0.3) : self.commandRed.opacity(0.85))}}@@ -1618,7 +1618,7 @@ struct NotchCommandOutputExpandedView: View {.fill(self.isHoveringDismiss ? self.commandRed.opacity(0.25) : self.commandRed.opacity(0.12)).frame(width: 22, height: 22)Image(systemName: "xmark")- .font(.system(size: 9, weight: .bold))+ .font(.fluidSystem(size: 9, weight: .bold)).foregroundStyle(self.commandRed.opacity(0.85))}}@@ -1645,7 +1645,7 @@ struct NotchCommandOutputExpandedView: View {ScrollViewReader { proxy inScrollView(.vertical, showsIndicators: false) {Text(previewText)- .font(.system(size: 11, weight: .medium))+ .font(.fluidSystem(size: 11, weight: .medium)).foregroundStyle(.white.opacity(0.75)).multilineTextAlignment(.leading).lineLimit(nil)@@ -1744,7 +1744,7 @@ struct NotchCommandOutputExpandedView: View {case .user:Spacer()Text(message.content)- .font(.system(size: 11))+ .font(.fluidSystem(size: 11)).foregroundStyle(.white.opacity(0.9)).padding(.horizontal, 10).padding(.vertical, 6)@@ -1755,7 +1755,7 @@ struct NotchCommandOutputExpandedView: View {case .assistant:Text(message.content)- .font(.system(size: 11))+ .font(.fluidSystem(size: 11)).foregroundStyle(.white.opacity(0.85)).padding(.horizontal, 10).padding(.vertical, 6)@@ -1771,7 +1771,7 @@ struct NotchCommandOutputExpandedView: View {.fill(self.commandRed.opacity(0.6)).frame(width: 4, height: 4)Text(message.content)- .font(.system(size: 10, weight: .medium))+ .font(.fluidSystem(size: 10, weight: .medium)).foregroundStyle(.white.opacity(0.5))}.padding(.vertical, 2)@@ -1783,7 +1783,7 @@ struct NotchCommandOutputExpandedView: View {private var streamingMessageView: some View {HStack(alignment: .top) {Text(self.contentState.commandStreamingText)- .font(.system(size: 11))+ .font(.fluidSystem(size: 11)).foregroundStyle(.white.opacity(0.85)).padding(.horizontal, 10).padding(.vertical, 6)@@ -1822,7 +1822,7 @@ struct NotchCommandOutputExpandedView: View {HStack(spacing: 8) {TextField("Ask follow-up...", text: self.$inputText).textFieldStyle(.plain)- .font(.system(size: 11))+ .font(.fluidSystem(size: 11)).foregroundStyle(.white).padding(.horizontal, 10).padding(.vertical, 6)@@ -1835,7 +1835,7 @@ struct NotchCommandOutputExpandedView: View {Button(action: self.submitFollowUp) {Image(systemName: "arrow.up.circle.fill")- .font(.system(size: 16))+ .font(.fluidSystem(size: 16)).foregroundStyle(self.inputText.isEmpty ? .white.opacity(0.3) : self.commandRed)}.buttonStyle(.plain)diff --git a/Sources/Fluid/Views/RewriteModeView.swift b/Sources/Fluid/Views/RewriteModeView.swiftindex 9b8e726c..221576ac 100644--- a/Sources/Fluid/Views/RewriteModeView.swift+++ b/Sources/Fluid/Views/RewriteModeView.swift@@ -26,10 +26,10 @@ struct RewriteModeView: View {// Header - cleaner, just title and closeHStack {Image(systemName: "pencil.and.outline")- .font(.title2)+ .font(.fluidSystem(.title2)).foregroundStyle(self.theme.palette.accent)Text("Edit Mode")- .font(.title2)+ .font(.fluidSystem(.title2)).fontWeight(.bold)Spacer()@@ -45,10 +45,10 @@ struct RewriteModeView: View {HStack(spacing: 6) {Image(systemName: "info.circle")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(self.theme.palette.secondaryText)Text("Edit Mode is powered by Custom Prompts.")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(self.theme.palette.secondaryText)Spacer(minLength: 0)}@@ -68,7 +68,7 @@ struct RewriteModeView: View {VStack(alignment: .leading, spacing: 8) {HStack {Text("Original Text")- .font(.caption)+ .font(.fluidSystem(.caption)).fontWeight(.bold).foregroundStyle(.secondary)Spacer()@@ -76,7 +76,7 @@ struct RewriteModeView: View {Button(self.showOriginal ? "Hide" : "Show") {withAnimation { self.showOriginal.toggle() }}- .font(.caption)+ .font(.fluidSystem(.caption)).buttonStyle(.link)}}@@ -93,17 +93,17 @@ struct RewriteModeView: View {} else {VStack(spacing: 12) {Image(systemName: "text.bubble")- .font(.system(size: 48))+ .font(.fluidSystem(size: 48)).foregroundStyle(self.theme.palette.accent)Text("Edit Mode")- .font(.title2)+ .font(.fluidSystem(.title2)).fontWeight(.bold)Text("Ask the AI to write anything for you - emails, replies, summaries, answers, and more.").foregroundStyle(.secondary).multilineTextAlignment(.center)Text("Or select text first to rewrite existing content.")- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.tertiary).multilineTextAlignment(.center).padding(.top, 4)@@ -116,7 +116,7 @@ struct RewriteModeView: View {if !self.service.rewrittenText.isEmpty {VStack(alignment: .leading, spacing: 8) {Text("Rewritten Text")- .font(.caption)+ .font(.fluidSystem(.caption)).fontWeight(.bold).foregroundStyle(self.theme.palette.accent)@@ -213,7 +213,7 @@ struct RewriteModeView: View {Button(action: self.submitRequest) {Image(systemName: "arrow.up.circle.fill")- .font(.title2)+ .font(.fluidSystem(.title2))}.buttonStyle(.plain).disabled(self.inputText.isEmpty || self.service.isProcessing)@@ -221,7 +221,7 @@ struct RewriteModeView: View {// Voice InputButton(action: self.toggleRecording) {Image(systemName: self.asr.isRunning ? "stop.circle.fill" : "mic.circle.fill")- .font(.title2)+ .font(.fluidSystem(.title2)).foregroundStyle(self.asr.isRunning ? Color.red : self.theme.palette.accent)}.buttonStyle(.plain)@@ -310,12 +310,12 @@ struct RewriteModeView: View {Button(action: { withAnimation(.easeInOut(duration: 0.2)) { self.showHowTo.toggle() } }) {HStack {Image(systemName: "questionmark.circle")- .font(.caption)+ .font(.fluidSystem(.caption))Text("How to use")- .font(.caption)+ .font(.fluidSystem(.caption))Spacer()Image(systemName: self.showHowTo ? "chevron.up" : "chevron.down")- .font(.caption2)+ .font(.fluidSystem(.caption2))}.foregroundStyle(self.isHoveringHowTo ? .primary : .secondary).padding(.horizontal, 16)@@ -333,22 +333,22 @@ struct RewriteModeView: View {// Create new textVStack(alignment: .leading, spacing: 4) {Text("Create New Text")- .font(.caption)+ .font(.fluidSystem(.caption)).fontWeight(.semibold).foregroundStyle(.secondary)HStack(spacing: 4) {Text("Press")- .font(.caption)+ .font(.fluidSystem(.caption))Text(self.shortcutDisplay)- .font(.caption)+ .font(.fluidSystem(.caption)).fontWeight(.medium).padding(.horizontal, 6).padding(.vertical, 2).background(self.theme.palette.cardBackground.opacity(0.8)).cornerRadius(4)Text("and speak what you want to write.")- .font(.caption)+ .font(.fluidSystem(.caption))}.foregroundStyle(.primary.opacity(0.8))@@ -359,22 +359,22 @@ struct RewriteModeView: View {// Edit selected textVStack(alignment: .leading, spacing: 4) {Text("Edit Selected Text")- .font(.caption)+ .font(.fluidSystem(.caption)).fontWeight(.semibold).foregroundStyle(.secondary)HStack(spacing: 4) {Text("Select text first, then press")- .font(.caption)+ .font(.fluidSystem(.caption))Text(self.shortcutDisplay)- .font(.caption)+ .font(.fluidSystem(.caption)).fontWeight(.medium).padding(.horizontal, 6).padding(.vertical, 2).background(Color.primary.opacity(0.1)).cornerRadius(4)Text("and speak your instruction.")- .font(.caption)+ .font(.fluidSystem(.caption))}.foregroundStyle(.primary.opacity(0.8))@@ -396,7 +396,7 @@ struct RewriteModeView: View {Text("•").foregroundStyle(.secondary)Text(text)- .font(.caption)+ .font(.fluidSystem(.caption)).foregroundStyle(.primary.opacity(0.8))}}@@ -413,7 +413,7 @@ struct RewriteModeView: View {Spacer()Image(systemName: self.isThinkingExpanded ? "chevron.up" : "chevron.down")- .font(.caption2)+ .font(.fluidSystem(.caption2)).foregroundStyle(.secondary.opacity(0.6))}.padding(.horizontal, 12)@@ -425,7 +425,7 @@ struct RewriteModeView: View {if self.isThinkingExpanded {ScrollView(.vertical, showsIndicators: true) {Text(self.service.streamingThinkingText)- .font(.system(size: 11))+ .font(.fluidSystem(size: 11)).foregroundStyle(.secondary).textSelection(.enabled).frame(maxWidth: .infinity, alignment: .leading)@@ -437,7 +437,7 @@ struct RewriteModeView: View {// Preview - first 100 charsif !self.service.streamingThinkingText.isEmpty {Text(String(self.service.streamingThinkingText.prefix(100)) + (self.service.streamingThinkingText.count > 100 ? "..." : ""))- .font(.system(size: 11))+ .font(.fluidSystem(size: 11)).foregroundStyle(.secondary.opacity(0.7)).lineLimit(2).padding(.horizontal, 12)diff --git a/Tests/FluidTypographyTests.swift b/Tests/FluidTypographyTests.swiftnew file mode 100644index 00000000..985058c7--- /dev/null+++ b/Tests/FluidTypographyTests.swift@@ -0,0 +1,41 @@+import AppKit+import SwiftUI++@main+struct FluidTypographyTests {+ static func main() {+ precondition(FluidTypography.resolvedName(for: .named("FluidVoice-Missing-Font")) == nil)+ precondition(FluidTypography.resolvedName(for: .system) == nil)+ let custom = ProcessInfo.processInfo.environment["TEST_CUSTOM_FONTS"] == "1"+ for design: Font.Design in [.default, .serif, .rounded, .monospaced] {+ if custom {+ precondition(FluidTypography.name(for: design) == "AvenirNext-Regular")+ precondition(Font.fluidSystem(size: 23, weight: .semibold, design: design) == Font.custom("AvenirNext-Regular", fixedSize: 23).weight(.semibold))+ } else {+ precondition(FluidTypography.name(for: design) == nil)+ precondition(Font.fluidSystem(size: 23, weight: .semibold, design: design) == Font.system(size: 23, weight: .semibold, design: FluidTypography.systemDesign(for: design)))+ precondition(Font.fluidSystem(.caption, design: design) == Font.system(.caption, design: FluidTypography.systemDesign(for: design)))+ }+ }+ let native = NSFont.fluidSystemFont(ofSize: 18, weight: .semibold)+ let mono = NSFont.fluidMonospacedSystemFont(ofSize: 13, weight: .regular)+ precondition(native.pointSize == 18 && mono.pointSize == 13)+ if custom {+ precondition(native.familyName == "Avenir Next" && mono.familyName == "Avenir Next")+ } else {+ if FluidTypography.systemDesign(for: .default) == .serif {+ let descriptor = NSFont.systemFont(ofSize: 18, weight: .semibold).fontDescriptor.withDesign(.serif)!+ precondition(native == NSFont(descriptor: descriptor, size: 18))+ } else {+ precondition(native == NSFont.systemFont(ofSize: 18, weight: .semibold))+ }+ if FluidTypography.systemDesign(for: .monospaced) == .serif {+ let descriptor = NSFont.systemFont(ofSize: 13, weight: .regular).fontDescriptor.withDesign(.serif)!+ precondition(mono == NSFont(descriptor: descriptor, size: 13))+ } else {+ precondition(mono == NSFont.monospacedSystemFont(ofSize: 13, weight: .regular))+ }+ }+ print(custom ? "All four custom family routes and native editors passed" : "Configured system designs, sizes, weights, semantic styles, and missing-font fallback passed")+ }+}