Skip to content

Commit

Permalink
docs: fix broken links (#29105)
Browse files Browse the repository at this point in the history
Fixes some broken links to the M2 guide.

Fixes #29101.
  • Loading branch information
crisbeto authored May 23, 2024
1 parent ff4f9a0 commit f76f8a8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion guides/material-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ The following example demonstrates usage of the typography styles emitted by the
#### Reading typography values from a config

It is possible to read typography properties from a theme for use in your own components. For more
information about this see our section on [Theming your own components](https://material.angular.io/guide/material-2#theming-your-components),
information about this see our section on [Theming your own components](https://material.angular.io/guide/material-2-theming#theming-your-components),

### Step-by-step example

Expand Down
2 changes: 1 addition & 1 deletion guides/theming-your-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ You can use Angular Material's Sass-based theming system for your own custom com
**Note: The information on this page is specific to Material 3, for Material 2
information on how to theme your components see the [Material 2 guide][material-2].**

[material-2]: https://material.angular.io/guide/material-2#theming-your-components
[material-2]: https://material.angular.io/guide/material-2-theming#theming-your-components

## Reading values from a theme

Expand Down
4 changes: 2 additions & 2 deletions guides/theming.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ see [Angular Material Typography][mat-typography]. For guidance on building comp
customizable with this system, see [Theming your own components][theme-your-own].

[material-design-theming]: https://m3.material.io/
[material-2]: https://material.angular.io/guide/material-2
[material-2]: https://material.angular.io/guide/material-2-theming
[mat-typography]: https://material.angular.io/guide/typography
[theme-your-own]: https://material.angular.io/guide/theming-your-components

Expand Down Expand Up @@ -576,7 +576,7 @@ above can be applied to any checkbox _or_ any element that contains checkboxes,
of all checkboxes within that element.

While you should prefer applying the mixins with color variants explicitly, if migrating from M2 to
M3 you can alternatively use [the provided backwards compatibility mixins](https://material.angular.io/guide/material-2#how-to-migrate-an-app-from-material-2-to-material-3)
M3 you can alternatively use [the provided backwards compatibility mixins](https://material.angular.io/guide/material-2-theming#how-to-migrate-an-app-from-material-2-to-material-3)
that apply styles directly to the existing CSS classes (`mat-primary`, `mat-accent`, and
`mat-warn`).

Expand Down

0 comments on commit f76f8a8

Please sign in to comment.