Skip to content

Commit 292147b

Browse files
Ahmed-HakeemthePunderWoman
authored andcommitted
docs(docs-infra): fix visually-hidden elements style (angular#58812)
import visually-hidden styles from CDK as the new version of Angular material no more do that inside the deprecated core mixin PR Close angular#58812
1 parent de88519 commit 292147b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

adev/shared-docs/styles/global-styles.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// TODO: Continue organizing and refactoring this file
22
@use '@angular/material' as mat;
3+
@use '@angular/cdk';
34

45
// Using disable-next-line to avoid stylelint errors - these imports are necessary
56
// TODO: Is there another way to prevent these linting errors?
@@ -62,6 +63,7 @@ $theme: mat.m2-define-light-theme(
6263

6364
// Include material core styles.
6465
@include mat.core();
66+
@include cdk.a11y-visually-hidden();
6567
@include mat.tabs-theme($theme);
6668
@include mat.button-toggle-theme($theme);
6769
@include mat.tooltip-theme($theme);

0 commit comments

Comments
 (0)