mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2025-08-02 17:43:19 +08:00
Overhauled colors
This commit is contained in:
parent
dfd74cd06a
commit
1403657412
6 changed files with 26 additions and 24 deletions
|
@ -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>
|
||||
|
|
|
@ -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: () => (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue