From 3ae5049e50a662df8c4549df243b4b4fd054492a Mon Sep 17 00:00:00 2001 From: avivbarniv Date: Wed, 10 Jan 2024 10:05:55 +0200 Subject: [PATCH] final changes --- .../client/Locomotion/src/assets/seat.svg | 4 ++-- .../ServiceOptions/ServiceCard/index.js | 6 +++--- .../ServiceOptions/ServiceCard/styled.js | 20 +++++++++---------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/examples/client/Locomotion/src/assets/seat.svg b/examples/client/Locomotion/src/assets/seat.svg index 0fa995601..fb01a1213 100644 --- a/examples/client/Locomotion/src/assets/seat.svg +++ b/examples/client/Locomotion/src/assets/seat.svg @@ -1,6 +1,6 @@ - - + + diff --git a/examples/client/Locomotion/src/pages/ActiveRide/RideDrawer/RideOptions/ServiceOptions/ServiceCard/index.js b/examples/client/Locomotion/src/pages/ActiveRide/RideDrawer/RideOptions/ServiceOptions/ServiceCard/index.js index 06d1345ad..1f035d0d6 100644 --- a/examples/client/Locomotion/src/pages/ActiveRide/RideDrawer/RideOptions/ServiceOptions/ServiceCard/index.js +++ b/examples/client/Locomotion/src/pages/ActiveRide/RideDrawer/RideOptions/ServiceOptions/ServiceCard/index.js @@ -132,9 +132,9 @@ const ServiceCard = ({ service, withBorder }) => { source={{ uri: service.iconUrl }} /> - + - + <Title numberOfLines={2}> {service.name} @@ -151,7 +151,7 @@ const ServiceCard = ({ service, withBorder }) => { ) : } - + {getUnavailableText()} diff --git a/examples/client/Locomotion/src/pages/ActiveRide/RideDrawer/RideOptions/ServiceOptions/ServiceCard/styled.js b/examples/client/Locomotion/src/pages/ActiveRide/RideDrawer/RideOptions/ServiceOptions/ServiceCard/styled.js index 36ffe5847..69833326b 100644 --- a/examples/client/Locomotion/src/pages/ActiveRide/RideDrawer/RideOptions/ServiceOptions/ServiceCard/styled.js +++ b/examples/client/Locomotion/src/pages/ActiveRide/RideDrawer/RideOptions/ServiceOptions/ServiceCard/styled.js @@ -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` @@ -82,8 +82,8 @@ ${FONT_SIZES.LARGE} `; export const Eta = styled.Text` -opacity: .5; ${FONT_SIZES.LARGE} +color: #101010; `; export const Capacity = styled.View` @@ -93,8 +93,7 @@ align-items: center; `; export const Circle = styled.View` -background-color: #333333; -opacity: .5; +background-color: #101010; border-radius: 2px; width: 2px; height: 2px; @@ -102,17 +101,18 @@ 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}; `;