Skip to content

docs(material-experimental): css paths in readme #20957

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 4, 2020
Merged
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
12 changes: 6 additions & 6 deletions src/material-experimental/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ the checkbox:
```

5. Add the theme and typography mixins to your Sass. These align with the normal Angular Material
mixins except that they are suffixed with `-mdc`. There is currently no pre-built CSS option for
the experimental components. For example, using the checkbox:
mixins except that they are suffixed with `-mdc`. Some experimental components may not yet
be included in the pre-built CSS mixin and will need to be explicitly included.

```scss
@import '~@angular/material/theming';
@import '~@angular/material-experimental/mdc-checkbox';
@import '~@angular/material-experimental/mdc-theming/all-theme';

$my-primary: mat-palette($mat-indigo);
$my-accent: mat-palette($mat-pink, A200, A100, A400);
Expand All @@ -63,7 +63,7 @@ the experimental components. For example, using the checkbox:
accent: $my-accent
)
));
@include mat-mdc-checkbox-theme($my-theme);
@include mat-mdc-checkbox-typography();

@include angular-material-mdc-theme($my-theme);
@include angular-material-mdc-typography();
```
2 changes: 1 addition & 1 deletion src/material-experimental/mdc-autocomplete/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ component by following these steps:

```scss
@import '~@angular/material/theming';
@import '~@angular/material-experimental/mdc-autocomplete';
@import '~@angular/material-experimental/mdc-autocomplete/autocomplete-theme';

$my-primary: mat-palette($mat-indigo);
$my-accent: mat-palette($mat-pink, A200, A100, A400);
Expand Down
2 changes: 1 addition & 1 deletion src/material-experimental/mdc-checkbox/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ component by following these steps:

```scss
@import '~@angular/material/theming';
@import '~@angular/material-experimental/mdc-checkbox';
@import '~@angular/material-experimental/mdc-checkbox/checkbox-theme';

$my-primary: mat-palette($mat-indigo);
$my-accent: mat-palette($mat-pink, A200, A100, A400);
Expand Down
2 changes: 1 addition & 1 deletion src/material-experimental/mdc-menu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ component by following these steps:

```scss
@import '~@angular/material/theming';
@import '~@angular/material-experimental/mdc-menu';
@import '~@angular/material-experimental/mdc-menu/menu-theme';

$my-primary: mat-palette($mat-indigo);
$my-accent: mat-palette($mat-pink, A200, A100, A400);
Expand Down
2 changes: 1 addition & 1 deletion src/material-experimental/mdc-paginator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ component by following these steps:

```scss
@import '~@angular/material/theming';
@import '~@angular/material-experimental/mdc-paginator';
@import '~@angular/material-experimental/mdc-paginator/paginator-theme';

$my-primary: mat-palette($mat-indigo);
$my-accent: mat-palette($mat-pink, A200, A100, A400);
Expand Down
2 changes: 1 addition & 1 deletion src/material-experimental/mdc-progress-bar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ component by following these steps:

```scss
@import '~@angular/material/theming';
@import '~@angular/material-experimental/mdc-progress-bar';
@import '~@angular/material-experimental/mdc-progress-bar/progress-bar-theme';

$my-primary: mat-palette($mat-indigo);
$my-accent: mat-palette($mat-pink, A200, A100, A400);
Expand Down
2 changes: 1 addition & 1 deletion src/material-experimental/mdc-progress-spinner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ component by following these steps:

```scss
@import '~@angular/material/theming';
@import '~@angular/material-experimental/mdc-progress-spinner';
@import '~@angular/material-experimental/mdc-progress-spinner/progress-spinner-theme';

$my-primary: mat-palette($mat-indigo);
$my-accent: mat-palette($mat-pink, A200, A100, A400);
Expand Down
2 changes: 1 addition & 1 deletion src/material-experimental/mdc-select/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ component by following these steps:

```scss
@import '~@angular/material/theming';
@import '~@angular/material-experimental/mdc-select';
@import '~@angular/material-experimental/mdc-select/select-theme';

$my-primary: mat-palette($mat-indigo);
$my-accent: mat-palette($mat-pink, A200, A100, A400);
Expand Down
2 changes: 1 addition & 1 deletion src/material-experimental/mdc-slide-toggle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ component by following these steps:

```scss
@import '~@angular/material/theming';
@import '~@angular/material-experimental/mdc-slide-toggle';
@import '~@angular/material-experimental/mdc-slide-toggle/slide-toggle-theme';

$my-primary: mat-palette($mat-indigo);
$my-accent: mat-palette($mat-pink, A200, A100, A400);
Expand Down
2 changes: 1 addition & 1 deletion src/material-experimental/mdc-tabs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ component by following these steps:

```scss
@import '~@angular/material/theming';
@import '~@angular/material-experimental/mdc-tabs';
@import '~@angular/material-experimental/mdc-tabs/tabs-theme';

$my-primary: mat-palette($mat-indigo);
$my-accent: mat-palette($mat-pink, A200, A100, A400);
Expand Down