Skip to content

Tabs: Coloring issues #8564

Closed
Closed

Description

Summary of collected issues for coloring in tabs

Proposed solution from Brad Gashler (@bgashler1) in #8587

Activity

  1. added
    ux
    workbench-tabs
    on Jun 30, 2016
  2. added
    polish
    on Jun 30, 2016
  3. added
    verification-needed
    on Jul 1, 2016
  4. bpasero commented on Jul 1, 2016

    @bpasero
    ContributorAuthor

    Brad Gashler (@bgashler1) I pushed a variant of your commit (681e42f) to master for June with the following changes:

    • I also use mix-blend-mode for the ::before element so that the border blends nicely in other themes (not sure why you did not set it)?
    • I avoid the trick/hack you do with changing the tab size between 34-36px by using z-index for the ::before element. in your solution I noticed the active tab jumping a bit when getting active

    There is one thing which I don't like is the dropfeedback color over tabs and tabs container in light theme. It used to be the same blue you get when dragging over the tree or editor area but now with the mixed blend mode, I cannot get this colour to work. It seems this CSS property is inherited like opacity and you cannot disable it? If you have ideas how to solve that, we can still push for it.

    Maybe you could verify this across OS and themes.

  5. added
    verified
    and removed
    verified
    on Jul 1, 2016
  6. sandy081 commented on Jul 1, 2016

    @sandy081
    Member

    Leaving this verification to Brad Gashler (@bgashler1) based on above comment

  7. added
    verified
    and removed
    verification-needed
    on Jul 2, 2016
  8. bgashler1 commented on Jul 2, 2016

    @bgashler1
    Contributor

    Nice work Benjamin Pasero (@bpasero). Unfortunately, I can't think of a simple way around the inheritance problem. But it really didn't bother me because I can't drag a tab to the "Open Editors" anyway, which is where that blue color was used for list items that have active focus.

    Some of the more complex solutions I suggested earlier, such as CSS custom properties, and the CSS 4 pollyfill library would certainly enable us to avoid using the mix-blend mode though and avoid the inheritance problem.

  9. bpasero commented on Jul 2, 2016

    @bpasero
    ContributorAuthor

    Brad Gashler (@bgashler1) well you can drag it over to any opened editor and there you would get the large area filled in blue. I will see if I can tweak the color at least a little bit in light theme.

  10. locked and limited conversation to collaborators on Nov 18, 2017
  11. added a commit that references this issue on Sep 6, 2026
    5cb5714
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

polishuxverifiedworkbench-tabs

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions