Skip to content

Commit

Permalink
fix chainselector colors
Browse files Browse the repository at this point in the history
  • Loading branch information
KorbinianK committed Sep 6, 2023
1 parent bcb209a commit f653149
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,13 @@
</div>

<dialog id={dialogId} class="modal modal-bottom md:modal-middle" class:modal-open={modalOpen}>
<div class="modal-box relative px-6 py-[35px] md:py-[20px] bg-primary-background text-primary-content">
<div class="modal-box relative px-6 py-[35px] md:py-[20px] bg-neutral-background text-primary-content">
{#if switchingNetwork}
<LoadingMask spinnerClass="border-white" text={$t('messages.network.switching')} />
{/if}

<button class="absolute right-6 top-[35px] md:top-[20px]" on:click={closeModal}>
<Icon type="x-close" fillClass="fill-secondary-icon" size={24} />
<Icon type="x-close" fillClass="fill-primary-icon" size={24} />
</button>
<div class="w-full">
<h3 class="title-body-bold mb-[20px]">{$t('chain_selector.placeholder')}</h3>
Expand All @@ -154,7 +154,7 @@
tabindex="0"
class="p-4 rounded-[10px]"
class:opacity-20={disabled}
class:hover:bg-neutral-background={!disabled}
class:hover:bg-primary-background={!disabled}
class:hover:cursor-pointer={!disabled}
aria-disabled={disabled}
on:click={() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
import { chains } from '$libs/chain';
import { switchChainModal } from '$stores/modal';
// TODO: We should combine this with the ChainSelector component.
// Or at least share the same base component. There is a lot of code duplication
let switchingNetwork = false;
function closeModal() {
Expand Down

1 comment on commit f653149

@vercel
Copy link

@vercel vercel bot commented on f653149 Sep 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

bridge-ui-v2-internal – ./packages/bridge-ui-v2

bridge-ui-v2-internal-taikoxyz.vercel.app
bridge-ui-v2-internal.vercel.app
bridge-ui-v2-internal-git-feat-bridge-ui-v2-mul-e000cd-taikoxyz.vercel.app

Please sign in to comment.