WIP: Draft: Resolve "correct colours" #110

Draft
carolinai wants to merge 1 commit from 55-correct-colours into main
4 changed files with 5 additions and 5 deletions
Showing only changes of commit d0ebacc02c - Show all commits

View file

@ -15,7 +15,7 @@ export default function Layout() {
backgroundColor: colors.containerColor,
},
tabBar: {
backgroundColor: colors.backgroundColor,
backgroundColor: colors.containerColor,
borderTopColor: colors.backgroundColor
}
});

View file

@ -11,7 +11,7 @@ import { useTheme } from '../../contexts/ThemeContext';
export default function Page() {
const {colors} = useTheme()
const containerColor = colors.containerColor;
const containerColor = colors.backgroundColor;
const [selectedPage, setSelectedPage] = useState("noPageLoaded");

View file

@ -72,7 +72,7 @@ export default function Page() {
return (
<SafeAreaView edges={["left", "right", "top"]} style={[styles.safeAreaViewStyle, {backgroundColor: colors.containerColor}]}>
<SafeAreaView edges={["left", "right", "top"]} style={[styles.safeAreaViewStyle, {backgroundColor: colors.backgroundColor}]}>
{plusShow && <Plus onPress={()=>{
// router.push("/(tabs)/home/addItem");

View file

@ -10,7 +10,7 @@ export default function ExpenseItem(itemProps : ExpenseItemProps) {
return (
<CustomCard>
<View style={[styles.colorTip, {backgroundColor: itemProps.color}]}></View>
<View style={[styles.textSection, {backgroundColor: colors.backgroundColor}]}>
<View style={[styles.textSection, {backgroundColor: colors.containerColor}]}>
<Text style={{
fontSize: SIZES.normal,
color: colors.primaryText
@ -24,7 +24,7 @@ export default function ExpenseItem(itemProps : ExpenseItemProps) {
color: colors.primaryText
}} numberOfLines={1}>{itemProps.date}</Text>
</View>
<View style={[styles.valueSection, {backgroundColor: colors.backgroundColor}]}>
<View style={[styles.valueSection, {backgroundColor: colors.containerColor}]}>
<Text style={{
fontSize: SIZES.xxLarge,
color: colors.primaryText