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

LocationBar colors don't change immediately between dark and light themes #982

Closed
petemill opened this issue Sep 6, 2018 · 2 comments
Closed

Comments

@petemill
Copy link
Member

petemill commented Sep 6, 2018

brave/brave-core#407 introduces switching NativeTheme between dark and light when our theme service mode is changed between dark and light. However, this does not change immediately when the user changes between light and dark via preferences. The user must switch tabs before these colors are re-calculated.

Similarly for GetOmniboxColor which is also sync'ed to light and dark choice, though that re-paints when the LocationBar is hovered.

Both should observe the theme mode preference and change immediately.

cc @simonhong who also worked on theme service

@simonhong
Copy link
Member

duplicated with #974?

@LaurenWags
Copy link
Member

LaurenWags commented Sep 20, 2018

Verification Pass with

Brave 0.55.5 Chromium: 70.0.3538.16 (Official Build) dev (64-bit)
Revision 16ed95b41bb05e565b11fb66ac33c660b721f778-refs/branch-heads/3538@{#306}
OS Mac OS X
Brave 0.55.5 Chromium: 70.0.3538.16 (Official Build) dev (64-bit)
Revision 16ed95b41bb05e565b11fb66ac33c660b721f778-refs/branch-heads/3538@{#306}
OS Windows 7

Verification Passed on

Brave 0.55.6 Chromium: 70.0.3538.16 (Official Build) dev (64-bit)
Revision 16ed95b41bb05e565b11fb66ac33c660b721f778-refs/branch-heads/3538@{#306}
OS Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants