add "Quicksand" Font

This commit is contained in:
thewisefarmerr
2019-11-16 16:55:22 +05:00
parent 892d2b87fe
commit b284b9d5d2
6 changed files with 39 additions and 13 deletions

View File

@@ -92,6 +92,7 @@ export const Home = ({navigation}) => {
style={{ style={{
fontSize: SIZE.sm - 2, fontSize: SIZE.sm - 2,
color: colors.icon, color: colors.icon,
fontFamily: WEIGHT.regular,
}}> }}>
Reminders Reminders
</Text> </Text>
@@ -121,6 +122,7 @@ export const Home = ({navigation}) => {
style={{ style={{
fontSize: SIZE.sm - 2, fontSize: SIZE.sm - 2,
color: colors.icon, color: colors.icon,
fontFamily: WEIGHT.regular,
}}> }}>
Lists Lists
</Text> </Text>
@@ -153,7 +155,6 @@ export const Search = () => {
backgroundColor: '#f0f0f0', backgroundColor: '#f0f0f0',
alignSelf: 'center', alignSelf: 'center',
borderRadius: br, borderRadius: br,
fontSize: SIZE.sm,
paddingHorizontal: ph, paddingHorizontal: ph,
paddingVertical: pv - 5, paddingVertical: pv - 5,
elevation: 5, elevation: 5,
@@ -161,12 +162,19 @@ export const Search = () => {
}}> }}>
<TextInput <TextInput
style={{ style={{
fontFamily: 'Quicksand-Light', fontFamily: WEIGHT.regular,
maxWidth: '90%', maxWidth: '90%',
width: '90%',
}} }}
numberOfLines={1}
placeholder="Search your notes" placeholder="Search your notes"
/> />
<Icon name="ios-search" color={colors.icon} size={SIZE.xxl} /> <Icon
style={{paddingRight: '2.5%'}}
name="ios-search"
color={colors.icon}
size={SIZE.xl}
/>
</View> </View>
); );
}; };
@@ -185,7 +193,7 @@ export const Reminder = () => {
backgroundColor: colors.accent, backgroundColor: colors.accent,
elevation: 5, elevation: 5,
paddingHorizontal: ph, paddingHorizontal: ph,
paddingVertical: pv - 5, paddingVertical: 5,
}}> }}>
<View <View
style={{ style={{
@@ -203,17 +211,24 @@ export const Reminder = () => {
color="white" color="white"
size={SIZE.md} size={SIZE.md}
/> />
<Text <Text
style={{ style={{
color: 'white', paddingBottom: 5,
fontWeight: 'bold',
fontSize: SIZE.lg,
}}> }}>
Pay Utility Bills
<Text <Text
style={{ style={{
fontWeight: 'normal', color: 'white',
fontSize: SIZE.lg,
fontFamily: WEIGHT.bold,
}}>
Pay Utility Bills
</Text>
<Text
style={{
fontFamily: WEIGHT.light,
fontSize: SIZE.xs, fontSize: SIZE.xs,
color: 'white',
}}> }}>
{'\n'} {'\n'}
Amount 5000 RS Amount 5000 RS
@@ -223,14 +238,21 @@ export const Reminder = () => {
<Text <Text
style={{ style={{
color: 'white', color: 'white',
fontSize: SIZE.xxxl, fontSize: SIZE.xxl,
fontFamily: WEIGHT.light,
}}> }}>
<Text
style={{
fontSize: SIZE.xs,
}}>
in
</Text>
00:00{''} 00:00{''}
<Text <Text
style={{ style={{
fontSize: SIZE.xs, fontSize: SIZE.xs,
}}> }}>
min mins
</Text> </Text>
</Text> </Text>
</View> </View>
@@ -255,8 +277,9 @@ export const RecentList = () => {
style={{ style={{
fontSize: SIZE.lg, fontSize: SIZE.lg,
color: colors.icon, color: colors.icon,
fontFamily: WEIGHT.regular,
}}> }}>
Recent Recents
</Text> </Text>
<Icon name="ios-albums" color={colors.icon} size={SIZE.xl} /> <Icon name="ios-albums" color={colors.icon} size={SIZE.xl} />
</View> </View>
@@ -303,10 +326,10 @@ export const RecentList = () => {
}}> }}>
<Text <Text
style={{ style={{
fontWeight: 'bold',
fontSize: SIZE.md, fontSize: SIZE.md,
paddingHorizontal: ph, paddingHorizontal: ph,
paddingTop: pv, paddingTop: pv,
fontFamily: WEIGHT.bold,
}}> }}>
{item.title} {item.title}
</Text> </Text>
@@ -314,6 +337,8 @@ export const RecentList = () => {
style={{ style={{
fontSize: SIZE.xs + 1, fontSize: SIZE.xs + 1,
paddingHorizontal: ph, paddingHorizontal: ph,
color: colors.icon,
fontFamily: WEIGHT.regular,
}}> }}>
{item.headline} {item.headline}
</Text> </Text>
@@ -333,6 +358,7 @@ export const RecentList = () => {
color: colors.accent, color: colors.accent,
fontSize: SIZE.xxs, fontSize: SIZE.xxs,
textAlignVertical: 'center', textAlignVertical: 'center',
fontFamily: WEIGHT.regular,
}}> }}>
{item.timestamp + ' '} {item.timestamp + ' '}
</Text> </Text>