Skip to content

Commit 873ad15

Browse files
committed
Use css variables
1 parent 14701cf commit 873ad15

File tree

1 file changed

+3
-3
lines changed
  • extensions/ql-vscode/src/view/common

1 file changed

+3
-3
lines changed

extensions/ql-vscode/src/view/common/Tag.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { styled } from "styled-components";
22

33
export const Tag = styled.span`
4-
background-color: #4d4d4d;
5-
border: 1px solid transparent;
4+
background-color: var(--vscode-badge-background);
5+
border: 1px solid var(--vscode-button-border, transparent);
66
border-radius: 2px;
7-
color: #ffffff;
7+
color: var(--vscode-badge-foreground);
88
padding: 2px 4px;
99
text-transform: uppercase;
1010
box-sizing: border-box;

0 commit comments

Comments
 (0)