Skip to content

feat(maui): add font size setting to MAUI app (fixes #165) - #172

Merged
fboucher merged 1 commit into
mainfrom
feature/165-maui-font-size
Jul 29, 2026
Merged

feat(maui): add font size setting to MAUI app (fixes #165)#172
fboucher merged 1 commit into
mainfrom
feature/165-maui-font-size

Conversation

@fboucher

Copy link
Copy Markdown
Owner

Resolves #165 by adding a font size setting to the MAUI app.

Summary of Changes

  • Domain & Local Storage: Added FontSize string property to Settings domain model and LocalSettings SQLite model with mapping between domain and local database.
  • Settings UI: Added a Font Size dropdown (FluentSelect) to Settings.razor allowing users to select Small, Medium, or Large.
  • CSS Custom Property: Defined --app-font-size and bound it to html, body and FluentUI typography custom properties in MAUI app's �pp.css.
  • Dynamic Application: Restored saved font size on app load in MainLayout.razor and updated --app-font-size dynamically via JS Interop upon save.
  • Unit Tests: Added tests in SettingsTests.cs, LocalDataServiceTests.cs, and FontSizeHelperTests.cs.

@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Health
NoteBookmark.AIServices 97% 64%
NoteBookmark.Api 89% 79%
NoteBookmark.BlazorApp 5% 10%
NoteBookmark.Domain 86% 75%
NoteBookmark.ServiceDefaults 96% 75%
NoteBookmark.SharedUI 15% 20%
Summary 53% (925 / 1740) 44% (238 / 541)

@fboucher
fboucher merged commit b26d1f6 into main Jul 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change the font size in the MAUI App

1 participant