diff --git a/apps/frontend-mobile/app/_layout.tsx b/apps/frontend-mobile/app/_layout.tsx
index 2253c04..7254d59 100644
--- a/apps/frontend-mobile/app/_layout.tsx
+++ b/apps/frontend-mobile/app/_layout.tsx
@@ -81,24 +81,34 @@ function RootLayoutInner() {
);
}
+function ThemedBackground({ children }: { children: React.ReactNode }) {
+ const { isDark } = useThemeContext();
+
+ return (
+
+
+ {children}
+
+ );
+}
+
export default function RootLayout() {
return (
-
-
-
+
+
+
-
);
}
@@ -108,10 +118,13 @@ const bgStyles = StyleSheet.create({
flex: 1,
},
backgroundImage: {
- opacity: 0.8,
+ opacity: 0.55,
},
overlay: {
...StyleSheet.absoluteFillObject,
- backgroundColor: 'rgba(255, 252, 245, 0.2)',
+ backgroundColor: 'rgba(255, 252, 245, 0.48)',
+ },
+ overlayDark: {
+ backgroundColor: 'rgba(0, 0, 0, 0.25)',
},
});
diff --git a/apps/frontend-mobile/assets/bg_dark.png b/apps/frontend-mobile/assets/bg_dark.png
new file mode 100644
index 0000000..039e578
Binary files /dev/null and b/apps/frontend-mobile/assets/bg_dark.png differ
diff --git a/apps/frontend-mobile/constants/theme.ts b/apps/frontend-mobile/constants/theme.ts
index d5899b7..129e471 100644
--- a/apps/frontend-mobile/constants/theme.ts
+++ b/apps/frontend-mobile/constants/theme.ts
@@ -26,7 +26,7 @@ export const colors = {
warning: '#FF9500',
// Surface
- background: '#fbfbfb',
+ background: 'transparent',
card: '#ffffff',
surfaceLow: '#f2f4f5',
surface: '#eceeef',
@@ -72,7 +72,7 @@ export const darkColors = {
warning: '#FF9500',
// Surface
- background: '#121212',
+ background: 'transparent',
card: '#1e1e1e',
surfaceLow: '#2a2a2a',
surface: '#333333',