Skip to content

Commit 7a52bdf

Browse files
jelbournannieyw
authored andcommitted
fix(material-experimental/mdc-theming): prefix elevation mixins with mdc (#22600)
This adds an mdc- prefix in the `_index.scss` public API for material experimental. Without the prefix, this collides with the older elevation mixins. This collision is a problem in Google where we export both APIs through a combined entry-point. (cherry picked from commit 0f9c1e6)
1 parent c35b1a8 commit 7a52bdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material-experimental/_index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Structural
22
@forward './mdc-helpers/focus-indicators' as mdc-* show mdc-strong-focus-indicators;
3-
@forward './mdc-core/elevation' show elevation, overridable-elevation;
3+
@forward './mdc-core/elevation' as mdc-* show mdc-elevation, mdc-overridable-elevation;
44

55
// Theme bundles
66
@forward './mdc-theming/all-theme' show all-mdc-component-themes;

0 commit comments

Comments
 (0)