File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66[data-color-scheme = "dark" ] [data-component = "new-session" ] [data-component = "composer" ] {
77 background : var ( --v2-background-bg-layer-01 ) ;
88}
9+
10+ [data-color-scheme = "dark" ] [data-component = "composer-suggestions" ] [data-active ] {
11+ background : var ( --v2-alpha-light-10 ) ;
12+ }
Original file line number Diff line number Diff line change @@ -692,6 +692,7 @@ export function ComposerEditorPopover(props: {
692692} ) {
693693 return (
694694 < div
695+ data-component = "composer-suggestions"
695696 class = "absolute inset-x-0 -top-2 z-40 flex max-h-80 -translate-y-full flex-col overflow-auto rounded-xl bg-v2-background-bg-base p-2 shadow-[var(--v2-elevation-raised)] no-scrollbar"
696697 onMouseDown = { ( event ) => event . preventDefault ( ) }
697698 >
@@ -720,6 +721,7 @@ export function ComposerEditorPopover(props: {
720721 < button
721722 type = "button"
722723 data-suggestion-id = { item . id }
724+ data-active = { props . activeID === item . id ? "" : undefined }
723725 class = "flex w-full items-center gap-2 rounded-md px-2 py-1 text-start hover:bg-v2-overlay-simple-overlay-hover"
724726 classList = { { "bg-v2-overlay-simple-overlay-hover" : props . activeID === item . id } }
725727 onPointerMove = { ( ) => props . onActiveChange ( item ) }
Original file line number Diff line number Diff line change 122122 outline : none;
123123}
124124
125+ [data-color-scheme = "dark" ] . command-palette-row : is ( [data-active ], : focus-visible ) {
126+ background : var ( --v2-alpha-light-10 ) ;
127+ }
128+
125129. command-palette-row-main {
126130 display : flex;
127131 min-width : 0 ;
You can’t perform that action at this time.
0 commit comments