Overhauled colors

This commit is contained in:
Keannu Christian Bernasol 2023-07-17 17:10:32 +08:00
parent dfd74cd06a
commit 1403657412
6 changed files with 26 additions and 24 deletions

View file

@ -13,7 +13,8 @@ export default function AnimatedContainer(props: props) {
contentContainerStyle={styles.container}
from={{
borderRadius: 0,
backgroundColor: colors.primary_3,
opacity: 0,
backgroundColor: colors.secondary_2,
paddingTop: 4,
paddingBottom: 4,
marginHorizontal: "4%",
@ -21,13 +22,14 @@ export default function AnimatedContainer(props: props) {
}}
animate={{
borderRadius: 15,
backgroundColor: colors.primary_3,
opacity: 1,
backgroundColor: colors.secondary_2,
paddingTop: 16,
paddingBottom: 16,
marginHorizontal: "4%",
marginVertical: "5%",
}}
transition={{ type: "timing", duration: 300 }}
transition={{ type: "timing", duration: 700 }}
>
{props.children}
</MotiScrollView>

View file

@ -10,14 +10,14 @@ const DrawerScreenSettings: DrawerNavigationOptions = {
fontSize: font_sizes.medium,
},
unmountOnBlur: true,
headerStyle: { backgroundColor: colors.secondary_4 },
headerStyle: { backgroundColor: colors.primary_1 },
headerTintColor: colors.text_default,
drawerType: "slide",
drawerLabelStyle: {
color: colors.text_default,
},
drawerStyle: {
backgroundColor: colors.secondary_4,
backgroundColor: colors.primary_1,
width: 260,
},
headerRight: () => (