Skip to content

Commit

Permalink
fix: run generate-ui & highlight aqua on success
Browse files Browse the repository at this point in the history
Signed-off-by: james-a-morris <[email protected]>
  • Loading branch information
james-a-morris committed Sep 26, 2024
1 parent 67bc825 commit 41eaaa6
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 25 deletions.
17 changes: 5 additions & 12 deletions scripts/chain-configs/optimism/assets/grayscale-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions scripts/chain-configs/optimism/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions src/assets/chain-logos/optimism-grayscale.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions src/assets/chain-logos/optimism-sepolia-grayscale.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions src/assets/chain-logos/optimism-sepolia.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions src/assets/chain-logos/optimism.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions src/views/DepositStatus/components/DepositStatusUpperCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,16 @@ const AnimatedLogoFromChain = styled(AnimatedLogo)<{ status: DepositStatus }>`
#path-to-animate {
fill: currentColor;
}
// Set the fill on the svg based on status if id=require-fill is present
&#requires-fill {
fill: ${({ status }) =>
status === "deposit-reverted"
? COLORS.warning
: status === "depositing"
? COLORS.white
: COLORS.aqua};
}
}
`;

Expand All @@ -443,6 +453,16 @@ const AnimatedLogoToChain = styled(AnimatedLogo)<{ status: DepositStatus }>`
#path-to-animate {
fill: currentColor;
}
// Set the fill on the svg based on status if id=require-fill is present
&#requires-fill {
fill: ${({ status }) =>
status === "deposit-reverted"
? COLORS.warning
: status === "depositing"
? COLORS.white
: COLORS.aqua};
}
}
`;

Expand Down

0 comments on commit 41eaaa6

Please sign in to comment.