Skip to content

Commit

Permalink
final changes
Browse files Browse the repository at this point in the history
  • Loading branch information
avivbarniv committed Jan 10, 2024
1 parent c8777d6 commit 3ae5049
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions examples/client/Locomotion/src/assets/seat.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ const ServiceCard = ({ service, withBorder }) => {
source={{ uri: service.iconUrl }}
/>
</CarContainer>
<ServiceDetails>
<ServiceDetails unavailable={unavailable}>
<WrapRow>
<Title numberOfLines={2} unavailable={unavailable} primaryColor={theme.primaryColor}>
<Title numberOfLines={2}>
{service.name}
</Title>
<TitleContainer>
Expand All @@ -151,7 +151,7 @@ const ServiceCard = ({ service, withBorder }) => {
)
: <View />
}
<Price unavailable={unavailable} primaryColor={theme.primaryColor}>
<Price unavailable={unavailable}>
{getUnavailableText()}
</Price>
</TitleContainer>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ export const Title = styled.Text`
${FONT_SIZES.H3};
${FONT_WEIGHTS.MEDIUM};
opacity: ${({ unavailable }) => (unavailable ? UNAVAILABLE_OPACITY : 1)};
color: ${({ unavailable, primaryColor }) => (unavailable ? '#7F7F7F' : primaryColor)};
color: #101010;
margin-right: 5px;
`;

export const Price = styled.Text`
${FONT_SIZES.LARGE};
${FONT_WEIGHTS.MEDIUM};
color: ${({ unavailable, primaryColor }) => (unavailable ? '#212229' : primaryColor)};
text-align: right;
${FONT_SIZES.LARGE};
${FONT_WEIGHTS.MEDIUM};
color: ${({ unavailable }) => (unavailable ? '#7F7F7F' : '#101010')};
text-align: right;
`;

export const TimeDetails = styled.View`
Expand All @@ -82,8 +82,8 @@ ${FONT_SIZES.LARGE}
`;

export const Eta = styled.Text`
opacity: .5;
${FONT_SIZES.LARGE}
color: #101010;
`;

export const Capacity = styled.View`
Expand All @@ -93,26 +93,26 @@ align-items: center;
`;

export const Circle = styled.View`
background-color: #333333;
opacity: .5;
background-color: #101010;
border-radius: 2px;
width: 2px;
height: 2px;
margin: 5px;
`;

export const AvailableSeats = styled.Text`
color: #101010;
`;
export const Description = styled.Text`
opacity: .5;
${FONT_SIZES.MEDIUM};
${FONT_WEIGHTS.REGULAR};
width: 85%;
color: #101010;
`;

export const EstimatedText = styled.Text`
color: #707070;
color: #101010;
${FONT_SIZES.MEDIUM};
${FONT_WEIGHTS.REGULAR};
`;
Expand Down

0 comments on commit 3ae5049

Please sign in to comment.