Page MenuHomePhabricator

Update navigation bar component
Closed, ResolvedPublic

Assigned To
Authored By
scblr
Feb 28 2023, 10:56 PM
Referenced Files
F36948510: search-filled-new.svg
Apr 12 2023, 5:28 PM
F36948509: explore-bold-new.svg
Apr 12 2023, 5:28 PM
F36948479: search-filled.svg
Apr 12 2023, 5:09 PM
F36948478: explore-bold.svg
Apr 12 2023, 5:09 PM
F36885237: explore-bold.svg
Feb 28 2023, 11:42 PM
F36885148: search-filled.svg
Feb 28 2023, 10:56 PM
F36885147: explore-bold.svg
Feb 28 2023, 10:56 PM

Description

Background

The Material Design team recently released an updated version of their design system called Material 3 | Material 3, which includes significant changes to the "bottom navigation" component. The component has been renamed to "navigation bar," and the specifications for type, spacing, and color recommendations have also been updated.

Goals

  • We want to update our current design to conform with Material 3
  • Applying new color specs, see T330645
  • Apply new type styles, see T330753

Updates (Figma)

ExploreSavedSearchEdits
Light
Explore.png (144×720 px, 8 KB)
saved.png (144×720 px, 9 KB)
search.png (144×720 px, 9 KB)
edits.png (144×720 px, 9 KB)
Sepia
main-navigation.png (144×720 px, 9 KB)
main-navigation-1.png (144×720 px, 9 KB)
main-navigation-2.png (144×720 px, 9 KB)
main-navigation-3.png (144×720 px, 9 KB)
Dark
main-navigation.png (144×720 px, 8 KB)
main-navigation-1.png (144×720 px, 9 KB)
main-navigation-2.png (144×720 px, 9 KB)
main-navigation-3.png (144×720 px, 9 KB)
Black
main-navigation.png (144×720 px, 8 KB)
main-navigation-1.png (144×720 px, 8 KB)
main-navigation-2.png (144×720 px, 9 KB)
main-navigation-3.png (144×720 px, 9 KB)
  • Updated sizes and spacing; check out Figma for details
  • New type style defined: toolbar see T330753
  • Updated active states
    • Filled/bold state of Explore, Saved, Search, and Edits icon
    • New pill shape in the background
  • Inactive state:
    • New color group for both icon and label: placeholder see T330645
  • Icon updates
    • Bold state for Explore icon, see [1] attachment
    • Bold state for Search icon, see [2] attachment
    • Outlined bookmark icon for Saved
    • Outlined pencil icon for Edits
  • Remove elevation (shadow), add a top border (0.5dp, color-group: border)
  • This is how truncation is handled (Figma) 👇

main-navigation-truncation.png (145×720 px, 9 KB)

Attachments

[1]

[2]

Event Timeline

scblr renamed this task from Updates to navigation bar per Material 3 to Update navigation bar per Material 3.EditedMar 1 2023, 4:43 PM
scblr renamed this task from Update navigation bar per Material 3 to Update navigation bar component.

Please note that it may be more beneficial to hold off on starting this task until the colors (T330645) and type (T330753) definitions have been established in the codebase.

scblr removed scblr as the assignee of this task.Mar 7 2023, 3:54 PM

@scblr The new "bold state" icons have a canvas size of 25x24, which is slightly larger than the standard 24x24. This makes them appear slightly "off" when rendered in a 24x24 button. It's important for these assets to have precise dimensions of 24x24 for optimal performance. Can we have updated icons?

I updated the assets in the task’s description @Dbrant – good catch!

@scblr - I just noticed that the highlighted icons are white rather than blue in the images posted on the ticket. Is that cool?

Screenshot_2023-06-05-21-37-40-23_2c49f68a4a6b3359d2a6bd122cb3bac6.jpg (2×1 px, 436 KB)

Good catch @ABorbaWMF – yes, they should be using blue.

@Dbrant can you assign the progressive color group?

Thanks - I added this note to T336702, so that this task can move forward (not a blocker for release).