Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ export function ImportSuccessStep({

<div className="relative flex h-[64px] gradient-border-green">
<div className="absolute inset-0 flex flex-row items-center m-[0.5px] bg-[var(--background)] rounded-[8px] p-[18px_25px] justify-between">
<span className="text-[20px] text-[var(--text-tertiary)]">
<span className="text-[20px] text-white">
Imported
</span>
<span className="flex flex-row items-center gap-2">
<span className="font-mono text-[20px] text-[var(--text-primary)]">
<span className="font-mono text-[20px] text-white">
{importedSuppliers.length} supplier
{importedSuppliers.length !== 1 ? 's' : ''}
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,14 +212,14 @@ export function ReviewStep({onStakeCompleted, amount, selectedOffer, selectedAdd

<div className="relative flex h-[64px] min-h-[64px] gradient-border-slate">
<div className={`absolute inset-0 flex flex-row items-center m-[0.5px] bg-[var(--background)] rounded-[8px] p-[18px_25px] justify-between`}>
<span className="text-[20px] text-[var(--text-tertiary)]">
<span className="text-[20px] text-white">
Stake
</span>
<span className="flex flex-row items-center gap-2">
<span className="font-mono text-[20px] text-[var(--text-primary)]">
<span className="font-mono text-[20px] text-white">
{toCurrencyFormat(amount, 2, 2)}
</span>
<span className="font-mono text-[20px] text-[var(--text-tertiary)]">
<span className="font-mono text-[20px] text-white/60">
$POKT
</span>
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ export function StakeSuccessStep({amount, selectedOffer, selectedAddressGroupId,
<div className="relative flex h-[64px] gradient-border-green">
<div
className={`absolute inset-0 flex flex-row items-center m-[0.5px] bg-[var(--background)] rounded-[8px] p-[18px_25px] justify-between`}>
<span className="text-[20px] text-[var(--text-tertiary)]">
<span className="text-[20px] text-white">
Stake
</span>
<span className="flex flex-row items-center gap-2">
<span className="font-mono text-[20px] text-[var(--text-primary)]">
<span className="font-mono text-[20px] text-white">
<Amount value={amount} />
</span>
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,18 +141,18 @@ export function ReviewStep({

<div className="relative flex h-[64px] min-h-[64px] gradient-border-slate">
<div className="absolute inset-0 flex flex-row items-center m-[0.5px] bg-[var(--background)] rounded-[8px] p-[18px_25px] justify-between">
<span className="text-[20px] text-[var(--text-tertiary)]">
<span className="text-[20px] text-white">
Unstake
</span>
<span className="flex flex-row items-center gap-2">
{isLoadingNodes ? (
<Skeleton className="w-[100px] h-6 bg-bg-elevated" />
) : (
<>
<span className="font-mono text-[20px] text-[var(--text-primary)]">
<span className="font-mono text-[20px] text-white">
{toCurrencyFormat(totalStakeAmount / 1e6, 2, 2)}
</span>
<span className="font-mono text-[20px] text-[var(--text-tertiary)]">
<span className="font-mono text-[20px] text-white/60">
$POKT
</span>
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ export function UnstakeSuccessStep({ nodeCount, totalStakeAmount, transaction, o
<div className="relative flex h-[64px] gradient-border-green">
<div
className={`absolute inset-0 flex flex-row items-center m-[0.5px] bg-[var(--background)] rounded-[8px] p-[18px_25px] justify-between`}>
<span className="text-[20px] text-[var(--text-tertiary)]">
<span className="text-[20px] text-white">
Unstake
</span>
<span className="flex flex-row items-center gap-2">
<span className="font-mono text-[20px] text-[var(--text-primary)]">
<span className="font-mono text-[20px] text-white">
{toCurrencyFormat(totalStakeAmount / 1e6, 2, 2)}
</span>
<span className="font-mono text-[20px] text-[var(--text-tertiary)]">
<span className="font-mono text-[20px] text-white/60">
$POKT
</span>
</span>
Expand Down
4 changes: 2 additions & 2 deletions apps/middleman/src/app/detail/NodeDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,11 @@ export default function NodeDetail({
}
>
<div className={`absolute inset-0 flex flex-row items-center bg-[var(--background)] rounded-[8px] p-[18px_25px] justify-between`}>
<span className="text-[20px] text-text-tertiary">
<span className="text-[20px] text-white">
{status.slice(0, 1).toUpperCase() + status.slice(1)}
</span>
<div className="flex flex-row items-center gap-2">
<p className="font-mono !text-[20px]">
<p className="font-mono !text-[20px] text-white">
<Amount value={amountToPokt(stakeAmount)} />
</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions apps/middleman/src/app/detail/TransactionDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -469,11 +469,11 @@ export default function TransactionDetail({
}
>
<div className={`absolute inset-0 flex flex-row items-center bg-[var(--background)] rounded-[8px] p-[18px_25px] justify-between`}>
<span className="text-[20px] text-text-tertiary">
<span className="text-[20px] text-white">
{type === TransactionType.OperationalFunds ? 'Amount' : type}
</span>
<div className="flex flex-row items-center gap-2">
<p className="font-mono !text-[20px]">
<p className="font-mono !text-[20px] text-white">
<Amount value={totalValue} maxFractionDigits={0} minimumFractionDigits={0} />
</p>
</div>
Expand Down
Loading