Skip to content

Commit 993bd7e

Browse files
authored
Change "both" to "any"
1 parent 6f51ab2 commit 993bd7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cdk/a11y/_a11y.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
'Allowed values are "active", "black-on-white", and "white-on-black"';
4949
}
5050

51-
@if ($encapsulation != 'on' and $encapsulation != 'off' and $encapsulation != 'both') {
51+
@if ($encapsulation != 'on' and $encapsulation != 'off' and $encapsulation != 'any') {
5252
@error 'Unknown cdk-high-contrast encapsulation "#{$encapsulation}" provided. ' +
53-
'Allowed values are "on", "off", and "both"';
53+
'Allowed values are "on", "off", and "any"';
5454
}
5555

5656
// If the selector context has multiple parts, such as `.section, .region`, just doing

0 commit comments

Comments
 (0)