Skip to content

Commit 1187b85

Browse files
committed
bug(focus indicators): Move mixin from material-experimental to material.
1 parent 8a20294 commit 1187b85

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

src/material-experimental/mdc-helpers/_mdc-helpers.scss

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -309,13 +309,3 @@ $mat-typography-level-mappings: (
309309
$theme-or-color);
310310
}
311311
}
312-
313-
// Mixin that applies base styles required for focus indicators to render appropriately.
314-
// Private mixin included within `_mat-mdc-core`.
315-
@mixin _mat-mdc-strong-focus-indicators-base() {
316-
// Ensure that focus indicator host elements are positioned so that the focus indicator
317-
// pseudo element within is positioned relatively to the host.
318-
.mat-mdc-focus-indicator {
319-
position: relative;
320-
}
321-
}

src/material/core/_core.scss

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,17 @@
5858
}
5959
}
6060

61-
// Mixin that renders all of the core MDC styles.
61+
// Mixin that renders all of the core MDC styles. Private mixin included within `mat-core`.
6262
@mixin _mat-mdc-core() {
6363
@include _mat-mdc-strong-focus-indicators-base();
6464
}
65+
66+
// Mixin that applies base styles required for focus indicators to render appropriately.
67+
// Private mixin included within `_mat-mdc-core`.
68+
@mixin _mat-mdc-strong-focus-indicators-base() {
69+
// Ensure that focus indicator host elements are positioned so that the focus indicator
70+
// pseudo element within is positioned relatively to the host.
71+
.mat-mdc-focus-indicator {
72+
position: relative;
73+
}
74+
}

0 commit comments

Comments
 (0)