Skip to content

Commit

Permalink
fix(material/core): remove unused motion system vars (#29920)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Seguin <[email protected]>
  • Loading branch information
andrewseguin and Andrew Seguin authored Oct 28, 2024
1 parent 070be9f commit 1f66a82
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/material/core/tokens/_m3-system.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
}

@include system-level-shape($overrides: $overrides, $prefix: definition.$system-fallback-prefix);
@include system-level-motion($overrides:$overrides, $prefix: definition.$system-fallback-prefix);
@include system-level-state($overrides: $overrides, $prefix: definition.$system-fallback-prefix);
}

Expand Down Expand Up @@ -221,14 +220,6 @@
}
}

@mixin system-level-motion($theme: (), $overrides: (), $prefix: definition.$system-level-prefix) {
& {
@each $name, $value in definitions.md-sys-motion-values() {
--#{$prefix}-#{$name}: #{map.get($overrides, $name) or $value};
}
}
}

// Return a new map where the values are the same as the provided map's
// keys, prefixed with "--mat-sys-". For example:
// (key1: '', key2: '') --> (key1: --mat-sys-key1, key2: --mat-sys-key2)
Expand Down

0 comments on commit 1f66a82

Please sign in to comment.