Skip to content

Commit 1f93ca0

Browse files
fix: Update color variables in CSS
1 parent e048631 commit 1f93ca0

1 file changed

Lines changed: 13 additions & 8 deletions

File tree

web/css/autocomplete-plus.css

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
/* Light Theme */
22
body {
3-
--autocomplete-plus-text-color-cat-blue: var(--p-blue-600);
3+
--autocomplete-plus-text-color-cat-blue: var(--p-blue-700);
44
--autocomplete-plus-text-color-cat-red: var(--p-red-600);
55
--autocomplete-plus-text-color-cat-purple: var(--p-purple-600);
6-
--autocomplete-plus-text-color-cat-green: var(--p-green-600);
6+
--autocomplete-plus-text-color-cat-green: var(--p-green-700);
77
--autocomplete-plus-text-color-cat-yellow: var(--p-yellow-600);
88
--autocomplete-plus-text-color-cat-gray: var(--p-gray-600);
9-
--autocomplete-plus-text-color-cat-sky: var(--p-sky-500);
9+
--autocomplete-plus-text-color-cat-sky: var(--p-sky-600);
1010
--autocomplete-plus-text-color-cat-orange: var(--p-orange-600);
1111
--autocomplete-plus-text-color-cat-white: var(--p-neutral-700);
1212
--autocomplete-plus-text-color-disabled: var(--p-gray-400);
13+
--autocomplete-plus-list-color-even: var(--p-neutral-300);
14+
--autocomplete-plus-list-color-odd: var(--p-neutral-400)
1315
}
1416

1517
/* Dark Theme */
@@ -24,6 +26,9 @@ body.dark-theme {
2426
--autocomplete-plus-text-color-cat-orange: var(--p-orange-400);
2527
--autocomplete-plus-text-color-cat-white: var(--p-neutral-200);
2628
--autocomplete-plus-text-color-disabled: var(--p-gray-500);
29+
--autocomplete-plus-list-color-even: var(--p-neutral-800);
30+
--autocomplete-plus-list-color-odd: var(--p-neutral-900)
31+
2732
}
2833

2934
#autocomplete-plus-root {
@@ -120,11 +125,11 @@ body.dark-theme {
120125

121126
/* Alternating row colors */
122127
.autocomplete-plus-item:nth-child(even) span {
123-
background-color: var(--comfy-menu-bg);
128+
background-color: var(--autocomplete-plus-list-color-even);
124129
}
125130

126131
.autocomplete-plus-item:nth-child(odd) span {
127-
background-color: var(--comfy-menu-secondary-bg);
132+
background-color: var(--autocomplete-plus-list-color-odd);
128133
}
129134

130135
.autocomplete-plus-item.selected span {
@@ -236,7 +241,7 @@ body.dark-theme {
236241
align-items: center;
237242
padding: 8px;
238243
border-bottom: 1px solid var(--border-color);
239-
background-color: var(--comfy-menu-bg);
244+
background-color: var(--autocomplete-plus-list-color-even);
240245
color: var(--descrip-text);
241246
gap: 8px;
242247
}
@@ -319,11 +324,11 @@ body.dark-theme {
319324
}
320325

321326
.related-tag-item:nth-child(even) span {
322-
background-color: var(--comfy-menu-bg);
327+
background-color: var(--autocomplete-plus-list-color-even);
323328
}
324329

325330
.related-tag-item:nth-child(odd) span {
326-
background-color: var(--comfy-menu-secondary-bg);
331+
background-color: var(---autocomplete-plus-list-color-odd);
327332
}
328333

329334
.related-tag-item:hover span {

0 commit comments

Comments
 (0)