Skip to content

Commit 9dae873

Browse files
committed
[chrome] make urlinput ux slightly better and tweak icon color to be darker
1 parent 62233d5 commit 9dae873

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

packages/chrome/src/components/OmnibarButton.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ OmnibarButton.style = css`
3131
justify-content: center;
3232
padding: 0.25em;
3333
34-
font-size: 1.25em;
35-
color: var(--fg4);
34+
font-size: 1.15em;
35+
color: var(--fg5);
3636
border-radius: 0.2em;
3737
}
3838
:scope.active:hover {
3939
background: var(--bg20);
4040
}
4141
:scope.active {
42-
color: var(--fg);
42+
color: var(--fg2);
4343
}
4444
`;

packages/chrome/src/components/UrlInput.tsx

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -376,16 +376,16 @@ UrlInput.style = css`
376376
}
377377
378378
.lefticon {
379-
font-size: 1.25em;
380-
color: var(--fg);
379+
font-size: 1.15em;
380+
color: var(--fg2);
381381
display: flex;
382382
margin: 0.25em;
383383
align-self: stretch;
384384
align-items: center;
385385
}
386386
.lefticon img {
387-
width: 20px;
388-
height: 20px;
387+
width: 16px;
388+
height: 16px;
389389
}
390390
391391
.result-icon {
@@ -422,7 +422,7 @@ UrlInput.style = css`
422422
.overflow {
423423
position: absolute;
424424
display: none;
425-
background: var(--bg);
425+
background: var(--bg02);
426426
width: 100%;
427427
border-radius: 4px;
428428
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
@@ -431,6 +431,11 @@ UrlInput.style = css`
431431
.overflow .spacer {
432432
display: block;
433433
height: 2.5em;
434+
435+
width: 98%;
436+
margin: 0 auto;
437+
438+
border-bottom: 1px solid var(--fg5);
434439
}
435440
.overflowitem {
436441
display: flex;
@@ -510,6 +515,7 @@ UrlInput.style = css`
510515
overflow: hidden;
511516
font-family: var(--font);
512517
color: var(--fg);
518+
cursor: text;
513519
}
514520
.inactiveurl {
515521
display: flex;

0 commit comments

Comments
 (0)