diff --git a/guides/material-2.md b/guides/material-2.md index 14ed66610b06..8deef59e87ee 100644 --- a/guides/material-2.md +++ b/guides/material-2.md @@ -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 diff --git a/src/material/form-field/form-field.md b/src/material/form-field/form-field.md index 731264c69202..36d58bca8a3d 100644 --- a/src/material/form-field/form-field.md +++ b/src/material/form-field/form-field.md @@ -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