first commit
This commit is contained in:
19
app/constants/Colors.ts
Normal file
19
app/constants/Colors.ts
Normal file
@ -0,0 +1,19 @@
|
||||
const tintColorLight = "#2f95dc";
|
||||
const tintColorDark = "#fff";
|
||||
|
||||
export default {
|
||||
light: {
|
||||
text: "#000",
|
||||
background: "#fff",
|
||||
tint: tintColorLight,
|
||||
tabIconDefault: "#ccc",
|
||||
tabIconSelected: tintColorLight,
|
||||
},
|
||||
dark: {
|
||||
text: "#fff",
|
||||
background: "#000",
|
||||
tint: tintColorDark,
|
||||
tabIconDefault: "#ccc",
|
||||
tabIconSelected: tintColorDark,
|
||||
},
|
||||
};
|
12
app/constants/Layout.ts
Normal file
12
app/constants/Layout.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import { Dimensions } from "react-native";
|
||||
|
||||
const width = Dimensions.get("window").width;
|
||||
const height = Dimensions.get("window").height;
|
||||
|
||||
export default {
|
||||
window: {
|
||||
width,
|
||||
height,
|
||||
},
|
||||
isSmallDevice: width < 375,
|
||||
};
|
Reference in New Issue
Block a user