Skip to content

Commit b614a5e

Browse files
committed
[chrome] add selection highlight to url input
1 parent 3e63cc5 commit b614a5e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/chrome/src/components/Omnibar/UrlInput.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ export const UrlInput: Component<
165165
activate();
166166
e.stopPropagation();
167167
}}
168+
class:subtle={use(this.subtleinput)}
169+
class:active={use(this.active)}
168170
>
169171
<div class="inactivebar"></div>
170172
<div
@@ -414,6 +416,10 @@ UrlInput.style = css`
414416
border-radius: 4px;
415417
margin: 0.25em;
416418
}
419+
420+
:scope.subtle.active .inactivebar {
421+
border: 1px solid var(--accent);
422+
}
417423
`;
418424

419425
const RealBar: Component<

0 commit comments

Comments
 (0)