Skip to content

Modern UI: tab.activeBorder color customization not respected #325250

Closed

Description

Description

Modern UI:

Image

Original UI:

Image

Issue Details

Item Value
Issue Category Bug
Target Visual Studio Code - Insiders
VS Code Version Code - Insiders 1.129.0-insider (e7b83d5, 2026-07-10T04:24:25Z)
OS Version Windows_NT x64 10.0.26200
System Info
Item Value
VS Code Version Code - Insiders 1.129.0-insider (e7b83d5, 2026-07-10T04:24:25Z)
OS Version Windows_NT x64 10.0.26200
CPUs Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz (8 x 2304)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x8086, DEVICE=0x9b41 [Intel(R) UHD Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=31.0.101.2140 ACTIVE
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8737
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off
Load (avg)
Memory (System) 15.84GB (0.80GB free)
Process Argv --file-uri file:///c%3A/Users/JohnM/Documents/GitHub/gjsjohnmurray/vscode.code-workspace --enable-proposed-api intersystems-community.vscode-objectscript --enable-proposed-api georgejames.vscode-deltanji --enable-proposed-api georgejames.intersystems-serverdiff
Screen Reader no
VM 0%
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code-Insiders/1.129.0-insider Chrome/148.0.7778.271 Electron/42.5.0 Safari/537.36
Installation pure true
A/B Experiments
No current experiments.

Activity

  1. mysticfalconvt commented on Jul 10, 2026

    @mysticfalconvt

    Just to add to the details here, I am also seeing titleBar.activeForeground and titleBar.activeBackground ignored in the Modern UI

  2. added
    bug
    workbench-tabs
    on Jul 13, 2026
  3. Nirke31 commented on Jul 16, 2026

    @Nirke31

    I want to add, that there are even more color customizations not respected. I am using the Peacock extension with these settings:

      "workbench.colorCustomizations": {
        "activityBar.activeBackground": "#fa1b49",
        "activityBar.background": "#fa1b49",
        "activityBar.foreground": "#e7e7e7",
        "activityBar.inactiveForeground": "#e7e7e799",
        "activityBarBadge.background": "#155e02",
        "activityBarBadge.foreground": "#e7e7e7",
        "commandCenter.border": "#e7e7e799",
        "sash.hoverBorder": "#fa1b49",
        "statusBar.background": "#dd0531",
        "statusBar.foreground": "#e7e7e7",
        "statusBarItem.hoverBackground": "#fa1b49",
        "statusBarItem.remoteBackground": "#dd0531",
        "statusBarItem.remoteForeground": "#e7e7e7",
        "titleBar.activeBackground": "#dd0531",
        "titleBar.activeForeground": "#e7e7e7",
        "titleBar.inactiveBackground": "#dd053199",
        "titleBar.inactiveForeground": "#e7e7e799",
      },
      "peacock.color": "#dd0531",

    Almost all of them seem to be ignored. The status bar and title bar seem to be completely ignored if I am not mistaken.

  4. brettcurtis commented on Jul 18, 2026

    @brettcurtis

    Also editor.background is now used for the top menu bar and the primary sidebar:

    Image
  5. johnpapa commented on Jul 19, 2026

    @johnpapa

    I'm the owner/maintainer of Peacock and noticed that the extension no longer works with the modernUI enabled. This is a problem for the 4M+ users of Peacock if this goes to stable VS Code as is enabled by default.

    I'd love to have a discussion about the options, please.

  6. Azim-Palmer commented on Aug 5, 2026

    @Azim-Palmer

    I've had to set "workbench.experimental.modernUI" : false until modernUi supports Peacock or Peacock-like functionality.

    I'm sure modernUI will become awesome but at the moment almost instinctually knowing which project I'm switching into is really enjoyable for me. Plus, you know, pretty colours !

  7. Jimbo99 commented on Aug 5, 2026

    @Jimbo99

    I've had to set "workbench.experimental.modernUI" : false until modernUi supports Peacock or Peacock-like functionality.

    I'm sure modernUI will become awesome but at the moment almost instinctually knowing which project I'm switching into is really enjoyable for me. Plus, you know, pretty colours !

    I'm in exactly the same boat! With 2 or more VSCodes open at once, border colour is so helpful at telling me which project I'm looking at.

    Hoping VSCode fixes this soon.

  8. mrleemurray commented on Aug 18, 2026

    @mrleemurray
    Contributor

    Addressed in:

    #330818
    #330669
    #329701

  9. 1 remaining item

  10. sqlsolver commented on Sep 18, 2026

    @sqlsolver

    As a temporary workaround until this is fixed I was able to apply styles to tabs using:

            "editorGroupHeader.tabsBackground": "#0f41e7",
            "editorGroupHeader.tabsActiveForeground": "#ffffff",
            "editorGroupHeader.tabsBorder": "#ff9100",
    
  11. nikiromagnoli commented on Sep 24, 2026

    @nikiromagnoli

    This is still an issue, at least as of VSCode 1.139.0 on Windows 11 Pro. No Peacock here.
    The "tab.activeBorder" style is very important because the native coloring of active tab label is quite difficult to spot, and high contrast borders help a lot here.

  12. mrleemurray commented on Sep 24, 2026

    @mrleemurray
    Contributor

    Cherry Wang (@chryw) can you ensure that the new connected tabs respect the color tokens, like the pill design does?

  13. yevon commented on Sep 29, 2026

    @yevon

    The color now is respected in the down status bar, but this is still an issue for tabs.

  14. chryw commented on Sep 29, 2026

    @chryw
    Contributor

    on it :-) there are a few more tokens I need to port to connected tabs

  15. added a commit that references this issue on Oct 2, 2026
    a60fe63
  16. vs-code-engineering commented on Oct 2, 2026

    @vs-code-engineering
    Contributor

    Sharing media and context from merged PR #338796 for verification:

    Connected editor tabs still suppressed legacy border customizations after #337986. This restores those colors while preserving the height, wrapping, and corner geometry introduced by #339028.

    Changes

    • Restore active top/bottom, hover, selected, modified, and unfocused border customizations. Explicit selected-top colors remain the fallback when the active-top color is absent, without exposing the default theme accent.
    • Add tab.divider, inheriting tab.border unless customized separately. Legacy keeps its existing separators; Pill shows dedicated dividers at every adjacency; Connected shows them only between inactive neighbors. High Contrast retains theme-owned boundaries without redundant dividers.
    • Keep the connected cap, curved shoulders, and body separator continuous in default/custom colors and High Contrast. Reserve wrapped action space before assigning row markers so compact tabs do not lose their left boundary.
    • Preserve Modern action-background customization on ordinary, upper wrapped, and separate pinned tabs. Color fixtures use isolated customized themes and production-generated CSS, including derived colors.

    Visual evidence

    Current production fixtures in Dark: yellow is tab.border, white is tab.divider, cyan is the active-top accent, and red is the active-bottom accent. Top to bottom: Legacy, Pill, Connected. The linked issue contains the original missing-customization state.

    Current Legacy, Pill, and Connected fixtures with matched custom colors

    Compact wrapped tabs in Dark High Contrast, without color overrides. Before/after detail shows the active left boundary and shoulder restored by correcting row classification; the updated tab height is unchanged.

    Compact wrapped HC tab before and after restoring its left contour

    The Screenshots & Tests check supplies the broader component-fixture theme report.

    Testing

    1. Enable Modern UI and select Connected tabs. Assign distinct colors to tab.border, tab.divider, tab.activeBorder, and tab.activeBorderTop. Verify the active contour and accents, with dividers only between inactive neighbors.
    2. Switch to Pill, then disable Modern UI for Legacy. Verify rounded Pill outlines and independent dividers; Legacy must not gain a second separator.
    3. Wrap enough tabs to select a bottom-row tab with neighbors on both sides. Switch between default and compact tab height. Verify both shoulders meet the body border, row markers remain correct, and Close/Unpin controls stay aligned.
    4. Repeat in Dark and Light High Contrast with no overrides. Verify continuous theme-owned outlines and no dedicated dividers.
    5. Customize modernEditorTab.hoverActionBackground differently from modernEditorTab.hoverBackground. Hover ordinary, upper wrapped, and separate pinned tabs in focused and unfocused groups.
    6. With Dark+, customize only tab.selectedBorderTop and multi-select tabs. Verify the active tab retains the selected-color fallback. In a theme with an active-top color, confirm that fallback does not override it.
    7. Customize only tab.border and verify tab.divider inherits it. Check modified, multi-selected, action-left, clipped, and unfocused states, then clear all overrides and verify the default appearance.

    Validation

    Production tab/color regression tests, existing tab fixture behavior checks, render/remount checks, ESLint, stylelint, and staged hygiene pass. Component Explorer validation includes full-folder views and matched physical-pixel shoulder checks.

    The latest UI validation used production Component Explorer fixtures rather than a fresh native OSS run. Full local client type checking is blocked by three existing Foundry transcription errors in unchanged code.

    Source PR: #338796

  17. added
    unreleased
    insiders-released
    and removed
    unreleased
    on Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

buginsiders-releasedmodernizationverifiedworkbench-tabs

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions