Skip to content

Commit 4c2a9f2

Browse files
EdricChan03jelbourn
authored andcommitted
docs: update links to Material Design spec (#12804)
For color palettes, link to the archived spec since there isn't an equivalent in the 2018 revision.
1 parent 0ef9e38 commit 4c2a9f2

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

guides/theming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ a theme consists of:
1616
In Angular Material, all theme styles are generated _statically_ at build-time so that your
1717
app doesn't have to spend cycles generating theme styles on startup.
1818

19-
[1]: https://material.google.com/style/color.html#color-color-palette
19+
[1]: https://material.io/archive/guidelines/style/color.html#color-color-palette
2020

2121
### Using a pre-built theme
2222
Angular Material comes prepackaged with several pre-built theme css files. These theme files also

src/lib/select/select.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
`<mat-select>` is a form control for selecting a value from a set of options, similar to the native
22
`<select>` element. You can read more about selects in the
3-
[Material Design spec](https://material.google.com/components/menus.html). It is designed to work
3+
[Material Design spec](https://material.io/design/components/menus.html). It is designed to work
44
inside of a [`<mat-form-field>`](https://material.angular.io/components/form-field/overview)
55
element.
66

src/lib/slider/slider.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ value on bottom.
3838
By default, the exact selected value of a slider is not visible to the user. However, this value can
3939
be added to the thumb by adding the `thumbLabel` attribute.
4040

41-
The [Material Design spec](https://material.google.com/components/sliders.html) recommends using the
41+
The [Material Design spec](https://material.io/design/components/sliders.html#discrete-slider) recommends using the
4242
`thumbLabel` attribute (along with `tickInterval="1"`) only for sliders that are used to display a
4343
discrete value (such as a 1-5 rating).
4444

@@ -74,7 +74,7 @@ The slider will always show a tick at the beginning and end of the track. If the
7474
doesn't add up perfectly the last interval will be shortened or lengthened so that the tick can be
7575
shown at the end of the track.
7676

77-
The [Material Design spec](https://material.google.com/components/sliders.html) recommends using the
77+
The [Material Design spec](https://material.io/design/components/sliders.html#discrete-slider) recommends using the
7878
`tickInterval` attribute (set to `1` along with the `thumbLabel` attribute) only for sliders that
7979
are used to display a discrete value (such as a 1-5 rating).
8080

src/lib/tooltip/tooltip.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export function MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY(): MatTooltipDefaultOptions
103103
* Directive that attaches a material design tooltip to the host element. Animates the showing and
104104
* hiding of a tooltip provided position (defaults to below the element).
105105
*
106-
* https://material.google.com/components/tooltips.html
106+
* https://material.io/design/components/tooltips.html
107107
*/
108108
@Directive({
109109
selector: '[matTooltip]',
@@ -612,7 +612,7 @@ export class TooltipComponent {
612612
/**
613613
* Interactions on the HTML body should close the tooltip immediately as defined in the
614614
* material design spec.
615-
* https://material.google.com/components/tooltips.html#tooltips-interaction
615+
* https://material.io/design/components/tooltips.html#behavior
616616
*/
617617
_handleBodyInteraction(): void {
618618
if (this._closeOnInteraction) {

0 commit comments

Comments
 (0)