Skip to content

Commit a2f0aa6

Browse files
committed
[chrome] add styled colors to siteinformationpopup and urlinput
1 parent 12a64ae commit a2f0aa6

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

packages/chrome/src/components/Button.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ export function Button(
2121
}
2222

2323
Button.style = css`
24+
:scope {
25+
color: inherit;
26+
}
2427
:scope:not(.icon) {
2528
background: var(--bg02);
2629
border: 1px solid var(--fg4);

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,18 +122,18 @@ UrlInput.style = css`
122122
text-wrap: nowrap;
123123
overflow: hidden;
124124
font-family: var(--font);
125-
color: var(--fg);
125+
color: var(--toolbar_text);
126126
cursor: text;
127127
}
128128
.inactiveurl {
129129
display: flex;
130130
align-items: center;
131-
color: var(--fg);
131+
color: var(--toolbar_text);
132132
}
133133
.inactiveurl .subdomain,
134134
.inactiveurl .rest {
135135
opacity: 0.7;
136-
color: var(--fg2);
136+
color: var(--toolbar_text);
137137
}
138138
139139
.placeholder {

packages/chrome/src/components/SiteInformationPopup.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,16 @@ SiteInformationPopup.style = css`
5050
flex-direction: column;
5151
gap: 1em;
5252
width: 20em;
53+
54+
color: var(--toolbar_text);
5355
}
5456
5557
.buttoniconscontainer {
5658
flex: 1;
5759
display: flex;
5860
align-items: top;
5961
justify-content: end;
62+
color: var(--toolbar_text);
6063
}
6164
6265
.content {
@@ -66,14 +69,14 @@ SiteInformationPopup.style = css`
6669
.header {
6770
padding: 1em;
6871
display: flex;
69-
border-bottom: 1px solid var(--fg4);
72+
border-bottom: 1px solid var(--toolbar_text);
7073
}
7174
.header span {
7275
font-size: 1.15em;
7376
}
7477
7578
.footer {
76-
border-top: 1px solid var(--fg4);
79+
border-top: 1px solid var(--toolbar_text);
7780
display: flex;
7881
flex-direction: column;
7982
}
@@ -86,6 +89,6 @@ SiteInformationPopup.style = css`
8689
gap: 1em;
8790
}
8891
.entry:hover {
89-
background: var(--bg20);
92+
background: var(--toolbarbutton-hover-background);
9093
}
9194
`;

0 commit comments

Comments
 (0)