import styled from 'styled-components/native'; import {TextStyle} from 'react-native'; import LinearGradient from 'react-native-linear-gradient'; import { heightPercentageToDP as hp, widthPercentageToDP as wp, } from 'react-native-responsive-screen'; import Button from '@components/Button'; import FONTS from '@assets/fonts'; export const Wrapper = styled.View` height: ${hp(20)}px; border-radius: ${wp(5)}px; border: 2px solid #83d1d8; overflow: hidden; elevation: 5; `; export const Container = styled(LinearGradient)<{active: boolean}>` height: 100%; padding: ${({active}) => (active ? `${wp(5)}px` : `${wp(3)}px`)}; `; export const Header = styled.View` flex-direction: row; justify-content: space-between; align-items: center; `; export const View = styled(Button)` padding: 0; `; export const ViewLabelStyle: TextStyle = { color: '#373E97', fontFamily: FONTS?.SEMI_BOLD, fontSize: wp(3.5), }; export const Body = styled.View` flex: 1; justify-content: center; `; export const CredentialName = styled.Text` color: #312b5c; font-family: ${FONTS?.SEMI_BOLD}; font-size: ${hp(2.5)}px; `; export const Title = styled(CredentialName)` font-size: ${hp(1.6)}px; `; export const Footer = styled.View` flex-direction: row; justify-content: space-between; align-items: center; `; export const IssueDate = styled.Text` color: #312b5c; font-family: ${FONTS?.REGULAR}; font-size: ${hp(1.8)}px; `; export const IssuerWrapper = styled.View` border: 2px solid #fff; padding: 0 15px; border-radius: 12px; `; export const Issuer = styled.Text` font-size: ${hp(1.5)}px; color: #373e97; font-family: ${FONTS?.REGULAR}; `; export const imageBackgroundStyles = {flex: 1};