Skip to content

Commit 4cdae05

Browse files
committed
add active color for tabbutton
1 parent f335fdc commit 4cdae05

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

webview-ui/src/components/common/TabButton.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ export function TabButton({ icon, label, isActive, onClick }: TabButtonProps) {
1717
isActive ? activeClasses : inactiveClasses
1818
}`}
1919
onClick={onClick}>
20-
<span className={`codicon codicon-${icon} text-sm`}></span>
20+
<span
21+
className={`codicon codicon-${icon} text-sm`}
22+
style={isActive ? { color: "var(--vscode-focusBorder)" } : undefined}></span>
2123
{label}
2224
</button>
2325
)

0 commit comments

Comments
 (0)