-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[Nala]: Remove Chromium color overrides #40689
Comments
Verification
Case 1: Normal Window - Default (Gray/Gray) - PASSEDHorizontal tab view
Vertical tabs - PASSED
omnibox hover/selected state when open - PASSED
Case 2: New Window - Violet - PASSED
Horizontal tab view
Vertical tab view
Multiple profiles - system generated custom color - PASSED
Install dark theme from Chrome store - PASSED
Horizontal tab view and vertical tab view looks a little darker with
Upgrade - PASSEDExisting theme is retained - Light green to Orange - PASSED
Change from Dark purple to Aqua to Ultra Violet - PASSED
|
Verified with
Note There is no separator (most visible on light theme) on 1.71.x due to rounded corners which is currently only enabled on Nightly and Beta. Fix coming for this with brave/brave-core#25738.
Note Encountered #41450 which exists in all channels, not a regression from this PR.
Case 1 - default light/dark theme - PASSEDSee above for screenshots. Case 2: Theme color with light/dark - PASSED
Multiple profiles - system generated custom color - PASSED
Install dark theme from Chrome store - PASSED
Horizontal tab view and vertical tab view looks darker with
Upgrade - PASSEDExisting theme is retained - PASSED
Change from purple to Aqua to Ultra Violet - PASSED
|
Verification
Case 1: Normal Window - Default (Gray/Gray) - PASSEDHorizontal tab view
Vertical tabs - PASSED
omnibox hover/selected state when open - PASSED
Case 2: New Window - PASSED
Horizontal tab view Vertical tab view Multiple profiles - system generated custom color - PASSED
Install dark theme from Chrome store - PASSED
Horizontal tab view and vertical tab view looks a little darker with Upgrade - PASSEDExisting theme is retained - PASSED
1.70.x |
Description
With the new Nala theming work @aguscruiz has been doing, it should be possible for us to remove a bunch of the overriding logic we have in our
brave_color_mixer
andbrave_tabs_color_mixer
and just use the underlying colors from Chromium.As an added bonus, this means we can enable the tri-color themes Chromium is using now before they remove support for the old dual color themes.
*Note:
As theming changes (especially to dark mode) are often controversial we should have a blog post explaining the changes.
Solid Color Themes
Existing users, who've picked one of the solid color themes will not be affected by these changes. However, if they change their theme color the only way to get the solid color theme back will be to install that theme from the Chrome Web Store.
Default Theme for New Users
By default Chromium sets the default theme to be the Gray/Blue theme. This is a bit different to the current default theme in Brave which is Gray/light gray. We should ensure that we default to the Gray/Gray theme.
Dark Theme Changes
This is likely to be the most controversial part of the change. The new dark theme is slightly lighter than the existing dark theme, and is inherited from upstream. This will make it significantly easier for us to maintain, and there will be far fewer override points after this change.
However, people are often pretty unhappy when the colors in their browser change. As a mitigation, in a blog post we should point users to the Just Black theme in the Chrome Web Store, which should result in a suitably dark theme.
cc @rebron & @aguscruiz for all the stuff I've forgotten to mention.
Approach
There are few parts to this change:
The text was updated successfully, but these errors were encountered: