Skip to content

Commit

Permalink
[SWA-46] Fix MarketPrice Styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Wixzi committed Jun 20, 2023
1 parent a7a4ac1 commit a619f5e
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { Flex } from 'rebass'
import styled from 'styled-components'

import { ReactComponent as ProgressCircle } from '../../../../../assets/images/progress-circle.svg'

export const LimitLabel = styled.label`
font-weight: 600;
font-size: 10px;
Expand Down Expand Up @@ -77,3 +79,22 @@ export const ToggleCurrencyButton = styled.span`
export const MarketPriceDiff = styled.span<{ isPositive: boolean }>`
color: ${({ isPositive, theme }) => (isPositive ? theme.green2 : theme.red1)};
`

export const StyledProgressCircle = styled(ProgressCircle)`
width: 12px;
height: 12px;
margin-left: 4px;
transform: rotate(-90deg);
.move {
stroke-dasharray: 100;
stroke-dashoffset: 100;
animation: dash 15s 0s infinite linear forwards;
@keyframes dash {
to {
stroke-dashoffset: 0;
}
}
}
`

0 comments on commit a619f5e

Please sign in to comment.