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 guides/material-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ removed.
The simplest way to accomplish this is by checking the theme version and emitting different styles
for M2 vs M3. You can check the theme version using the `get-theme-version` function from
`@angular/material`. The function will return `0` for an M2 theme or `1` for an M3 theme (see
[theme your own components using a Material 3 theme](https://material.angular.dev/guide/theming#theme-your-own-components-using-a-material-3-theme)
[theme your own components using a Material 3 theme](https://v18.material.angular.dev/guide/theming#theme-your-own-components-using-a-material-3-theme)
for how to read values from an M3 theme).

```scss
Expand Down
6 changes: 3 additions & 3 deletions src/material/form-field/form-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ information on this see the guide on

The color of the form-field can be changed by specifying a `$color-variant` when applying the
`mat.form-field-theme` or `mat.form-field-color` mixins (see the
[theming guide](/guide/theming#using-component-color-variants) to learn more.) By default, the
form-field uses the theme's primary palette. This can be changed to `'secondary'`, `'tertiary'`, or
`'error'`.
[v18 theming guide](https://v18.material.angular.dev/guide/theming#using-component-color-variants)
to learn more.) By default, the form-field uses the theme's primary palette. This can be changed to
`'secondary'`, `'tertiary'`, or `'error'`.

### Accessibility

Expand Down