Skip to content

Commit

Permalink
docs: pr comments
Browse files Browse the repository at this point in the history
Co-authored-by: Agnès ZITTE <[email protected]>
  • Loading branch information
kazo0 and agneszitte authored Apr 11, 2024
1 parent f018f55 commit eb13467
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions doc/cupertino-getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,11 @@ Depending on the type of project template that the Uno Platform application was
By default, Uno Cupertino comes pre-packaged with the [SF Pro](https://developer.apple.com/fonts/) `FontFamily` and automatically includes them in your application. Upon installation of the Uno Cupertino package, you will have a `CupertinoFontFamily` resource available.
If you would like Uno Cupertino to use a different font, you can override the default `FontFamily` following these steps:
If you would like Uno Cupertino to use a different font, you can override the default `FontFamily` by following these steps:
1. Add the custom font following [Custom Fonts documentation](https://platform.uno/docs/articles/features/custom-fonts.html).
2. Add a new Resource Dictionary named `CupertinoFontsOverride.xaml` to the application project, for example, under `Styles/Application`.
3. Assuming the font file has been placed in a directory such as `Assets/Fonts/MyCustomFont.ttf`, your override file would look like the following: file would look like the following:
3. Assuming the font file has been placed in a directory such as `Assets/Fonts/MyCustomFont.ttf`, your override file would look like the following:
```xml
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
Expand Down
2 changes: 1 addition & 1 deletion doc/material-getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ Use this when you want to manually override the default color palette from the U

By default, Uno Material comes pre-packaged with the [Roboto](https://fonts.google.com/specimen/Roboto) font families and automatically includes them in your application. Upon installation of the Uno Material package, you will have the following resources available: `MaterialLightFontFamily`, `MaterialRegularFontFamily`, and `MaterialMediumFontFamily`.

If you would like Uno Material to use a different font, you can override the default font families following these steps:
If you would like Uno Material to use a different font, you can override the default font families by following these steps:

1. Add the custom font following [Custom Fonts documentation](https://platform.uno/docs/articles/features/custom-fonts.html).
2. Add a new Resource Dictionary named `MaterialFontsOverride.xaml` to the application project, for example, under `Styles/Application`.
Expand Down
2 changes: 1 addition & 1 deletion doc/themes-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ It contains three libraries:

Both `Material` and `Cupertino` libraries help you style your application with a few lines of code including:

- Color system for both Light and Dark theme
- Color system for both Light and Dark themes
- Styles for existing WinUI controls like Buttons, TextBox, etc.

## Fluent Controls Styles
Expand Down

0 comments on commit eb13467

Please sign in to comment.