import styled from 'styled-components/native'; import {KeyboardAwareScrollView} from 'react-native-keyboard-aware-scroll-view'; import { heightPercentageToDP as hp, widthPercentageToDP as wp, } from 'react-native-responsive-screen'; import Button from '@components/Button'; import FONTS from '@assets/fonts'; import THEME from '@styles/theme'; export const Wrapper = styled(KeyboardAwareScrollView)``; export const Title = styled.Text` color: #ffffff; font-family: ${FONTS?.MEDIUM}; font-size: ${hp(2)}px; `; export const Card = styled.View` background-color: ${THEME?.INFO?.MAIN}; padding: ${wp(5)}px; margin-top: ${wp(2.5)}px; position: relative; min-height: ${hp(30)}px; border-radius: ${wp(2.5)}px; `; export const BackgroundImageWrapper = styled.View` position: absolute; right: 0px; `; export const Row = styled.View` padding-bottom: ${hp(3)}px; `; export const SubTitle = styled.Text` color: ${THEME?.SECONDARY?.LIGHT}; font-family: ${FONTS?.MEDIUM}; font-size: ${hp(1.8)}px; padding-bottom: ${hp(0.5)}px; `; export const Description = styled.Text` color: #ffffff; font-family: ${FONTS?.MEDIUM}; font-size: ${hp(1.6)}px; `; export const Footer = styled.View` flex-direction: row; margin-top: ${hp(2)}px; margin-bottom: ${hp(2)}px; `; export const FooterButton = styled(Button)` flex: 1; `; export const FooterButtonLabelStyle = { fontSize: hp(1.8), }; export const Tabs = styled.ScrollView` flex-direction: row; margin-bottom: ${hp(2)}px; `; export const Tab = styled.TouchableOpacity<{active: boolean}>` padding-bottom: ${hp(0.3)}px; border-bottom-width: ${props => (props?.active ? '3px' : '0px')}; border-color: #83d1d8; margin-right: ${wp(5)}px; `; export const TabText = styled.Text` color: #fff; font-family: ${FONTS?.SEMI_BOLD}; font-size: ${hp(2.2)}px; `;