Skip to content

Commit c65469f

Browse files
committed
adjust some colors
1 parent 74b3cb1 commit c65469f

2 files changed

Lines changed: 26 additions & 1 deletion

File tree

html/autocomplete.css

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
position: relative;
33
}
44
.container > #main {
5-
background: transparent;
65
position: relative;
76
}
87
.container__mirror {
@@ -36,4 +35,28 @@
3635
}
3736
.container__suggestion--focused {
3837
background: rgb(226 232 240);
38+
}
39+
40+
@media (prefers-color-scheme: dark) {
41+
html:not([data-theme="light"]) .container__suggestions {
42+
background: #2a2a2a;
43+
border-color: #555;
44+
}
45+
html:not([data-theme="light"]) .container__suggestion:not(:first-child) {
46+
border-color: #555;
47+
}
48+
html:not([data-theme="light"]) .container__suggestion--focused {
49+
background: #3a3a3a;
50+
}
51+
}
52+
53+
html[data-theme="dark"] .container__suggestions {
54+
background: #2a2a2a;
55+
border-color: #555;
56+
}
57+
html[data-theme="dark"] .container__suggestion:not(:first-child) {
58+
border-color: #555;
59+
}
60+
html[data-theme="dark"] .container__suggestion--focused {
61+
background: #3a3a3a;
3962
}

html/style.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ textarea {
180180
html:not([data-theme="light"]) .ts-dropdown .option:hover,
181181
html:not([data-theme="light"]) .ts-dropdown .option.active {
182182
background-color: #3a3a3a;
183+
color: #ffffff;
183184
}
184185
}
185186

@@ -218,4 +219,5 @@ html[data-theme="dark"] button:hover {
218219
html[data-theme="dark"] .ts-dropdown .option:hover,
219220
html[data-theme="dark"] .ts-dropdown .option.active {
220221
background-color: #3a3a3a;
222+
color: #ffffff;
221223
}

0 commit comments

Comments
 (0)