Skip to content

Commit 5dd85d0

Browse files
asynclizcopybara-github
authored andcommitted
chore: update elevation imports
PiperOrigin-RevId: 370793952
1 parent eea9b30 commit 5dd85d0

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

packages/dialog/mwc-dialog.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ limitations under the License.
1616
*/
1717

1818
@use '@material/dialog';
19-
@use '@material/elevation';
19+
@use '@material/elevation/elevation-theme';
2020
@use '@material/feature-targeting' as feature;
2121
@use '@material/rtl';
2222
@use '@material/theme/theme';
@@ -32,7 +32,7 @@ limitations under the License.
3232
.mdc-dialog__surface {
3333
box-shadow: var(
3434
--mdc-dialog-box-shadow,
35-
#{elevation.elevation-box-shadow(24)}
35+
#{elevation-theme.elevation-box-shadow(24)}
3636
);
3737
}
3838

packages/elevation-overlay/_elevation-overlay-theme.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ limitations under the License.
1717

1818
@use 'sass:map';
1919

20-
@use '@material/elevation';
20+
@use '@material/elevation/elevation-theme';
2121
@use '@material/theme/css';
2222

2323
$transparent-theme: (
2424
opacity: 0,
25-
fill-color: elevation.$overlay-color,
25+
fill-color: elevation-theme.$overlay-color,
2626
width: 100%,
2727
height: 100%,
2828
);

packages/elevation-overlay/_elevation-overlay.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ limitations under the License.
1717

1818
/* stylelint-disable selector-class-pattern */
1919
/* NOTE: We disable `selector-class-pattern` above to allow using `mdc-` class * selectors. */
20-
@use '@material/elevation/elevation';
2120
@use '@material/elevation/elevation-theme';
21+
@use '@material/elevation/elevation';
2222
@use '@material/theme/custom-properties';
2323
@use '@material/theme/theme';
2424

packages/top-app-bar/mwc-top-app-bar.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ See the License for the specific language governing permissions and
1515
limitations under the License.
1616
*/
1717

18-
@use '@material/elevation';
18+
@use '@material/elevation/elevation-theme';
1919
@use '@material/top-app-bar/mdc-top-app-bar.scss';
2020
@use '@material/theme/theme';
2121
@use '@material/theme/custom-properties';
@@ -94,6 +94,6 @@ limitations under the License.
9494
.mdc-top-app-bar--fixed-scrolled {
9595
box-shadow: var(
9696
--mdc-top-app-bar-fixed-box-shadow,
97-
#{elevation.elevation-box-shadow(4)}
97+
#{elevation-theme.elevation-box-shadow(4)}
9898
);
9999
}

0 commit comments

Comments
 (0)