Skip to content

Commit 0d4a15e

Browse files
authored
Merge pull request #1399 from RooVetGit/cte/fix-sidebar-section-headers
Fix settings colors for themes that use color transparency
2 parents ee997c8 + dd7d982 commit 0d4a15e

File tree

11 files changed

+679
-969
lines changed

11 files changed

+679
-969
lines changed

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

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,13 @@ interface VSCodeButtonLinkProps {
77
[key: string]: any
88
}
99

10-
const VSCodeButtonLink: React.FC<VSCodeButtonLinkProps> = ({ href, children, ...props }) => {
11-
return (
12-
<a
13-
href={href}
14-
style={{
15-
textDecoration: "none",
16-
color: "inherit",
17-
}}>
18-
<VSCodeButton {...props}>{children}</VSCodeButton>
19-
</a>
20-
)
21-
}
22-
23-
export default VSCodeButtonLink
10+
export const VSCodeButtonLink = ({ href, children, ...props }: VSCodeButtonLinkProps) => (
11+
<a
12+
href={href}
13+
style={{
14+
textDecoration: "none",
15+
color: "inherit",
16+
}}>
17+
<VSCodeButton {...props}>{children}</VSCodeButton>
18+
</a>
19+
)

0 commit comments

Comments
 (0)