Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correct BottomNavigation background color #3298

Merged
merged 1 commit into from
Aug 8, 2022

Conversation

lukewalczak
Copy link
Member

@lukewalczak lukewalczak commented Aug 8, 2022

Fixes: #3290

Summary

PR fixes background color, which is now set accordingly to the docs and the value is theme.colors.elevation.level2.
Also it unblocks a possibility to override background color by barStyle prop.

  • default theme colors
ios android
Zrzut ekranu 2022-08-8 o 10 34 58 Zrzut ekranu 2022-08-8 o 10 35 20
  • custom colors
ios android
Zrzut ekranu 2022-08-8 o 10 35 55 Zrzut ekranu 2022-08-8 o 10 35 57

Test plan

Added tests.

@github-actions
Copy link

github-actions bot commented Aug 8, 2022

The mobile version of example app from this branch is ready! You can see it here

.

@slavikdenis slavikdenis self-requested a review August 8, 2022 12:30
@lukewalczak lukewalczak merged commit e87b04f into main Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not able to set custom BottomNavigation backgroundColor with v3 theme.
2 participants