Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Commit

Permalink
refactor: update primary color and transfer border radius
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJay1024 committed Mar 27, 2024
1 parent 5ae7711 commit f790f16
Show file tree
Hide file tree
Showing 17 changed files with 26 additions and 26 deletions.
6 changes: 3 additions & 3 deletions public/images/bridge/helix-horizontal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions public/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/images/my.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions public/images/notification/progress.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions public/images/overview.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ body {

/* Page header loading bar */
.loading-bar {
background: linear-gradient(90deg, #ffffff 35%, #00b2ff 50%, #ffffff 65%);
background: linear-gradient(90deg, #ffffff 35%, #0085FF 50%, #ffffff 65%);
background-position: 100% 50%;
background-size: 40% 100%;
animation: bar-loading 2.4s linear infinite;
Expand Down
2 changes: 1 addition & 1 deletion src/app/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/balance-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export function BalanceInput({

return (
<div
className={`normal-input-wrap relative flex flex-col rounded-middle bg-inner px-small py-small lg:px-middle ${
className={`normal-input-wrap relative flex flex-col rounded-xl bg-inner px-small py-small lg:px-middle ${
compact ? "lg:py-middle" : ""
} ${value.valid ? "valid-input-wrap border-transparent" : "invalid-input-wrap"}`}
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/bridge-select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ interface Props {
export default function BridgeSelect({ value, options = [], onChange = () => undefined }: Props) {
return (
<Select
labelClassName="bg-inner p-middle flex items-center justify-between rounded-middle transition-transform lg:active:translate-y-1"
labelClassName="bg-inner p-middle flex items-center justify-between rounded-xl transition-transform lg:active:translate-y-1"
childClassName="bg-inner p-middle flex flex-col rounded-middle gap-small border border-component"
label={<span className="text-sm font-medium text-white">{bridgeName(value)}</span>}
placeholder={<span className="text-sm font-medium text-slate-400">Select a bridge</span>}
Expand Down
2 changes: 1 addition & 1 deletion src/components/chain-select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function ChainSelect({
}: Props) {
return (
<Select
labelClassName={`gap-small rounded-middle flex items-center justify-between transition active:translate-y-1 ${className}`}
labelClassName={`gap-small rounded-xl flex items-center justify-between transition active:translate-y-1 ${className}`}
childClassName={`bg-inner flex flex-col rounded-middle max-h-60 overflow-y-auto border border-component ${
compact ? "py-small" : "p-middle"
}`}
Expand Down
2 changes: 1 addition & 1 deletion src/components/transfer-action.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function Button({
kind="primary"
busy={busy}
disabled={disabled}
className="flex h-10 items-center justify-center rounded-middle"
className="flex h-11 items-center justify-center rounded-xl"
onClick={onClick}
>
<span className="text-base font-medium text-white">{children}</span>
Expand Down
2 changes: 1 addition & 1 deletion src/components/transfer-info.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default function TransferInfo({ fee, bridge, transferLimit: propTransferL
}, [bridge]);

return (
<div className="flex flex-col gap-small rounded-middle bg-inner p-middle">
<div className="flex flex-col gap-small rounded-xl bg-inner p-middle">
<Item label="Estimated Arrival Time" value={bridge?.formatEstimateTime()} />
{bridge?.getCategory().startsWith("xtoken") ? null : (
<Item
Expand Down
2 changes: 1 addition & 1 deletion src/components/transfer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default function Transfer() {
(sourceChain?.network === "ethereum" && targetChain?.network === "darwinia-dvm")
) {
return (
<div className="flex flex-wrap items-center justify-center rounded-middle bg-inner p-middle text-center text-sm font-medium text-app-orange">
<div className="flex flex-wrap items-center justify-center rounded-xl bg-inner p-middle text-center text-sm font-medium text-app-orange">
<span>
{`Due to the Ethereum upgrade, the Darwinia<>Ethereum bridge is temporarily unavailable. Please use the official`}
&nbsp;
Expand Down
Loading

0 comments on commit f790f16

Please sign in to comment.