Skip to content

Commit

Permalink
fix(elevation)!: remove elevation surfaces
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 522245110
  • Loading branch information
asyncLiz authored and copybara-github committed Apr 6, 2023
1 parent 7ccc21e commit d801a5f
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 121 deletions.
26 changes: 0 additions & 26 deletions elevation/elevation-surface.ts

This file was deleted.

11 changes: 1 addition & 10 deletions elevation/lib/_elevation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,7 @@
// go/keep-sorted end

@mixin theme($tokens) {
$tokens: theme.validate-theme(
map.merge(
tokens.md-comp-elevation-values(),
(
// TODO(b/272526637): remove after surface is removed
'surface-tint': null
)
),
$tokens
);
$tokens: theme.validate-theme(tokens.md-comp-elevation-values(), $tokens);
$tokens: theme.create-theme-vars($tokens, 'elevation');
@include theme.emit-theme-vars($tokens);
}
Expand Down
47 changes: 0 additions & 47 deletions elevation/lib/_surface.scss

This file was deleted.

28 changes: 0 additions & 28 deletions elevation/lib/elevation-surface.ts

This file was deleted.

10 changes: 0 additions & 10 deletions elevation/lib/surface-styles.scss

This file was deleted.

0 comments on commit d801a5f

Please sign in to comment.