Skip to content

Allow border top color in tabs #47867

Closed
Closed

Description

Hi,

I would love to have the possibility to change the position of the active tab border to conform to the original Ayu theme in Sublime Text:

screen shot 2018-04-14 at 10 28 55

It makes more sense to have the border in the top of the tab since it doesn't get so close with the editor text which can make it hard to spot sometimes like this example:

screen shot 2018-04-14 at 10 33 45

Any thoughts on this?

Activity

  1. added
    help wanted
    feature-request
    on Apr 16, 2018
  2. bpasero commented on Apr 16, 2018

    @bpasero
    Contributor

    I would accept a (minimal) PR to get this in. I do not think we can introduce positions but rather we can introduce a new color just for this purpose.

  3. changed the title [-]Border position when using tab.activeBorder[/-] [+]Allow border top color in tabs[/+] on Apr 16, 2018
  4. mkavidas commented on Apr 20, 2018

    @mkavidas
    Contributor

    I'm looking to get involved in the project. This looks like a good jumping off point. Could I work on this as my first issue? If so any guidance on what I would need to do would be appreciated!

  5. bpasero commented on Apr 20, 2018

    @bpasero
    Contributor

    Michael Kavidas (@mkavidas) maybe check how the current border TAB_ACTIVE_BORDER color (the one that appears below the tab) is used and go from there: https://github.com/Microsoft/vscode/blob/ben/editor/src/vs/workbench/common/theme.ts#L57

  6. mkavidas commented on May 6, 2018

    @mkavidas
    Contributor

    Benjamin Pasero (@bpasero) Thank you for the help. by "introduce new color" would you like me to change the default color or add a new border for the top of the tab (with it's own color)?

    Never mind I think I figured it out. Please review my PR #49313

  7. added
    verification-needed
    on May 10, 2018
  8. bpasero commented on May 10, 2018

    @bpasero
    Contributor

    Verify: new colors tab.activeBorderTop and tab.unfocusedActiveBorderTop

  9. 4 remaining items

  10. bpasero commented on May 29, 2018

    @bpasero
    Contributor

    Will revisit this when I push the grid work.

  11. removed
    help wanted
    verification-found
    verification-needed
    on May 29, 2018
  12. bpasero commented on Jun 1, 2018

    @bpasero
    Contributor

    This is how it will look like with the grid changes:

    image

    The thickness is different due to #50933

    Isidor Nikolic (@isidorn) can you explain this:

    Apart from that unfocusedActiveBorderTop seems like a misleading name, since if I focus in the explorer this color is not used. It is only used when some other group has focus. Feels weird

  13. isidorn commented on Jun 1, 2018

    @isidorn

    Sure.

    1. use the unfocusedActiveBorderTop color customization
    2. Have one group. Click in the explorer
    3. Notice your color customization is not applied. Because in your world the group is still active. However the name is unfocused thus I would expect it to be applied since the focus is in the explorer and not in my group
  14. bpasero commented on Jun 1, 2018

    @bpasero
    Contributor

    Isidor Nikolic (@isidorn) yeah this is a problem with how to name things:

    • a group can be active or not
    • a tab can be focused or not (that is, showing the editor or not)

    In order to not use active twice, I decided to call the one thing "focused" and the other thing "active". I fear we cannot change this now as the color keys have been used like that since the beginning.

  15. isidorn commented on Jun 1, 2018

    @isidorn

    Benjamin Pasero (@bpasero) thanks for the explanation. Yeah, let's live with it

  16. added
    verification-needed
    on Jun 14, 2018
  17. locked and limited conversation to collaborators on Jul 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestthemesverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions