A simple VS Code configuration that makes the active editor tab highly visible through color and visual indicators. Perfect for colorblind users or anyone who wants more distinct active tab highlighting.
- Open VS Code
- Press
Ctrl + Shift + P
(Windows/Linux) orCmd + Shift + P
(Mac) - Type "Preferences: Open User Settings (JSON)"
- Add this configuration:
{
"workbench.colorCustomizations": {
"tab.activeBackground": "#ff990044", // Semi-transparent orange background
"tab.activeBorder": "#ff9900", // Solid orange border
"tab.activeBorderTop": "#ff9900", // Solid orange top border
"tab.activeModifiedBorder": "#ff9900", // Orange border for modified tabs
"tab.activeForeground": "#ffffff", // White text for contrast
"tab.border": "#ffffff10" // Subtle border between tabs
},
"workbench.editor.highlightModifiedTabs": true,
"workbench.editor.showTabs": true,
"workbench.editor.tabSizing": "shrink"
}
- Change opacity: Modify last two digits of
#ff990044
(44 = 68% opacity) - Change color: Replace
#ff9900
with your preferred color - Tab sizing options: Change
"shrink"
to"fit"
or"fixed"
- Uses a high-contrast orange that works well for most types of colorblindness
- Combines multiple visual indicators (background, borders, and text contrast)
- Semi-transparent background maintains readability while being distinct
- Works with any VS Code theme
Created by Tim Warner (@TechTrainer Tim) - Making VS Code more accessible, one tab at a time! 🎨