Skip to content

Commit

Permalink
fixing merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
emilysunaryo committed Oct 4, 2023
2 parents 30b40e5 + c33a810 commit 5faceef
Show file tree
Hide file tree
Showing 26 changed files with 738 additions and 87 deletions.
4 changes: 3 additions & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
"scheme": "your-app-scheme",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
Expand All @@ -23,6 +24,7 @@
},
"web": {
"favicon": "./assets/favicon.png"
}
},
"plugins": ["expo-router"]
}
}
7 changes: 2 additions & 5 deletions assets/icons.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
import { Ionicons } from '@expo/vector-icons';
import React from 'react';

export type IconType =
| 'home_outline'
| 'document_outline'
| 'notifications_outline';
export type IconType = 'home_outline' | 'document_outline' | 'search_outline';

const IconSvgs: Record<IconType, React.ReactElement> = {
home_outline: <Ionicons name="home-outline" size={23} />,
search_outline: <Ionicons name="search-outline" size={23} />,
document_outline: <Ionicons name="document-outline" size={23} />,
notifications_outline: <Ionicons name="notifications-outline" size={23} />,
};
type Props = {
className?: string;
Expand Down
1 change: 1 addition & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ module.exports = api => {
api.cache(true);
return {
presets: ['babel-preset-expo'],
plugins: ['expo-router/babel'],
};
};
61 changes: 61 additions & 0 deletions globalStyles.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
import { StyleSheet } from 'react-native';

export default StyleSheet.create({
container: {
flex: 1,
backgroundColor: 'white',
alignItems: 'flex-start',
justifyContent: 'flex-start',
paddingLeft: 16,
paddingRight: 16,
},
h1: {
// fontFamily: 'DMSans-Bold',
fontSize: 50,
fontWeight: '700',
textAlign: 'left',
color: 'black',
},
h2: {
// fontFamily: 'DMSans-Bold',
fontSize: 40,
fontWeight: '400',
textAlign: 'left',
color: 'black',
},
h3: {
// fontFamily: 'DMSans-Regular',
fontSize: 33,
fontWeight: '400',
textAlign: 'left',
color: 'black',
},
h4: {
// fontFamily: 'DMSans-Regular',
fontSize: 20,
fontWeight: '500',
textAlign: 'left',
color: 'black',
},
body1: {
// fontFamily: 'DMSans-Regular',
fontSize: 12,
fontWeight: '400',
textAlign: 'left',
color: 'black',
},
body2: {
// fontFamily: 'DMSans-Regular',
fontSize: 11,
fontWeight: '400',
textAlign: 'left',
color: 'black',
},
body3: {
fontFamily: 'Avenir',
fontSize: 14,
fontWeight: '400',
textAlign: 'left',
color: 'black',
},
});
Loading

0 comments on commit 5faceef

Please sign in to comment.