diff --git a/CHANGELOG.md b/CHANGELOG.md index 067e7219..35da6911 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,10 @@ heading, and (b) bumping `pubspec.yaml` `version:` in the same commit. ### Changed +- **Josefin Sans is the default UI font again.** Reverts the Inter default from + 2.7.0; Inter stays bundled and selectable in Settings → Appearance. JetBrains + Mono remains the default monospace face (Fira Mono selectable). (T-460) + ### Fixed - **Markdown prose honours the UI-font setting.** Claude's conversation prose diff --git a/assets/licenses.yaml b/assets/licenses.yaml index acefbfa5..8addab4d 100644 --- a/assets/licenses.yaml +++ b/assets/licenses.yaml @@ -76,8 +76,8 @@ dependencies: license: OFL-1.1 license_file: assets/fonts/inter/OFL.txt purpose: >- - Default application UI face (T-460). Variable font with optical-size - and weight axes; Josefin Sans remains bundled as a selectable option. + Selectable application UI face (bundled T-460); Josefin Sans is the + default. Variable font with optical-size and weight axes. weights_bundled: [VariableFont, Italic-VariableFont] - name: Josefin Sans @@ -87,8 +87,9 @@ dependencies: license: OFL-1.1 license_file: assets/fonts/josefin_sans/OFL.txt purpose: >- - Selectable application UI face (was the default before T-460). Default - weight Light (300); full 100-700 range via the variable-font weight axis. + Default application UI face; default weight Light (300), full 100-700 + range via the variable-font weight axis. Inter is bundled as a + selectable alternative. weights_bundled: [VariableFont, Italic-VariableFont] - name: Phosphor Icons diff --git a/lib/builtin/theme_picker/src/extension.dart b/lib/builtin/theme_picker/src/extension.dart index dcff1ba1..9d09e20f 100644 --- a/lib/builtin/theme_picker/src/extension.dart +++ b/lib/builtin/theme_picker/src/extension.dart @@ -64,10 +64,10 @@ class ThemePickerExtension extends ClideExtension { kind: SettingsFieldKind.select, label: 'UI font', help: 'Typeface for the app interface; applies live.', - defaultValue: 'Inter', + defaultValue: 'JosefinSans', options: [ - SettingsOption(value: 'Inter', label: 'Inter'), SettingsOption(value: 'JosefinSans', label: 'Josefin Sans'), + SettingsOption(value: 'Inter', label: 'Inter'), ], ), SettingsField( diff --git a/lib/widgets/src/typography.dart b/lib/widgets/src/typography.dart index e64fea1d..9834d249 100644 --- a/lib/widgets/src/typography.dart +++ b/lib/widgets/src/typography.dart @@ -16,23 +16,23 @@ library; import 'package:flutter/widgets.dart' show FontWeight; // --------------------------------------------------------------------------- -// UI face — Inter +// UI face — Josefin Sans // --------------------------------------------------------------------------- -/// The bundled application UI family, resolved first (T-460). The settings -/// override ([kUiFontSettingKey]) takes precedence at the app root when set. -const String clideUiFamily = 'Inter'; +/// The bundled default application UI family, resolved first. Inter stays +/// bundled and selectable (Settings → Appearance); the settings override +/// ([kUiFontSettingKey]) takes precedence at the app root when set. +const String clideUiFamily = 'JosefinSans'; -/// Default weight for UI text. -const FontWeight clideUiDefaultWeight = FontWeight.w400; +/// Default weight for UI text — Josefin Sans reads best at Light. +const FontWeight clideUiDefaultWeight = FontWeight.w300; /// System fallback chain for the UI face — the other bundled UI option plus /// platform humanist sans defaults. const List clideUiFamilyFallback = [ // The other bundled UI family (selectable in Appearance). - 'JosefinSans', - // User system install / platform humanist sans defaults. 'Inter', + // User system install / platform humanist sans defaults. 'Helvetica Neue', 'Helvetica', 'Arial',