File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 24
24
@mixin _cdk-optionally-nest-content ($selector-context ) {
25
25
@if ($selector-context == ' ' ) {
26
26
@content ;
27
- } @else {
27
+ }
28
+ @else {
28
29
#{$selector-context } {
29
30
@content ;
30
31
}
40
41
/// @param encapsulation Whether to emit styles for view encapsulation. Values are:
41
42
/// * `on` - works for `Emulated`, `Native`, and `ShadowDom`
42
43
/// * `off` - works for `None`
43
- /// * `both ` - works for all encapsulation modes by emitting the CSS twice (default).
44
- @mixin cdk-high-contrast ($target : active , $encapsulation : ' both ' ) {
44
+ /// * `any ` - works for all encapsulation modes by emitting the CSS twice (default).
45
+ @mixin cdk-high-contrast ($target : active , $encapsulation : ' any ' ) {
45
46
@if ($target != ' active' and $target != ' black-on-white' and $target != ' white-on-black' ) {
46
47
@error ' Unknown cdk-high-contrast value "#{$target } " provided. ' +
47
48
' Allowed values are "active", "black-on-white", and "white-on-black"' ;
You can’t perform that action at this time.
0 commit comments