Skip to content

Commit 3b8b940

Browse files
committed
Standardize dropdown appearance by switching CSS variables to quick input and list tokens
1 parent af1943e commit 3b8b940

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎packages/ui/src/components/editor/common/DropdownMenu/DropdownMenu.module.scss‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
position: absolute;
33
top: calc(100% + var(--padding-4px));
44
right: 0;
5-
background-color: var(--vscode-menu-background);
6-
border: 1px solid var(--vscode-menu-border);
5+
background-color: var(--vscode-quickInput-background);
76
border-radius: var(--border-radius-8px);
8-
box-shadow: 0 2px 8px var(--vscode-widget-shadow);
7+
border: 1px solid var(--vscode-widget-border);
8+
box-shadow: 0 0 8px 2px var(--vscode-widget-shadow);
99
z-index: 1;
1010
padding: var(--padding-4px);
1111
width: max-content;
@@ -21,13 +21,13 @@
2121
padding: 0 var(--padding-6px);
2222
height: 24px;
2323
cursor: pointer;
24-
color: var(--vscode-menu-foreground);
24+
color: var(--vscode-quickInput-foreground);
2525
white-space: nowrap;
2626
border-radius: var(--border-radius-4px);
2727

2828
&:hover,
2929
&[data-selected='true'] {
30-
background-color: var(--vscode-menu-selectionBackground);
30+
background-color: var(--vscode-list-activeSelectionBackground);
3131
& > span {
3232
color: var(--vscode-menu-selectionForeground);
3333
}

0 commit comments

Comments
 (0)