Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/5.x/docs/guides/fonts.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ If you're using TypeScript use `as const` when defining `fontConfig`.
In the latest version fonts in theme are structured based on the `variant` keys e.g. `displayLarge` or `bodyMedium` which are then used in `Text`'s component throughout the whole library.

:::info
The default `fontFamily` is different per particular platfrom:
The default `fontFamily` is different per particular platform:

```js
Platform.select({
Expand Down
2 changes: 1 addition & 1 deletion docs/5.x/docs/guides/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ npm install react-native-paper
npm install react-native-safe-area-context
```

Additionaly for `iOS` platform there is a requirement to link the native parts of the library:
Additionally for `iOS` platform there is a requirement to link the native parts of the library:

```bash
npx pod-install
Expand Down
8 changes: 4 additions & 4 deletions docs/5.x/docs/guides/migration-guide-to-5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Below you can find the most important information about the components whose API

### Installation

- The `v5` has been oficially released as a stable version, which means it will be installed by default from the `npm`. In order to do that, open a Terminal in your project's folder and run:
- The `v5` has been officially released as a stable version, which means it will be installed by default from the `npm`. In order to do that, open a Terminal in your project's folder and run:

```bash npm2yarn
npm install react-native-paper
Expand All @@ -26,7 +26,7 @@ npm install react-native-paper
npm install react-native-safe-area-context
```

Additionaly for `iOS` platform there is a requirement to link the native parts of the library:
Additionally for `iOS` platform there is a requirement to link the native parts of the library:

```bash
npx pod-install
Expand Down Expand Up @@ -165,7 +165,7 @@ Take a look at the suggested replacement diff:

### Configure fonts

The existing utility called `configureFonts` was adjusted to help users configure their theme fonts in both version, that's why that function, as of today, is going to accept the object with the follwing properties as an argument:
The existing utility called `configureFonts` was adjusted to help users configure their theme fonts in both version, that's why that function, as of today, is going to accept the object with the following properties as an argument:

```ts
configureFonts(params);
Expand Down Expand Up @@ -476,7 +476,7 @@ With the latest version, there is a possibility to specify whether `Drawer.Secti

#### FAB

Additionaly `FAB` may be applied in one of three available sizes, thanks to new prop `size`:
Additionally `FAB` may be applied in one of three available sizes, thanks to new prop `size`:

- `small` - FAB with small height (40),
- `medium` - Appbar with default medium height (56),
Expand Down
2 changes: 1 addition & 1 deletion docs/6.x/docs/guides/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export default function Main() {

## Customization

You can provide a custom theme to customize the colors, typescales etc. with the `Provider` component. Check the [Material Design 3 default theme](https://github.com/callstack/react-native-paper/blob/main/src/styles/themes/v3/LightTheme.tsx) to see what customization options are supported.
You can provide a custom theme to customize the colors, typescales etc. with the `Provider` component. Check the [Material Design 3 default theme](https://github.com/callstack/react-native-paper/blob/main/src/theme/schemes/LightTheme.tsx) to see what customization options are supported.

Example:

Expand Down
2 changes: 1 addition & 1 deletion docs/6.x/docs/guides/theming.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function Main() {
}
```

By default React Native Paper will apply the [Material You theme (MD3)](https://github.com/callstack/react-native-paper/blob/main/src/styles/themes/v3/LightTheme.tsx) if no `theme` or `version` prop is passed to the `PaperProvider`.
By default React Native Paper will apply the [Material You theme (MD3)](https://github.com/callstack/react-native-paper/blob/main/src/theme/schemes/LightTheme.tsx) if no `theme` or `version` prop is passed to the `PaperProvider`.

## Accessing theme properties

Expand Down
Loading