Skip to content

Commit 2d8195c

Browse files
committed
Add custom Tag component
1 parent 0149263 commit 2d8195c

File tree

1 file changed

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

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { styled } from "styled-components";
2+
3+
export const Tag = styled.div`
4+
background-color: var(--vscode-badge-background);
5+
border: 1px solid var(--vscode-button-border, transparent);
6+
border-radius: 2px;
7+
color: var(--vscode-badge-foreground);
8+
padding: 2px 4px;
9+
text-transform: uppercase;
10+
box-sizing: border-box;
11+
font-family: var(--vscode-font-family);
12+
font-size: 11px;
13+
line-height: 16px;
14+
`;

0 commit comments

Comments
 (0)