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

Split view - UI polish #39027

Open
6 of 12 tasks
aguscruiz opened this issue Jun 13, 2024 · 7 comments
Open
6 of 12 tasks

Split view - UI polish #39027

aguscruiz opened this issue Jun 13, 2024 · 7 comments

Comments

@aguscruiz
Copy link

aguscruiz commented Jun 13, 2024

Description

Latest version of Figma

https://www.figma.com/design/Dt0iJdVaaAj7DikWLO1P7I/Split-view-%2F-Sidebar-browsing?node-id=348-28191&t=0r7ExpW2INc0KU4d-1

On hold

  • Update all colors to material color tokens

Tab bar

image

Omnibar

Page area

Contextual menu on gutter

  • When hovering, don't change the background color.
  • When active, change icon color to semantic/icon/interactive
  • The contextual menu itself needs a 4px padding on top-bottom to not make it look so cramped
@rebron rebron added needs-discussion Although the issue is clear, we haven't yet reached a decision about the right solution. and removed needs-discussion Although the issue is clear, we haven't yet reached a decision about the right solution. labels Jun 13, 2024
@sangwoo108
Copy link

sangwoo108 commented Jun 25, 2024

Border of active tabs is 1.5px

@aguscruiz real number may not work on Windows. Can we have integer for the thickness?

Border color of inactive tab has also been updated

And curious if Browser/ToolBar/Button/Outline is valid token. I couldn't find the color.

@aguscruiz
Copy link
Author

aguscruiz commented Jun 25, 2024

@aguscruiz real number may not work on Windows. Can we have integer for the thickness?

Yeah we can use 2px instead. We can use that on macOS/Linux aswell, so we keep the same in all. Btw the color token I used is for border/icon/interactive. That should solve the issue with the color not having contrast in dark mode

And curious if Browser/ToolBar/Button/Outline is valid token. I couldn't find the color.

This one is part of the new color tokens for the material design work. It's built on top of the new primitives, so it's not accessible without those.


You need it for the url indicator?
image

If that's the use case, you can use the same color we give the top tab bar background. It's the same value.

image ------------------------------------------

Note: With that URL indicator, the whole inactive tab gets a border color too
image


I left a clean design without images here so you can see it better
https://www.figma.com/design/Dt0iJdVaaAj7DikWLO1P7I/Split-view-%2F-Sidebar-browsing?node-id=2318-16574&t=6FHr3SRo0nZmN0Fo-1

@sangwoo108
Copy link

If that's the use case, you can use the same color we give the top tab bar background. It's the same value.

Yeah, I needed it for inactive web view's border. I guess that's the same value with the mini url bar's border.

@sangwoo108
Copy link

Browser's current frame color looks lighter than the design guide, so vaguely notice the border 🤔

@aguscruiz
Copy link
Author

Yeah, another update from the material design Token update that's pending.

@sangwoo108
Copy link

Okay then let me push as is 👍

@ghost
Copy link

ghost commented Jun 28, 2024

I recorded this yesterday but still applies to 1.69.66 Chromium: 127.0.6533.26 (Official Build) nightly (64-bit)

Seems like this behavior appeared after Polish Split view UI brave/brave-core#24385 PR, and it is basically, that when you click on the tabs of the split view, the active tab will have 2px less, than when it is not the active one.

You can see it in devtools, how the size changes.
Plus seems like devtools now disappears for a while when switching from non-devtools split view tab to the devtools one

And as can be seen, it happens in both VT and HT.

Recording.2024-06-28.152839.mp4
Recording.2024-06-27.121915.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants