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

Remove automatic darkening of system bars #1882

Merged

Conversation

LasseRosenow
Copy link
Contributor

In modern material design the system bars should not be darker then the rest of the app.
Fixes #1501 which should not be closed.

Summary

Google material design changed over the years and they did not always update all the specifications accordingly.
But gladly with Material 3 / Material You, which's specification just got published, they updated everything.

The status bar color should now always be the same color as the AppBar and the navigation bar color should be the same as either the bottom bar or the background.

Spec: https://m3.material.io/styles/color/the-color-system/tokens

Screenshots

image

Link to pull request in Documentation repository

Documentation: home-assistant/companion.home-assistant#

Any other notes

In modern material design the system bars should not be darker then the rest of the app.
@homeassistant
Copy link
Contributor

Hi @LasseRosenow,

It seems you haven't yet signed a CLA. Please do so here.

Once you do that we will be able to review and accept this pull request.

Thanks!

@dshokouhi
Copy link
Member

Can you please post screenshots of what this looks like with the app?

@LasseRosenow
Copy link
Contributor Author

Of course :)

BeforeAfter

Screenshot_2021-11-07-18-16-47-358_io homeassistant companion android

Screenshot_2021-11-07-18-16-39-592_io homeassistant companion android debug

Copy link
Member

@dshokouhi dshokouhi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thank you for your contribution!

@JBassett JBassett merged commit dc80d31 into home-assistant:master Nov 8, 2021
@LasseRosenow LasseRosenow deleted the feature/fix-system-bars-color branch November 8, 2021 02:16
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.

None yet

4 participants