Skip to content

Commit

Permalink
feat(menu,list): expose menu theme mixins and remove divider
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 506741566
  • Loading branch information
material-web-copybara authored and copybara-github committed Feb 2, 2023
1 parent 8f69e62 commit e15c4b8
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 140 deletions.
6 changes: 0 additions & 6 deletions list/_list-divider.scss

This file was deleted.

1 change: 0 additions & 1 deletion list/lib/_list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
@use './listitem/list-item';
@use '../../sass/theme';
@use '../../tokens';
@use './divider/list-divider';
@use '../../elevation/lib/elevation';

@mixin theme($tokens) {
Expand Down
36 changes: 0 additions & 36 deletions list/lib/divider/_list-divider.scss

This file was deleted.

8 changes: 0 additions & 8 deletions list/lib/divider/list-divider-styles.scss

This file was deleted.

26 changes: 0 additions & 26 deletions list/lib/divider/list-divider.ts

This file was deleted.

27 changes: 0 additions & 27 deletions list/list-divider.ts

This file was deleted.

6 changes: 6 additions & 0 deletions menu/_menu-item.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
//
// Copyright 2023 Google LLC
// SPDX-License-Identifier: Apache-2.0
//

@forward './lib/menuitem/menu-item' show theme;
6 changes: 6 additions & 0 deletions menu/_menu.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
//
// Copyright 2023 Google LLC
// SPDX-License-Identifier: Apache-2.0
//

@forward './lib/menu' show theme;
8 changes: 0 additions & 8 deletions menu/lib/_menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

@use '../../list/list';
@use './menuitem/menu-item';
@use '../../list/list-divider';
@use '../../sass/resolvers';
@use '../../sass/theme';
@use '../../tokens';
Expand Down Expand Up @@ -40,13 +39,6 @@ $_custom-property-prefix: 'menu';
)
);

@include list-divider.theme(
(
color: var(--_divider-color),
thickness: var(--_divider-height),
)
);

@include elevation.theme(
(
level: var(--_container-elevation),
Expand Down
1 change: 0 additions & 1 deletion menu/lib/menuitem/_menu-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
@use '../../../list/list';
@use '../../../ripple/ripple';
@use '../../../list/list-item';
@use '../../../list/list-divider';
@use '../../../sass/resolvers';
@use '../../../sass/theme';
@use '../../../tokens';
Expand Down
27 changes: 0 additions & 27 deletions menu/menu-divider.ts

This file was deleted.

0 comments on commit e15c4b8

Please sign in to comment.