Skip to content

Commit eba2fb2

Browse files
committed
change link styles
1 parent e9f5b51 commit eba2fb2

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

src/webviews/apps/plus/shared/components/vscode.css.ts

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,18 @@ import { css } from 'lit';
22

33
export const linkStyles = css`
44
a {
5-
color: var(--link-foreground);
6-
text-decoration: var(--link-decoration-default, none);
5+
border: 0;
6+
color: var(--color-link-foreground);
7+
font-weight: 400;
8+
outline: none;
9+
text-decoration: none;
710
}
8-
a:focus {
9-
outline-color: var(--focus-border);
11+
a:not([href]):not([tabindex]):focus,
12+
a:not([href]):not([tabindex]):hover {
13+
color: inherit;
14+
text-decoration: none;
1015
}
11-
a:hover {
12-
color: var(--link-foreground-active);
13-
text-decoration: underline;
16+
a:focus {
17+
outline-color: var(--color-focus-border);
1418
}
1519
`;

0 commit comments

Comments
 (0)