Skip to content

Commit

Permalink
Update colors in components
Browse files Browse the repository at this point in the history
  • Loading branch information
mrushkova committed Apr 24, 2024
1 parent 0c0d20f commit 30ce08d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/frontend/src/components/form/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const InputLabel = styled.div`
width: 100%;
max-width: 100%;
margin-bottom: 4px;
color: ${Colors.White};
color: ${Colors.Black};
font-size: 12px;
line-height: 18px;
`
Expand Down
5 changes: 4 additions & 1 deletion packages/frontend/src/components/info/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ const TitleWrapper = styled.div`
`

const Title = styled.h1`
background-color: ${Colors.White};
@media screen and (min-width: 1800px) {
line-height: 1;
}
Expand All @@ -91,7 +93,8 @@ const Title = styled.h1`
`

const SubTitle = styled.h3`
color: ${Colors.White};
color: ${Colors.Black};
background-color: ${Colors.White};
`
const Key = styled.div`
position: absolute;
Expand Down
3 changes: 3 additions & 0 deletions packages/frontend/src/components/info/TimeLeft.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { formatDate } from '@/utils/formatters/formatDate'
import { setIntervalImmediately } from '@/utils/setIntervalImmediately'
import { useAuctionState } from '@/blockchain/hooks/useAuctionState'
import { useAuctionTime } from '@/blockchain/hooks/useAuctionTime'
import { Colors } from '@/styles/colors'

export const TimeLeft = () => {
const timestamp = useAuctionTime()
Expand Down Expand Up @@ -35,6 +36,7 @@ const TimeBox = styled.div`
flex-direction: column;
row-gap: 4px;
font-family: 'Space Mono', 'Roboto Mono', monospace;
color: ${Colors.Black};
@media screen and (min-width: 1800px) {
flex-direction: row;
Expand All @@ -46,6 +48,7 @@ const TimeRow = styled.div`
display: flex;
align-items: center;
column-gap: 8px;
background-color: ${Colors.White};
`

export const RemainingTime = styled.span`
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/pages/bids.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ const Body = styled.div`
align-items: center;
flex: 1;
width: 100%;
background: ${Colors.GreyLight};
background: ${Colors.White};
`
5 changes: 1 addition & 4 deletions packages/frontend/src/styles/GobalStyles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,38 +41,35 @@ export const GlobalStyles = createGlobalStyle`
font-family: 'Space Mono', 'Roboto Mono', monospace;
font-style: normal;
margin: 0;
color: ${Colors.Black};
}
h1 {
font-style: normal;
font-weight: 700;
font-size: 55px;
line-height: 1.2;
color: ${Colors.White};
}
h2 {
font-style: normal;
font-weight: 700;
font-size: 40px;
line-height: 1.2;
color: ${Colors.White};
}
h3 {
font-style: normal;
font-size: 24px;
font-weight: 700;
line-height: 36px;
color: ${Colors.Black};
}
h4 {
font-style: normal;
font-weight: 700;
font-size: 20px;
line-height: 30px;
color: ${Colors.Black};
}
p {
Expand Down

0 comments on commit 30ce08d

Please sign in to comment.