diff --git a/docs/components/button.md b/docs/components/button.md index d92c6f35ac..ae6e99b1d5 100644 --- a/docs/components/button.md +++ b/docs/components/button.md @@ -20,7 +20,7 @@ outlined, and text. * [Design article](https://m3.material.io/components/buttons) * API Documentation (*coming soon*) -* [Source code](https://github.com/material-components/material-web/tree/master/button) +* [Source code](https://github.com/material-components/material-web/tree/main/button) ## Types @@ -157,7 +157,7 @@ Token | Default value `--md-elevated-button-label-text-color` | `--md-sys-color-on-surface` `--md-elevated-button-label-text-type` | `500 0.875rem/1.25rem "Roboto"` -* [All tokens](https://github.com/material-components/material-web/blob/master/tokens/_md-comp-elevated-button.scss) +* [All tokens](https://github.com/material-components/material-web/blob/main/tokens/_md-comp-elevated-button.scss) ### Elevated button example @@ -186,7 +186,7 @@ Token | Default value `--md-filled-button-label-text-color` | `--md-sys-color-on-primary` `--md-filled-button-label-text-type` | `500 0.875rem/1.25rem "Roboto"` -* [All tokens](https://github.com/material-components/material-web/blob/master/tokens/_md-comp-filled-button.scss) +* [All tokens](https://github.com/material-components/material-web/blob/main/tokens/_md-comp-filled-button.scss) ### Filled button example @@ -215,7 +215,7 @@ Token | Default value `--md-tonal-button-label-text-color` | `--md-sys-color-on-secondary-container` `--md-tonal-button-label-text-type` | `500 0.875rem/1.25rem "Roboto"` -* [All tokens](https://github.com/material-components/material-web/blob/master/tokens/_md-comp-filled-tonal-button.scss) +* [All tokens](https://github.com/material-components/material-web/blob/main/tokens/_md-comp-filled-tonal-button.scss) ### Filled tonal button example @@ -244,7 +244,7 @@ Token | Default value `--md-outlined-button-label-text-color` | `--md-sys-color-primary` `--md-outlined-button-label-text-type` | `500 0.875rem/1.25rem "Roboto"` -* [All tokens](https://github.com/material-components/material-web/blob/master/tokens/_md-comp-outlined-button.scss) +* [All tokens](https://github.com/material-components/material-web/blob/main/tokens/_md-comp-outlined-button.scss) ### Outlined button example @@ -271,7 +271,7 @@ Token | Default value `--md-text-button-label-text-color` | `--md-sys-color-primary` `--md-text-button-label-text-type` | `500 0.875rem/1.25rem "Roboto"` -* [All tokens](https://github.com/material-components/material-web/blob/master/tokens/_md-comp-text-button.scss) +* [All tokens](https://github.com/material-components/material-web/blob/main/tokens/_md-comp-text-button.scss) ### Text button example diff --git a/docs/components/checkbox.md b/docs/components/checkbox.md index 3c3f9892b8..0439fae8c2 100644 --- a/docs/components/checkbox.md +++ b/docs/components/checkbox.md @@ -19,7 +19,7 @@ user needs to select one or more options from a list. * [Design article](https://m3.material.io/components/checkbox) * API Documentation (*coming soon*) -* [Source code](https://github.com/material-components/material-web/tree/master/checkbox) +* [Source code](https://github.com/material-components/material-web/tree/main/checkbox) ## Usage @@ -80,7 +80,7 @@ Token | Default value `--md-checkbox-selected-icon-color` | `--md-sys-color-on-primary` `--md-checkbox-container-shape` | `2px` -* [All tokens](https://github.com/material-components/material-web/blob/master/tokens/v0_160/_md-comp-checkbox.scss) +* [All tokens](https://github.com/material-components/material-web/blob/main/tokens/v0_160/_md-comp-checkbox.scss) ### Example diff --git a/docs/components/divider.md b/docs/components/divider.md index 890243d6d6..0217c1fbc7 100644 --- a/docs/components/divider.md +++ b/docs/components/divider.md @@ -19,7 +19,7 @@ define tappable regions in an accordion. * [Design article](https://m3.material.io/components/divider) * API Documentation (*coming soon*) -* [Source code](https://github.com/material-components/material-web/tree/master/divider) +* [Source code](https://github.com/material-components/material-web/tree/main/divider) ## Usage @@ -90,7 +90,7 @@ Token | Default value `--md-divider-color` | `--md-sys-color-outline-variant` `--md-divider-thickness` | `1px` -* [All tokens](https://github.com/material-components/material-web/blob/master/tokens/v0_160/_md-comp-divider.scss) +* [All tokens](https://github.com/material-components/material-web/blob/main/tokens/v0_160/_md-comp-divider.scss) ### Example diff --git a/docs/components/elevation.md b/docs/components/elevation.md index a85abc334e..b62fd215a1 100644 --- a/docs/components/elevation.md +++ b/docs/components/elevation.md @@ -20,7 +20,7 @@ UI’s elevation story. * [Design article](https://m3.material.io/styles/elevation) * API Documentation (*coming soon*) -* [Source code](https://github.com/material-components/material-web/tree/master/elevation) +* [Source code](https://github.com/material-components/material-web/tree/main/elevation) ## Usage @@ -93,7 +93,7 @@ Token | Default value `--md-elevation-level` | `0` `--md-elevation-shadow-color` | `--md-sys-color-shadow` -* [All tokens](https://github.com/material-components/material-web/blob/master/tokens/_md-comp-elevation.scss) +* [All tokens](https://github.com/material-components/material-web/blob/main/tokens/_md-comp-elevation.scss) ### Example diff --git a/docs/components/icon-button.md b/docs/components/icon-button.md index 77bbed5eb2..48a72590ea 100644 --- a/docs/components/icon-button.md +++ b/docs/components/icon-button.md @@ -21,7 +21,7 @@ There are two types of icon buttons: standard and contained. * [Design article](https://m3.material.io/components/icon-buttons) * API Documentation (*coming soon*) -* [Source code](https://github.com/material-components/material-web/tree/master/iconbutton) +* [Source code](https://github.com/material-components/material-web/tree/main/iconbutton) ## Types @@ -209,7 +209,7 @@ Token | Default value `--md-icon-button-state-layer-shape` | `9999px` `--md-icon-button-icon-size` | `24px` -* [All tokens](https://github.com/material-components/material-web/blob/master/tokens/v0_161/_md-comp-icon-button.scss) +* [All tokens](https://github.com/material-components/material-web/blob/main/tokens/v0_161/_md-comp-icon-button.scss) ### Standard Icon Button example @@ -236,7 +236,7 @@ Token | Default value `--md-filled-icon-button-container-size` | `40px` `--md-filled-icon-button-icon-size` | `24px` -* [All tokens](https://github.com/material-components/material-web/blob/master/tokens/v0_161/_md-comp-filled-icon-button.scss) +* [All tokens](https://github.com/material-components/material-web/blob/main/tokens/v0_161/_md-comp-filled-icon-button.scss) ### Filled Icon Button example diff --git a/docs/components/icon.md b/docs/components/icon.md index cf0539fe7c..af639da749 100644 --- a/docs/components/icon.md +++ b/docs/components/icon.md @@ -17,7 +17,7 @@ created at seven weights across three different styles. * [Design article](https://m3.material.io/styles/icons) * API Documentation (*coming soon*) -* [Source code](https://github.com/material-components/material-web/tree/master/icon) +* [Source code](https://github.com/material-components/material-web/tree/main/icon) ## Usage @@ -145,7 +145,7 @@ Token | Default value `--md-icon-size` | `24px` `--md-icon-weight` | `400` -* [All tokens](https://github.com/material-components/material-web/blob/master/icon/lib/_md-comp-icon.scss) +* [All tokens](https://github.com/material-components/material-web/blob/main/icon/lib/_md-comp-icon.scss) ### Example diff --git a/linearprogress/lib/_linear-progress.scss b/linearprogress/lib/_linear-progress.scss index 621f5ce9f6..ae4c8ea1d1 100644 --- a/linearprogress/lib/_linear-progress.scss +++ b/linearprogress/lib/_linear-progress.scss @@ -17,10 +17,10 @@ } // note, transition settings match MDC -// see https://github.com/material-components/material-components-web/blob/master/packages/mdc-linear-progress/_linear-progress.scss#L79 +// see https://github.com/material-components/material-components-web/blob/main/packages/mdc-linear-progress/_linear-progress.scss#L79 $_determinate-duration: 250ms; $_determinate-easing: cubic-bezier(0.4, 0, 0.6, 1); -// see https://github.com/material-components/material-components-web/blob/master/packages/mdc-linear-progress/_linear-progress.scss#L218 +// see https://github.com/material-components/material-components-web/blob/main/packages/mdc-linear-progress/_linear-progress.scss#L218 $_indeterminate-duration: 2s; // Note, track background is a series of animating dots sized to fit @@ -60,7 +60,7 @@ $rtl-selectors: ( } // note, the numbers here come directly from the mdc implementation. - // see https://github.com/material-components/material-components-web/blob/master/packages/mdc-linear-progress/_linear-progress.scss#L208. + // see https://github.com/material-components/material-components-web/blob/main/packages/mdc-linear-progress/_linear-progress.scss#L208. // keyframes @keyframes primary-indeterminate-translate#{$suffix} { 0% { @@ -190,7 +190,7 @@ $rtl-selectors: ( } // note, the numbers here come directly from the mdc implementation. - // see https://github.com/material-components/material-components-web/blob/master/packages/mdc-linear-progress/_linear-progress.scss#L208. + // see https://github.com/material-components/material-components-web/blob/main/packages/mdc-linear-progress/_linear-progress.scss#L208. .indeterminate .primary-bar { inset-inline-start: -145.167%; }