Skip to content

Commit

Permalink
fix(navigationbar): tonal surface update
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 522237428
  • Loading branch information
asyncLiz authored and copybara-github committed Apr 6, 2023
1 parent c64f416 commit a5fe8f3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion navigationbar/lib/_navigation-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
}
}

md-elevation-surface {
md-elevation {
z-index: 0;
}
}
6 changes: 3 additions & 3 deletions navigationbar/lib/navigation-bar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

import '../../elevation/elevation-surface.js';
import '../../elevation/elevation.js';

import {html, LitElement, PropertyValues, TemplateResult} from 'lit';
import {property, queryAssignedElements} from 'lit/decorators.js';
Expand Down Expand Up @@ -41,8 +41,8 @@ export class NavigationBar extends LitElement implements NavigationBarState {
@keydown="${this.handleKeydown}"
@navigation-tab-interaction="${this.handleNavigationTabInteraction}"
@navigation-tab-rendered=${this.handleNavigationTabConnected}
><md-elevation-surface shadow
></md-elevation-surface><div class="md3-navigation-bar__tabs-slot-container"
><md-elevation></md-elevation
><div class="md3-navigation-bar__tabs-slot-container"
><slot></slot></div></div>`;
}

Expand Down
5 changes: 2 additions & 3 deletions tokens/_md-comp-navigation-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
//

// go/keep-sorted start
@use './md-sys-color';
@use './md-sys-elevation';
@use './md-sys-shape';
@use './md-sys-state';
@use './md-sys-typescale';
// TODO(b/272526637): tonal surface update
@use './v0_161/md-comp-navigation-bar';
@use './v0_161/md-sys-color';
@use './v0_172/md-comp-navigation-bar';
// go/keep-sorted end

$_default: (
Expand Down

0 comments on commit a5fe8f3

Please sign in to comment.