Skip to content

Commit 733cc97

Browse files
committed
fix: light-mode for combobox on product landing page
1 parent 4d1a308 commit 733cc97

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

frontend/layers/base/app/components/BaseChip.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const {
1313
<button
1414
class="text-nowrap border-1 font-semibold focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-300"
1515
:class="[
16-
variant === 'neutral' && 'dark:bg-gray-900 dark:border-gray-800 dark:text-gray-400 dark:aria-pressed:bg-gray-700 dark:aria-pressed:border-gray-700 dark:aria-pressed:text-white aria-pressed:shadow-none',
16+
variant === 'neutral' && 'bg-gray-100 dark:bg-gray-900 border-gray-200 dark:border-gray-800 text-gray-600 dark:text-gray-400 aria-pressed:bg-gray-200 dark:aria-pressed:bg-gray-700 aria-pressed:border-gray-300 dark:aria-pressed:border-gray-700 aria-pressed:text-black dark:aria-pressed:text-white aria-pressed:shadow-none',
1717
size === 'sm' && 'px-md py-xs rounded-md ',
1818
]"
1919
:aria-pressed="isSelected"

frontend/layers/base/app/components/BaseSearchInput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const handleClickOutside = (e: PointerDownOutsideEvent) => {
9191
/>
9292

9393
<RkComboboxContent
94-
class="absolute z-10 dark:bg-gray-950 mt-xl rounded-xl w-full max-h-[400px]"
94+
class="absolute z-10 bg-gray-50 dark:bg-gray-950 mt-xl rounded-xl w-full max-h-[400px]"
9595
@pointer-down-outside="handleClickOutside"
9696
>
9797
<slot name="dropdown-fixed-header" />

frontend/layers/products/app/components/BlockchainSearchLoadingSkeleton.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@
88
class="flex-1 animate-pulse"
99
>
1010
<div class="flex px-2xl py-lg">
11-
<div class="h-xl w-1/5 rounded-full bg-gradient-to-r dark:from-gray-950 from-0% dark:via-gray-500 via-30% dark:to-gray-950 to-100%" />
11+
<div class="h-xl w-1/5 rounded-full bg-gradient-to-r dark:from-gray-950 from-0% dark:via-gray-500 via-30% dark:to-gray-950 to-100% from-gray-100 via-gray-300 to-gray-100" />
1212
</div>
1313
<div class="flex px-2xl py-lg">
14-
<div class="h-xl w-1/3 rounded-l-full bg-gradient-to-r dark:from-gray-950 from-0% dark:via-gray-400 via-40% dark:to-gray-700 to-100%" />
15-
<div class="h-xl w-full rounded-r-full bg-gradient-to-r dark:from-gray-700 dark:to-gray-950 to-25%" />
14+
<div class="h-xl w-1/3 rounded-l-full bg-gradient-to-r dark:from-gray-950 from-0% dark:via-gray-400 via-40% dark:to-gray-700 to-100% from-gray-100 via-gray-300 to-gray-200" />
15+
<div class="h-xl w-full rounded-r-full bg-gradient-to-r dark:from-gray-700 dark:to-gray-950 to-25% from-gray-200 to-gray-100" />
1616
</div>
1717
<div class="flex px-2xl py-lg">
18-
<div class="h-xl w-1/3 rounded-l-full bg-gradient-to-r dark:from-gray-950 from-0% dark:via-gray-400 via-40% dark:to-gray-700 to-100%" />
19-
<div class="h-xl w-full rounded-r-full bg-gradient-to-r dark:from-gray-700 dark:to-gray-950 to-25%" />
18+
<div class="h-xl w-1/3 rounded-l-full bg-gradient-to-r dark:from-gray-950 from-0% dark:via-gray-400 via-40% dark:to-gray-700 to-100% from-gray-100 via-gray-300 to-gray-200" />
19+
<div class="h-xl w-full rounded-r-full bg-gradient-to-r dark:from-gray-700 dark:to-gray-950 to-25% from-gray-200 to-gray-100" />
2020
</div>
2121
<div class="flex px-2xl py-lg">
22-
<div class="h-xl w-1/3 rounded-l-full bg-gradient-to-r dark:from-gray-950 from-0% dark:via-gray-400 via-40% dark:to-gray-700 to-100%" />
23-
<div class="h-xl w-full rounded-r-full bg-gradient-to-r dark:from-gray-700 dark:to-gray-950 to-25%" />
22+
<div class="h-xl w-1/3 rounded-l-full bg-gradient-to-r dark:from-gray-950 from-0% dark:via-gray-400 via-40% dark:to-gray-700 to-100% from-gray-100 via-gray-300 to-gray-200" />
23+
<div class="h-xl w-full rounded-r-full bg-gradient-to-r dark:from-gray-700 dark:to-gray-950 to-25% from-gray-200 to-gray-100" />
2424
</div>
2525
</div>
2626
</div>

0 commit comments

Comments
 (0)