Skip to content

Commit

Permalink
Merge pull request #2464 from BibliothecaDAO/fix/bridge-light-theme
Browse files Browse the repository at this point in the history
Fix bridge light theme
  • Loading branch information
ponderingdemocritus authored Dec 12, 2024
2 parents a20d2a9 + 03ad1f3 commit 09b444e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions landing/src/components/modules/bridge-in.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export const BridgeIn = () => {

return (
<>
<div className="max-w-md flex flex-col gap-3 relative max-h-[calc(75vh-100px)] overflow-y-auto p-3">
<div className="max-w-md flex flex-col bg-background gap-3 relative max-h-[calc(75vh-100px)] overflow-y-auto p-3">
<TypeP>
Bridge resources and lords from your Starknet wallet into the Eternum game. You will have to complete the
claim on your Realm in the{" "}
Expand All @@ -185,7 +185,7 @@ export const BridgeIn = () => {
<div className="text-xs text-slate-500 uppercase mb-1">To Realm</div>

<Select onValueChange={(value) => setRealmEntityId(Number(value))}>
<SelectTrigger className="w-full bg-dark-brown [background:linear-gradient(45deg,#1a1311,#1a1311)_padding-box,conic-gradient(from_var(--border-angle),#8b7355_80%,_#c6a366_86%,_#e5c088_90%,_#c6a366_94%,_#8b7355)_border-box] border border-transparent animate-border">
<SelectTrigger className="w-full dark:[background:linear-gradient(45deg,#1a1311,#1a1311)_padding-box,conic-gradient(from_var(--border-angle),#8b7355_80%,_#c6a366_86%,_#e5c088_90%,_#c6a366_94%,_#8b7355)_border-box] light:[background:linear-gradient(45deg,#ffffff,#ffffff)_padding-box,conic-gradient(from_var(--border-angle),#b08c4f_80%,_#daa520_86%,_#ffd700_90%,_#daa520_94%,_#b08c4f)_border-box] border border-transparent animate-border">
<SelectValue placeholder="Select Realm To Transfer" />
</SelectTrigger>
<SelectContent>
Expand Down Expand Up @@ -340,8 +340,8 @@ const ResourceInputRow = ({
: "0";

return (
<div key={id} className="rounded-lg p-3 border border-gold/15 shadow-lg bg-dark-brown flex gap-3 items-center">
<div className="relative w-full">
<div key={id} className="rounded-lg p-3 border border-gold/15 shadow-lg bg-background flex gap-3 items-center">
<div className="relative w-full">
<Input
type="text"
placeholder="0.0"
Expand All @@ -352,7 +352,7 @@ const ResourceInputRow = ({
[id]: Number(e.target.value),
});
}}
className="bg-dark-brown text-2xl outline-none h-10 border-none"
className="bg-background text-2xl outline-none h-10 border-none"
/>
<div className="flex items-center gap-2 text-xxs absolute right-1 bottom-1">
<span className="text-muted-foreground hover:text-gold text-xs">{fetchedBalance} </span>
Expand Down Expand Up @@ -397,7 +397,7 @@ const ResourceInputRow = ({
disabled={Object.keys(selectedResourceAmounts).includes(res?.id.toString() ?? "")}
value={res?.id.toString() ?? ""}
>
<div className="flex items-center gap-2">
<div className="flex bg-background items-center gap-2">
{res?.trait && <ResourceIcon resource={res?.trait} size="md" />}
{res?.trait ?? ""}
<span className="text-muted-foreground text-xs">
Expand Down
4 changes: 2 additions & 2 deletions landing/src/components/modules/bridge-out-step-1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export const BridgeOutStep1 = () => {

return (
<>
<div className="max-w-md flex flex-col gap-3 max-h-[calc(75vh-100px)] overflow-y-auto p-3">
<div className="max-w-md bg-background flex flex-col gap-3 max-h-[calc(75vh-100px)] overflow-y-auto p-3">
<TypeP>
Bridge resources from your Realms balance in game to tradeable ERC20 assets in your Starknet wallet. This will
require a second step to send the resources to your wallet once the donkeys have arrived at the bank.
Expand All @@ -161,7 +161,7 @@ export const BridgeOutStep1 = () => {
<div className="flex flex-col min-w-40">
<div className="text-xs uppercase mb-1 ">From Realm</div>
<Select onValueChange={(value) => setRealmEntityId(value)}>
<SelectTrigger className="w-full bg-dark-brown [background:linear-gradient(45deg,#1a1311,#1a1311)_padding-box,conic-gradient(from_var(--border-angle),#8b7355_80%,_#c6a366_86%,_#e5c088_90%,_#c6a366_94%,_#8b7355)_border-box] border border-transparent animate-border">
<SelectTrigger className="w-full bg-background dark:[background:linear-gradient(45deg,#1a1311,#1a1311)_padding-box,conic-gradient(from_var(--border-angle),#8b7355_80%,_#c6a366_86%,_#e5c088_90%,_#c6a366_94%,_#8b7355)_border-box] light:[background:linear-gradient(45deg,#ffffff,#ffffff)_padding-box,conic-gradient(from_var(--border-angle),#d4b17d_80%,_#e8c088_86%,_#f5d4a3_90%,_#e8c088_94%,_#d4b17d)_border-box] border border-transparent animate-border">
<SelectValue placeholder="Select Settled Realm" />
</SelectTrigger>
<SelectContent>
Expand Down
2 changes: 1 addition & 1 deletion landing/src/components/modules/bridge-out-step-2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export const BridgeOutStep2 = () => {

return (
<>
<div className="max-w-md flex flex-col gap-3 max-h-[calc(75vh-100px)] overflow-y-auto p-3">
<div className="max-w-md bg-background flex flex-col gap-3 max-h-[calc(75vh-100px)] overflow-y-auto p-3">
<TypeP>
Finalise the withdrawal of resources from your Realm in Eternum to your Starknet wallet. The bridge will close
and you will be unable to withdraw 1 hour after the Season is won
Expand Down

0 comments on commit 09b444e

Please sign in to comment.