mirror of
https://github.com/material-components/material-web.git
synced 2026-03-09 00:09:23 +08:00
chore(elevation): remove compat deps
PiperOrigin-RevId: 477473663
This commit is contained in:
parent
7e144f85ad
commit
9348dbbee4
@ -3,9 +3,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
// TODO(b/228217731): Remove MDC/MWC dependencies
|
||||
@use '@material/web/compat/theme/css';
|
||||
|
||||
$duration: 280ms;
|
||||
$easing: cubic-bezier(0.4, 0, 0.2, 1);
|
||||
|
||||
@ -14,5 +11,5 @@ $easing: cubic-bezier(0.4, 0, 0.2, 1);
|
||||
transition: border #{$duration} #{$easing}, box-shadow #{$duration} #{$easing};
|
||||
// used for interacting with overlays
|
||||
z-index: 0;
|
||||
@include css.declaration(--mdc-ripple-z-index, -1);
|
||||
--mdc-ripple-z-index: -1;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user