-
Notifications
You must be signed in to change notification settings - Fork 895
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 tab color regressions from https://github.com/brave/brave-core/pull/27008 #27123
Conversation
mixer[kColorBraveVerticalTabHoveredBackground] = { | ||
ui::AlphaBlend(kColorBraveVerticalTabActiveBackground, | ||
kColorBraveVerticalTabInactiveBackground, | ||
/* 40% opacity */ 0.4 * SK_AlphaOPAQUE)}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aguscruiz Re-used previously used color for hover color but maybe we want to use nala token for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it doesn't break anything, then sure, I'm all for that.
mixer[kColorBraveVerticalTabHoveredBackground] = { | ||
ui::AlphaBlend(kColorBraveVerticalTabActiveBackground, | ||
kColorBraveVerticalTabInactiveBackground, | ||
/* 40% opacity */ 0.4 * SK_AlphaOPAQUE)}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aguscruiz ditto for tor theme.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally yes, we should use the Nala token that we use for the regular dark mode but with the color of these private/tor windows. Should look ok if they work like on the design
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok cool! Yeah looks good
fix brave/brave-browser#43057 This is regression from #27008 `nala::kColorDesktopbrowserTabbarActiveTabVertical` and `nala::kColorDesktopbrowserTabbarHoverTabVertical` didn't work for private/tor window. Fixed by setting different colors for above in private/tor theme.
4834fd8
to
689e490
Compare
kColorPrimitivePrivateWindow15/kColorPrimitiveTorWindow15 for tab hover color in vertical tab mode.
set as draft as this will have more fix for fixing regressions from https://github.com/brave/brave-core/pull/27008/files |
fix brave/brave-browser#43052 When custom theme is used, we use different tile bg color and border color as custom theme could have any colors so it's difficult to generate tile color from them.
Pushed all. PTAL the above screenshots in the description. |
0628c16
to
37e3465
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems ok to me!
mixer[kColorBraveSplitViewTileDivider] = {kColorTabDividerFrameActive}; | ||
mixer[kColorBraveVerticalTabActiveBackground] = { | ||
kColorTabBackgroundInactiveFrameActive}; | ||
mixer[kColorBraveVerticalTabHoveredBackground] = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
fix brave/brave-browser#43057
fix brave/brave-browser#43052
This is regression from #27008
Resolves
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
wikinpm run presubmit
wiki,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan: