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

Fixed proper theme color is not used #5681

Merged
merged 1 commit into from
May 28, 2020
Merged

Fixed proper theme color is not used #5681

merged 1 commit into from
May 28, 2020

Conversation

simonhong
Copy link
Member

@simonhong simonhong commented May 28, 2020

Active tab's bg color was not properly picked.
Also, respected user's custom theme.
Brave theme color will not be used for native browser UI when custom theme is used.
Other web UI(settings page or shields panel) will apply brave theme mode regardless of custom theme.

Resolves brave/brave-browser#9957
Resolves brave/brave-browser#9808

Light:
Screen Shot 2020-05-28 at 1 04 31 PM

Dark:
Screen Shot 2020-05-28 at 1 04 45 PM

Custom:
Screen Shot 2020-05-28 at 1 04 10 PM

Submitter Checklist:

Test Plan:

Reviewer Checklist:

  • New files have MPL-2.0 license header.
  • Request a security/privacy review as needed.
  • Adequate test coverage exists to prevent regressions
  • Verify test plan is specified in PR before merging to source

After-merge Checklist:

  • The associated issue milestone is set to the smallest version that the
    changes has landed on.
  • All relevant documentation has been updated.

@simonhong simonhong added this to the 1.11.x - Nightly milestone May 28, 2020
@simonhong simonhong self-assigned this May 28, 2020
@simonhong simonhong changed the title Fixed Brave Tab color is not used properly Fixed Brave theme color is not used properly May 28, 2020
@simonhong simonhong changed the title Fixed Brave theme color is not used properly Fixed theme color is not used properly May 28, 2020
@simonhong simonhong changed the title Fixed theme color is not used properly Fixed proper theme color is not used May 28, 2020
Active tab's bg color was not properly picked.
Also, respected user's custom theme.
Brave theme color will not be used for native browser UI when custom
theme is used. Other web UI(settings page or shields panel) will apply
brave theme mode regardless of custom theme.
@simonhong simonhong marked this pull request as ready for review May 28, 2020 04:13
@simonhong simonhong requested a review from rebron May 28, 2020 04:13
@simonhong simonhong added CI/skip-android Do not run CI builds for Android CI/skip-ios Do not run CI builds for iOS CI/skip-linux and removed CI/skip-android Do not run CI builds for Android CI/skip-ios Do not run CI builds for iOS CI/skip-linux labels May 28, 2020
Copy link
Collaborator

@mkarolin mkarolin left a comment

Choose a reason for hiding this comment

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

Tested changes on Windows. LGTM.

Copy link
Member

@bsclifton bsclifton left a comment

Choose a reason for hiding this comment

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

Also tested- works great 😄 Changes look good too

@bsclifton bsclifton merged commit ce248cc into master May 28, 2020
@bsclifton bsclifton deleted the brave_theme_c83 branch May 28, 2020 18:14
mkarolin pushed a commit that referenced this pull request Jun 4, 2020
Fixed proper theme color is not used
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants